Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ixgbe/
H A 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()
H A 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()
H A Dixgbe_dcb.h76 u8 bwg_percent; /* % of BWG's bandwidth */ member
H A 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/drivers/net/ethernet/qlogic/qlcnic/
H A 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()