Home
last modified time | relevance | path

Searched refs:mfs_max (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.h181 #define I40E_MAX_FRAME_TC(mfs_max, mfs_tc) I40E_B2BT((mfs_max) + (mfs_tc)) argument
235 #define I40E_DV_TC(mfs_max, mfs_tc) \ argument
236 ((2 * I40E_MAX_FRAME_TC(mfs_max, mfs_tc)) \
241 static inline u32 I40E_STD_DV_TC(u32 mfs_max, u32 mfs_tc) in I40E_STD_DV_TC() argument
243 return I40E_DV_TC(mfs_max, mfs_tc) + I40E_B2BT(mfs_max); in I40E_STD_DV_TC()
H A Di40e_dcb.c1586 u32 mfs_max = 0; in i40e_dcb_hw_calculate_pool_sizes() local
1592 if (mfs_tc[i] > mfs_max) in i40e_dcb_hw_calculate_pool_sizes()
1593 mfs_max = mfs_tc[i]; in i40e_dcb_hw_calculate_pool_sizes()
1602 port_pb_size -= mfs_max; in i40e_dcb_hw_calculate_pool_sizes()
1610 high_wm[i] += ((mfs_max > I40E_MAX_FRAME_SIZE) in i40e_dcb_hw_calculate_pool_sizes()
1611 ? mfs_max : I40E_MAX_FRAME_SIZE); in i40e_dcb_hw_calculate_pool_sizes()
1613 pool_size[i] += I40E_BT2B(I40E_STD_DV_TC(mfs_max, in i40e_dcb_hw_calculate_pool_sizes()