Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixl/ixl.h
Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Lines | |||||
#define CSUM_OFFLOAD_IPV4 (CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP) | #define CSUM_OFFLOAD_IPV4 (CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP) | ||||
#define CSUM_OFFLOAD_IPV6 (CSUM_TCP_IPV6|CSUM_UDP_IPV6|CSUM_SCTP_IPV6) | #define CSUM_OFFLOAD_IPV6 (CSUM_TCP_IPV6|CSUM_UDP_IPV6|CSUM_SCTP_IPV6) | ||||
#define CSUM_OFFLOAD (CSUM_OFFLOAD_IPV4|CSUM_OFFLOAD_IPV6|CSUM_TSO) | #define CSUM_OFFLOAD (CSUM_OFFLOAD_IPV4|CSUM_OFFLOAD_IPV6|CSUM_TSO) | ||||
/* Misc flags for ixl_vsi.flags */ | /* Misc flags for ixl_vsi.flags */ | ||||
#define IXL_FLAGS_KEEP_TSO4 (1 << 0) | #define IXL_FLAGS_KEEP_TSO4 (1 << 0) | ||||
#define IXL_FLAGS_KEEP_TSO6 (1 << 1) | #define IXL_FLAGS_KEEP_TSO6 (1 << 1) | ||||
#define IXL_VSI_DATA_PORT 0x01 | |||||
#define IXLV_MAX_QUEUES 16 | |||||
#define IXL_TX_LOCK(_sc) mtx_lock(&(_sc)->mtx) | #define IXL_TX_LOCK(_sc) mtx_lock(&(_sc)->mtx) | ||||
#define IXL_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) | #define IXL_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) | ||||
#define IXL_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx) | #define IXL_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx) | ||||
#define IXL_TX_TRYLOCK(_sc) mtx_trylock(&(_sc)->mtx) | #define IXL_TX_TRYLOCK(_sc) mtx_trylock(&(_sc)->mtx) | ||||
#define IXL_TX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED) | #define IXL_TX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED) | ||||
#define IXL_RX_LOCK(_sc) mtx_lock(&(_sc)->mtx) | #define IXL_RX_LOCK(_sc) mtx_lock(&(_sc)->mtx) | ||||
#define IXL_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) | #define IXL_RX_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) | ||||
▲ Show 20 Lines • Show All 356 Lines • Show Last 20 Lines |