Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/i40e/
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()
Di40e_dcb.c1639 u32 mfs_max = 0; in i40e_dcb_hw_calculate_pool_sizes() local
1645 if (mfs_tc[i] > mfs_max) in i40e_dcb_hw_calculate_pool_sizes()
1646 mfs_max = mfs_tc[i]; in i40e_dcb_hw_calculate_pool_sizes()
1655 port_pb_size -= mfs_max; in i40e_dcb_hw_calculate_pool_sizes()
1663 high_wm[i] += ((mfs_max > I40E_MAX_FRAME_SIZE) in i40e_dcb_hw_calculate_pool_sizes()
1664 ? mfs_max : I40E_MAX_FRAME_SIZE); in i40e_dcb_hw_calculate_pool_sizes()
1666 pool_size[i] += I40E_BT2B(I40E_STD_DV_TC(mfs_max, in i40e_dcb_hw_calculate_pool_sizes()