Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c699 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_reset_event() local
746 for (queue = 0; queue < q_per_pool; queue++) { in ixgbe_vf_reset_event()
747 unsigned int reg_idx = (vf * q_per_pool) + queue; in ixgbe_vf_reset_event()
809 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_write_qde() local
812 for (i = vf * q_per_pool; i < ((vf + 1) * q_per_pool); i++) { in ixgbe_write_qde()
884 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_reset_msg() local
922 for (i = 0; i < q_per_pool; i++) { in ixgbe_vf_reset_msg()
923 IXGBE_WRITE_REG(hw, IXGBE_PVFTDWBAHn(q_per_pool, vf, i), 0); in ixgbe_vf_reset_msg()
924 IXGBE_WRITE_REG(hw, IXGBE_PVFTDWBALn(q_per_pool, vf, i), 0); in ixgbe_vf_reset_msg()
Dixgbe_type.h2543 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2544 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2545 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2546 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2548 #define IXGBE_PVFTDHN(q_per_pool, vf_number, vf_q_index) \ argument
2549 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2550 #define IXGBE_PVFTDTN(q_per_pool, vf_number, vf_q_index) \ argument
2551 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
Dixgbe_main.c7668 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_tx_pending() local
7680 for (j = 0; j < q_per_pool; j++) { in ixgbe_vf_tx_pending()
7683 h = IXGBE_READ_REG(hw, IXGBE_PVFTDHN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()
7684 t = IXGBE_READ_REG(hw, IXGBE_PVFTDTN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()