Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c58 if (dst->path[tx].bwg_percent != src->path[tx].bwg_percent) { in ixgbe_copy_dcb_cfg()
59 dst->path[tx].bwg_percent = src->path[tx].bwg_percent; in ixgbe_copy_dcb_cfg()
80 if (dst->path[rx].bwg_percent != src->path[rx].bwg_percent) { in ixgbe_copy_dcb_cfg()
81 dst->path[rx].bwg_percent = src->path[rx].bwg_percent; in ixgbe_copy_dcb_cfg()
178 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_tx()
204 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_rx()
227 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[0].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_tx()
247 *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.c6237 tc->path[DCB_TX_CONFIG].bwg_percent = 12 + (j & 1); in ixgbe_init_dcb()
6239 tc->path[DCB_RX_CONFIG].bwg_percent = 12 + (j & 1); in ixgbe_init_dcb()
/linux-5.19.10/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()