Home
last modified time | relevance | path

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

/Linux-v4.19/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()
140 struct vnet_port *(*vnet_tx_port)
150 void sunvnet_port_free_tx_bufs_common(struct vnet_port *port);
151 void vnet_port_reset(struct vnet_port *port);
152 bool sunvnet_port_is_up_common(struct vnet_port *vnet);
153 void sunvnet_port_add_txq_common(struct vnet_port *port);
154 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()
107 struct vnet_port *port = netdev_priv(dev); in vsw_select_queue()
123 struct vnet_port *port = netdev_priv(dev); in vsw_set_rx_mode()
130 struct vnet_port *port = netdev_priv(dev); in ldmvsw_open()
145 struct vnet_port *port = netdev_priv(dev); in vsw_poll_controller()
233 struct vnet_port *port; in vsw_alloc_netdev()
283 struct vnet_port *port; in vsw_port_probe()
[all …]
Dsunvnet_common.c46 static int __vnet_tx_trigger(struct vnet_port *port, u32 start);
53 static int vnet_handle_unknown(struct vnet_port *port, void *arg) in vnet_handle_unknown()
66 static int vnet_port_alloc_tx_ring(struct vnet_port *port);
70 struct vnet_port *port = to_vnet_port(vio); in sunvnet_send_attr_common()
134 struct vnet_port *port = to_vnet_port(vio); in handle_attr_info()
373 static int vnet_rx_one(struct vnet_port *port, struct vio_net_desc *desc) in vnet_rx_one()
469 static int vnet_send_ack(struct vnet_port *port, struct vio_dring_state *dr, in vnet_send_ack()
518 static struct vio_net_desc *get_rx_desc(struct vnet_port *port, in get_rx_desc()
534 static int put_rx_desc(struct vnet_port *port, in put_rx_desc()
550 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()
241 struct vnet_port *port = __tx_port_find(vp, skb); in vnet_select_queue()
427 struct vnet_port *port; in vnet_port_probe()
516 struct vnet_port *port = dev_get_drvdata(&vdev->dev); in vnet_port_remove()