Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c119 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) { in ixgbe_copy_dcb_cfg()
120 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j]; in ixgbe_copy_dcb_cfg()
123 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) { in ixgbe_copy_dcb_cfg()
124 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j]; in ixgbe_copy_dcb_cfg()
229 adapter->temp_dcb_cfg.bw_percentage[0][bwg_id] = bw_pct; in ixgbe_dcbnl_set_pg_bwg_cfg_tx()
255 adapter->temp_dcb_cfg.bw_percentage[1][bwg_id] = bw_pct; in ixgbe_dcbnl_set_pg_bwg_cfg_rx()
275 *bw_pct = adapter->dcb_cfg.bw_percentage[0][bwg_id]; in ixgbe_dcbnl_get_pg_bwg_cfg_tx()
295 *bw_pct = adapter->dcb_cfg.bw_percentage[1][bwg_id]; in ixgbe_dcbnl_get_pg_bwg_cfg_rx()
Dixgbe_dcb.h135 u8 bw_percentage[2][MAX_BW_GROUP]; /* One each for Tx/Rx */ member
Dixgbe_dcb.c109 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
131 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits()
Dixgbe_main.c4433 adapter->dcb_cfg.bw_percentage[DCB_TX_CONFIG][0] = 100; in ixgbe_sw_init()
4434 adapter->dcb_cfg.bw_percentage[DCB_RX_CONFIG][0] = 100; in ixgbe_sw_init()
/linux-3.4.99/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c85 static unsigned int bw_percentage[VXGE_HW_MAX_VIRTUAL_PATHS] = variable
87 module_param_array(bw_percentage, uint, NULL, 0);
3624 if (bw_percentage[i] == 0) { in verify_bandwidth()
3633 if (bw_percentage[i] == 0xFF) in verify_bandwidth()
3636 total += bw_percentage[i]; in verify_bandwidth()
3657 bw_percentage[i] = in verify_bandwidth()
3669 bw_percentage[0] = VXGE_HW_VPATH_BANDWIDTH_MAX / in verify_bandwidth()
3672 bw_percentage[i] = bw_percentage[0]; in verify_bandwidth()
3725 device_config->vp_config[i].min_bandwidth = bw_percentage[i]; in vxge_config_vpaths()