Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c698 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_reset_event() local
741 for (queue = 0; queue < q_per_pool; queue++) { in ixgbe_vf_reset_event()
742 unsigned int reg_idx = (vf * q_per_pool) + queue; in ixgbe_vf_reset_event()
796 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_write_qde() local
799 for (i = vf * q_per_pool; i < ((vf + 1) * q_per_pool); i++) { in ixgbe_write_qde()
820 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_reset_msg() local
881 for (i = 0; i < q_per_pool; i++) { in ixgbe_vf_reset_msg()
882 IXGBE_WRITE_REG(hw, IXGBE_PVFTDWBAHn(q_per_pool, vf, i), 0); in ixgbe_vf_reset_msg()
883 IXGBE_WRITE_REG(hw, IXGBE_PVFTDWBALn(q_per_pool, vf, i), 0); in ixgbe_vf_reset_msg()
Dixgbe_type.h2525 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2526 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2527 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2528 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2530 #define IXGBE_PVFTDHN(q_per_pool, vf_number, vf_q_index) \ argument
2531 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2532 #define IXGBE_PVFTDTN(q_per_pool, vf_number, vf_q_index) \ argument
2533 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
Dixgbe_main.c7465 u32 q_per_pool = __ALIGN_MASK(1, ~vmdq->mask); in ixgbe_vf_tx_pending() local
7477 for (j = 0; j < q_per_pool; j++) { in ixgbe_vf_tx_pending()
7480 h = IXGBE_READ_REG(hw, IXGBE_PVFTDHN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()
7481 t = IXGBE_READ_REG(hw, IXGBE_PVFTDTN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()