Lines Matching +full:port +full:- +full:def
1 /* SPDX-License-Identifier: GPL-2.0 */
14 #define VNET_TX_WAKEUP_THRESH(dr) ((dr)->pending / 4)
52 /* Structure to describe a vnet-port or vsw-port in the MD.
54 * port, and the net_device can be found from ->dev. If the
55 * vsw bit is not set, the net_device is available from ->vp->dev.
99 #define VNET_PORT_HASH_MASK (VNET_PORT_HASH_SIZE - 1)
128 /* Def used by common code to get the net_device from the proper location */
130 ((__port)->vsw ? (__port)->dev : (__port)->vp->dev)
151 void sunvnet_port_free_tx_bufs_common(struct vnet_port *port);
152 void vnet_port_reset(struct vnet_port *port);
154 void sunvnet_port_add_txq_common(struct vnet_port *port);
155 void sunvnet_port_rm_txq_common(struct vnet_port *port);