Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixl/ixl.h
Show First 20 Lines • Show All 285 Lines • ▼ Show 20 Lines | |||||
#define IXL_VFINT_DYN_CTLN_REG(hw, vector, vf_num) \ | #define IXL_VFINT_DYN_CTLN_REG(hw, vector, vf_num) \ | ||||
I40E_VFINT_DYN_CTLN(((vector) - 1) + \ | I40E_VFINT_DYN_CTLN(((vector) - 1) + \ | ||||
(((hw)->func_caps.num_msix_vectors_vf - 1) * (vf_num))) | (((hw)->func_caps.num_msix_vectors_vf - 1) * (vf_num))) | ||||
#define IXL_PF_PCI_CIAA_VF_DEVICE_STATUS 0xAA | #define IXL_PF_PCI_CIAA_VF_DEVICE_STATUS 0xAA | ||||
#define IXL_PF_PCI_CIAD_VF_TRANS_PENDING_MASK 0x20 | #define IXL_PF_PCI_CIAD_VF_TRANS_PENDING_MASK 0x20 | ||||
#define IXL_GLGEN_VFLRSTAT_INDEX(glb_vf) ((glb_vf) / 32) | |||||
#define IXL_GLGEN_VFLRSTAT_MASK(glb_vf) (1 << ((glb_vf) % 32)) | |||||
#define IXL_MAX_ITR_IDX 3 | #define IXL_MAX_ITR_IDX 3 | ||||
#define IXL_END_OF_INTR_LNKLST 0x7FF | #define IXL_END_OF_INTR_LNKLST 0x7FF | ||||
#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) | ||||
▲ Show 20 Lines • Show All 360 Lines • Show Last 20 Lines |