Home
last modified time | relevance | path

Searched refs:dcbxcfg (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c39 struct i40e_dcbx_config *dcbxcfg; in i40e_dcbnl_ieee_getets() local
44 dcbxcfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_getets()
45 ets->willing = dcbxcfg->etscfg.willing; in i40e_dcbnl_ieee_getets()
47 ets->cbs = dcbxcfg->etscfg.cbs; in i40e_dcbnl_ieee_getets()
48 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
50 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
52 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, in i40e_dcbnl_ieee_getets()
54 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets()
56 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in i40e_dcbnl_ieee_getets()
58 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in i40e_dcbnl_ieee_getets()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c34 struct ice_dcbx_cfg *dcbxcfg; in ice_dcbnl_getets() local
38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getets()
40 ets->willing = dcbxcfg->etscfg.willing; in ice_dcbnl_getets()
41 ets->ets_cap = dcbxcfg->etscfg.maxtcs; in ice_dcbnl_getets()
42 ets->cbs = dcbxcfg->etscfg.cbs; in ice_dcbnl_getets()
43 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, sizeof(ets->tc_tx_bw)); in ice_dcbnl_getets()
44 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, sizeof(ets->tc_rx_bw)); in ice_dcbnl_getets()
45 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, sizeof(ets->tc_tsa)); in ice_dcbnl_getets()
46 memcpy(ets->prio_tc, dcbxcfg->etscfg.prio_table, sizeof(ets->prio_tc)); in ice_dcbnl_getets()
47 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in ice_dcbnl_getets()
[all …]
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2874 struct ocrdma_dcbx_cfg *dcbxcfg) in ocrdma_mbx_get_dcbx_config() argument
2910 memcpy(dcbxcfg, &rsp->cfg, sizeof(struct ocrdma_dcbx_cfg)); in ocrdma_mbx_get_dcbx_config()
2922 struct ocrdma_dcbx_cfg *dcbxcfg, in ocrdma_parse_dcbxcfg_rsp() argument
2932 if (!(dcbxcfg->tcv_aev_opv_st & OCRDMA_DCBX_STATE_MASK)) { in ocrdma_parse_dcbxcfg_rsp()
2938 if (!ocrdma_is_enabled_and_synced(dcbxcfg->pfc_state)) { in ocrdma_parse_dcbxcfg_rsp()
2942 (dcbxcfg->pfc_state & OCRDMA_STATE_FLAG_ENABLED) ? in ocrdma_parse_dcbxcfg_rsp()
2944 (dcbxcfg->pfc_state & OCRDMA_STATE_FLAG_SYNC) ? in ocrdma_parse_dcbxcfg_rsp()
2952 ventry_cnt = (dcbxcfg->tcv_aev_opv_st >> in ocrdma_parse_dcbxcfg_rsp()
2957 app_param = &dcbxcfg->app_param[indx]; in ocrdma_parse_dcbxcfg_rsp()
2976 (u8 *)dcbxcfg->pfc_prio, in ocrdma_parse_dcbxcfg_rsp()
[all …]