Home
last modified time | relevance | path

Searched refs:bwg_percent (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c56 if (dst->path[tx].bwg_percent != src->path[tx].bwg_percent) { in ixgbe_copy_dcb_cfg()
57 dst->path[tx].bwg_percent = src->path[tx].bwg_percent; in ixgbe_copy_dcb_cfg()
78 if (dst->path[rx].bwg_percent != src->path[rx].bwg_percent) { in ixgbe_copy_dcb_cfg()
79 dst->path[rx].bwg_percent = src->path[rx].bwg_percent; in ixgbe_copy_dcb_cfg()
176 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_tx()
202 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_rx()
225 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[0].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_tx()
245 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[1].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
Dixgbe_dcb.c87 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits()
110 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits()
113 if (p->bwg_percent > 0 && link_percentage == 0) in ixgbe_dcb_calculate_tc_credits()
Dixgbe_dcb.h76 u8 bwg_percent; /* % of BWG's bandwidth */ member
Dixgbe_main.c6296 tc->path[DCB_TX_CONFIG].bwg_percent = 12 + (j & 1); in ixgbe_init_dcb()
6298 tc->path[DCB_RX_CONFIG].bwg_percent = 12 + (j & 1); in ixgbe_init_dcb()
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c142 u8 bwg_percent; /* % of BWG's bandwidth */ member
825 tc_cfg->bwg_percent = (100 / cnt); in qlcnic_dcb_get_pg_tc_cfg_tx()
826 *bw_per = tc_cfg->bwg_percent; in qlcnic_dcb_get_pg_tc_cfg_tx()