Searched refs:mfs_max (Results 1 – 2 of 2) sorted by relevance
181 #define I40E_MAX_FRAME_TC(mfs_max, mfs_tc) I40E_B2BT((mfs_max) + (mfs_tc)) argument235 #define I40E_DV_TC(mfs_max, mfs_tc) \ argument236 ((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() argument243 return I40E_DV_TC(mfs_max, mfs_tc) + I40E_B2BT(mfs_max); in I40E_STD_DV_TC()
1639 u32 mfs_max = 0; in i40e_dcb_hw_calculate_pool_sizes() local1645 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()