Searched refs:etscfg (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb.c | 62 struct i40e_dcb_ets_config *etscfg; in i40e_parse_ieee_etscfg_tlv() local 75 etscfg = &dcbcfg->etscfg; in i40e_parse_ieee_etscfg_tlv() 76 etscfg->willing = (u8)((buf[offset] & I40E_IEEE_ETS_WILLING_MASK) >> in i40e_parse_ieee_etscfg_tlv() 78 etscfg->cbs = (u8)((buf[offset] & I40E_IEEE_ETS_CBS_MASK) >> in i40e_parse_ieee_etscfg_tlv() 80 etscfg->maxtcs = (u8)((buf[offset] & I40E_IEEE_ETS_MAXTC_MASK) >> in i40e_parse_ieee_etscfg_tlv() 97 etscfg->prioritytable[i * 2] = priority; in i40e_parse_ieee_etscfg_tlv() 100 etscfg->prioritytable[i * 2 + 1] = priority; in i40e_parse_ieee_etscfg_tlv() 111 etscfg->tcbwtable[i] = buf[offset++]; in i40e_parse_ieee_etscfg_tlv() 120 etscfg->tsatable[i] = buf[offset++]; in i40e_parse_ieee_etscfg_tlv() 304 struct i40e_dcb_ets_config *etscfg; in i40e_parse_cee_pgcfg_tlv() local [all …]
|
D | i40e_dcb_nl.c | 65 ets->willing = dcbxcfg->etscfg.willing; in i40e_dcbnl_ieee_getets() 66 ets->ets_cap = dcbxcfg->etscfg.maxtcs; in i40e_dcbnl_ieee_getets() 67 ets->cbs = dcbxcfg->etscfg.cbs; in i40e_dcbnl_ieee_getets() 68 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets() 70 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets() 72 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, in i40e_dcbnl_ieee_getets() 74 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets() 80 memcpy(ets->reco_prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets() 190 tc_map = BIT(dcbxcfg->etscfg.prioritytable[prio]); in i40e_dcbnl_set_all()
|
D | i40e_debugfs.c | 1338 cfg->etscfg.willing, cfg->etscfg.cbs, in i40e_dbg_command_write() 1339 cfg->etscfg.maxtcs); in i40e_dbg_command_write() 1342 i, cfg->etscfg.prioritytable[i], in i40e_dbg_command_write() 1343 cfg->etscfg.tcbwtable[i], in i40e_dbg_command_write() 1344 cfg->etscfg.tsatable[i]); in i40e_dbg_command_write() 1367 r_cfg->etscfg.willing, in i40e_dbg_command_write() 1368 r_cfg->etscfg.cbs, r_cfg->etscfg.maxtcs); in i40e_dbg_command_write() 1371 i, r_cfg->etscfg.prioritytable[i], in i40e_dbg_command_write() 1372 r_cfg->etscfg.tcbwtable[i], in i40e_dbg_command_write() 1373 r_cfg->etscfg.tsatable[i]); in i40e_dbg_command_write()
|
D | i40e_main.c | 856 tc = dcb_cfg->etscfg.prioritytable[i]; in i40e_update_prio_xoff_rx() 4494 tc = dcbcfg->etscfg.prioritytable[app.priority]; in i40e_get_iscsi_tc_map() 4520 if (dcbcfg->etscfg.prioritytable[i] > num_tc) in i40e_dcb_get_num_tc() 4521 num_tc = dcbcfg->etscfg.prioritytable[i]; in i40e_dcb_get_num_tc() 4771 u8 ets_tc = dcbcfg->etscfg.prioritytable[i]; in i40e_vsi_config_netdev_tc() 5608 if (memcmp(&new_cfg->etscfg, in i40e_dcb_need_reconfig() 5609 &old_cfg->etscfg, in i40e_dcb_need_reconfig() 5610 sizeof(new_cfg->etscfg))) { in i40e_dcb_need_reconfig() 5612 if (memcmp(&new_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig() 5613 &old_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig() [all …]
|
D | i40e_type.h | 482 struct i40e_dcb_ets_config etscfg; member
|
D | i40e_fcoe.c | 347 tc = dcbcfg->etscfg.prioritytable[app.priority]; in i40e_get_fcoe_tc_map()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_type.h | 472 struct i40e_ieee_ets_config etscfg; member
|