Home
last modified time | relevance | path

Searched refs:q_per_pool (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c701 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_reset_event() local
748 for (queue = 0; queue < q_per_pool; queue++) { in ixgbe_vf_reset_event()
749 unsigned int reg_idx = (vf * q_per_pool) + queue; in ixgbe_vf_reset_event()
811 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_write_qde() local
814 for (i = vf * q_per_pool; i < ((vf + 1) * q_per_pool); i++) { in ixgbe_write_qde()
886 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_reset_msg() local
924 for (i = 0; i < q_per_pool; i++) { in ixgbe_vf_reset_msg()
925 IXGBE_WRITE_REG(hw, IXGBE_PVFTDWBAHn(q_per_pool, vf, i), 0); in ixgbe_vf_reset_msg()
926 IXGBE_WRITE_REG(hw, IXGBE_PVFTDWBALn(q_per_pool, vf, i), 0); in ixgbe_vf_reset_msg()
Dixgbe_type.h2537 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2538 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2539 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2540 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2542 #define IXGBE_PVFTDHN(q_per_pool, vf_number, vf_q_index) \ argument
2543 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2544 #define IXGBE_PVFTDTN(q_per_pool, vf_number, vf_q_index) \ argument
2545 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
Dixgbe_main.c7573 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_tx_pending() local
7585 for (j = 0; j < q_per_pool; j++) { in ixgbe_vf_tx_pending()
7588 h = IXGBE_READ_REG(hw, IXGBE_PVFTDHN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()
7589 t = IXGBE_READ_REG(hw, IXGBE_PVFTDTN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()