Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/virtio/network/if_vtnetvar.h
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | |||||
#define VTNET_TXQ_LOCK_ASSERT_NOTOWNED(_txq) \ | #define VTNET_TXQ_LOCK_ASSERT_NOTOWNED(_txq) \ | ||||
mtx_assert(&(_txq)->vtntx_mtx, MA_NOTOWNED) | mtx_assert(&(_txq)->vtntx_mtx, MA_NOTOWNED) | ||||
struct vtnet_softc { | struct vtnet_softc { | ||||
device_t vtnet_dev; | device_t vtnet_dev; | ||||
struct ifnet *vtnet_ifp; | struct ifnet *vtnet_ifp; | ||||
struct vtnet_rxq *vtnet_rxqs; | struct vtnet_rxq *vtnet_rxqs; | ||||
struct vtnet_txq *vtnet_txqs; | struct vtnet_txq *vtnet_txqs; | ||||
pfil_head_t vtnet_pfil; | |||||
uint32_t vtnet_flags; | uint32_t vtnet_flags; | ||||
#define VTNET_FLAG_SUSPENDED 0x0001 | #define VTNET_FLAG_SUSPENDED 0x0001 | ||||
#define VTNET_FLAG_MAC 0x0002 | #define VTNET_FLAG_MAC 0x0002 | ||||
#define VTNET_FLAG_CTRL_VQ 0x0004 | #define VTNET_FLAG_CTRL_VQ 0x0004 | ||||
#define VTNET_FLAG_CTRL_RX 0x0008 | #define VTNET_FLAG_CTRL_RX 0x0008 | ||||
#define VTNET_FLAG_CTRL_MAC 0x0010 | #define VTNET_FLAG_CTRL_MAC 0x0010 | ||||
#define VTNET_FLAG_VLAN_FILTER 0x0020 | #define VTNET_FLAG_VLAN_FILTER 0x0020 | ||||
▲ Show 20 Lines • Show All 221 Lines • Show Last 20 Lines |