Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c74 u8 bw_percent = 0; in ixgbe_dcb_calculate_tc_credits() local
86 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
89 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits()
108 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
112 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits()
/linux-6.1.9/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c4600 u32 bw_percent; in be_cmd_config_qos() local
4621 bw_percent = max_rate ? (max_rate * 100) / link_speed : 100; in be_cmd_config_qos()
4622 nic_desc.bw_max = cpu_to_le32(bw_percent); in be_cmd_config_qos()