Lines Matching refs:dcb_cfg

26 	struct ixgbe_dcb_config *dcfg = &adapter->dcb_cfg;  in ixgbe_copy_dcb_cfg()
141 state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0); in ixgbe_dcbnl_set_state()
225 *prio = adapter->dcb_cfg.tc_config[tc].path[0].prio_type; in ixgbe_dcbnl_get_pg_tc_cfg_tx()
226 *bwg_id = adapter->dcb_cfg.tc_config[tc].path[0].bwg_id; in ixgbe_dcbnl_get_pg_tc_cfg_tx()
227 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[0].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_tx()
228 *up_map = adapter->dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_tx()
236 *bw_pct = adapter->dcb_cfg.bw_percentage[0][bwg_id]; in ixgbe_dcbnl_get_pg_bwg_cfg_tx()
245 *prio = adapter->dcb_cfg.tc_config[tc].path[1].prio_type; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
246 *bwg_id = adapter->dcb_cfg.tc_config[tc].path[1].bwg_id; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
247 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[1].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
248 *up_map = adapter->dcb_cfg.tc_config[tc].path[1].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
256 *bw_pct = adapter->dcb_cfg.bw_percentage[1][bwg_id]; in ixgbe_dcbnl_get_pg_bwg_cfg_rx()
266 adapter->dcb_cfg.tc_config[priority].dcb_pfc) in ixgbe_dcbnl_set_pfc_cfg()
275 *setting = adapter->dcb_cfg.tc_config[priority].dcb_pfc; in ixgbe_dcbnl_get_pfc_cfg()
300 struct ixgbe_dcb_config *dcb_cfg = &adapter->dcb_cfg; in ixgbe_dcbnl_set_all() local
326 ixgbe_dcb_calculate_tc_credits(hw, dcb_cfg, max_frame, in ixgbe_dcbnl_set_all()
328 ixgbe_dcb_calculate_tc_credits(hw, dcb_cfg, max_frame, in ixgbe_dcbnl_set_all()
331 ixgbe_dcb_unpack_refill(dcb_cfg, DCB_TX_CONFIG, refill); in ixgbe_dcbnl_set_all()
332 ixgbe_dcb_unpack_max(dcb_cfg, max); in ixgbe_dcbnl_set_all()
333 ixgbe_dcb_unpack_bwgid(dcb_cfg, DCB_TX_CONFIG, bwg_id); in ixgbe_dcbnl_set_all()
334 ixgbe_dcb_unpack_prio(dcb_cfg, DCB_TX_CONFIG, prio_type); in ixgbe_dcbnl_set_all()
335 ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); in ixgbe_dcbnl_set_all()
347 if (dcb_cfg->pfc_mode_enable) { in ixgbe_dcbnl_set_all()
351 ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); in ixgbe_dcbnl_set_all()
352 ixgbe_dcb_unpack_pfc(dcb_cfg, &pfc_en); in ixgbe_dcbnl_set_all()
429 *num = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_getnumtcs()
432 *num = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_getnumtcs()
453 return adapter->dcb_cfg.pfc_mode_enable; in ixgbe_dcbnl_getpfcstate()
493 ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_ieee_getets()
546 if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_dcbnl_ieee_setets()
567 pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_ieee_getpfc()