Home
last modified time | relevance | path

Searched refs:vnet_port (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/sun/
Dsunvnet_common.h58 struct vnet_port { struct
93 static inline struct vnet_port *to_vnet_port(struct vio_driver_state *vio) in to_vnet_port() argument
95 return container_of(vio, struct vnet_port, vio); in to_vnet_port()
141 struct vnet_port *(*vnet_tx_port)
151 void sunvnet_port_free_tx_bufs_common(struct vnet_port *port);
152 void vnet_port_reset(struct vnet_port *port);
153 bool sunvnet_port_is_up_common(struct vnet_port *vnet);
154 void sunvnet_port_add_txq_common(struct vnet_port *port);
155 void sunvnet_port_rm_txq_common(struct vnet_port *port);
Dldmvsw.c72 struct vnet_port *port = netdev_priv(dev); in vsw_get_msglevel()
79 struct vnet_port *port = netdev_priv(dev); in vsw_set_msglevel()
95 static struct vnet_port *vsw_tx_port_find(struct sk_buff *skb, in vsw_tx_port_find()
98 struct vnet_port *port = netdev_priv(dev); in vsw_tx_port_find()
106 struct vnet_port *port = netdev_priv(dev); in vsw_select_queue()
122 struct vnet_port *port = netdev_priv(dev); in vsw_set_rx_mode()
129 struct vnet_port *port = netdev_priv(dev); in ldmvsw_open()
143 struct vnet_port *port = netdev_priv(dev); in vsw_poll_controller()
231 struct vnet_port *port; in vsw_alloc_netdev()
278 struct vnet_port *port; in vsw_port_probe()
[all …]
Dsunvnet_common.c47 static int __vnet_tx_trigger(struct vnet_port *port, u32 start);
54 static int vnet_handle_unknown(struct vnet_port *port, void *arg) in vnet_handle_unknown()
67 static int vnet_port_alloc_tx_ring(struct vnet_port *port);
71 struct vnet_port *port = to_vnet_port(vio); in sunvnet_send_attr_common()
135 struct vnet_port *port = to_vnet_port(vio); in handle_attr_info()
374 static int vnet_rx_one(struct vnet_port *port, struct vio_net_desc *desc) in vnet_rx_one()
470 static int vnet_send_ack(struct vnet_port *port, struct vio_dring_state *dr, in vnet_send_ack()
519 static struct vio_net_desc *get_rx_desc(struct vnet_port *port, in get_rx_desc()
535 static int put_rx_desc(struct vnet_port *port, in put_rx_desc()
551 static int vnet_walk_rx_one(struct vnet_port *port, in vnet_walk_rx_one()
[all …]
Dsunvnet.c116 struct vnet_port *port; in vnet_get_strings()
161 struct vnet_port *port; in vnet_get_ethtool_stats()
205 static struct vnet_port *__tx_port_find(struct vnet *vp, struct sk_buff *skb) in __tx_port_find()
209 struct vnet_port *port; in __tx_port_find()
228 static struct vnet_port *vnet_tx_port_find(struct sk_buff *skb, in vnet_tx_port_find()
240 struct vnet_port *port = __tx_port_find(vp, skb); in vnet_select_queue()
428 struct vnet_port *port; in vnet_port_probe()
519 struct vnet_port *port = dev_get_drvdata(&vdev->dev); in vnet_port_remove()