Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c83 if (dst->path[tx].bwg_percent != src->path[tx].bwg_percent) { in ixgbe_copy_dcb_cfg()
84 dst->path[tx].bwg_percent = src->path[tx].bwg_percent; in ixgbe_copy_dcb_cfg()
105 if (dst->path[rx].bwg_percent != src->path[rx].bwg_percent) { in ixgbe_copy_dcb_cfg()
106 dst->path[rx].bwg_percent = src->path[rx].bwg_percent; in ixgbe_copy_dcb_cfg()
203 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_tx()
229 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_rx()
252 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[0].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_tx()
272 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[1].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
Dixgbe_dcb.c107 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits()
130 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits()
133 if (p->bwg_percent > 0 && link_percentage == 0) in ixgbe_dcb_calculate_tc_credits()
Dixgbe_dcb.h101 u8 bwg_percent; /* % of BWG's bandwidth */ member
Dixgbe_main.c5303 tc->path[DCB_TX_CONFIG].bwg_percent = 12 + (j & 1); in ixgbe_sw_init()
5305 tc->path[DCB_RX_CONFIG].bwg_percent = 12 + (j & 1); in ixgbe_sw_init()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c143 u8 bwg_percent; /* % of BWG's bandwidth */ member
826 tc_cfg->bwg_percent = (100 / cnt); in qlcnic_dcb_get_pg_tc_cfg_tx()
827 *bw_per = tc_cfg->bwg_percent; in qlcnic_dcb_get_pg_tc_cfg_tx()