Home
last modified time | relevance | path

Searched refs:qos_cfg (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getets()
73 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setets()
158 struct ice_qos_cfg *qos_cfg; in ice_dcbnl_setdcbx() local
175 qos_cfg = &pf->hw.port_info->qos_cfg; in ice_dcbnl_setdcbx()
177 qos_cfg->local_dcbx_cfg.dcbx_mode = ICE_DCBX_MODE_CEE; in ice_dcbnl_setdcbx()
179 qos_cfg->local_dcbx_cfg.dcbx_mode = ICE_DCBX_MODE_IEEE; in ice_dcbnl_setdcbx()
230 dcbxcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getpfc()
261 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setpfc()
298 *setting = (pi->qos_cfg.local_dcbx_cfg.pfc.pfcena >> prio) & 0x1; in ice_dcbnl_get_pfc_cfg()
300 prio, *setting, pi->qos_cfg.local_dcbx_cfg.pfc.pfcena); in ice_dcbnl_get_pfc_cfg()
[all …]
Dice_dcb_lib.c31 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_cfg_netdev_tc()
137 if (port_info->qos_cfg.local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE) in ice_dcb_get_mode()
280 curr_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_pf_dcb_cfg()
283 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) in ice_pf_dcb_cfg()
330 if (pf->hw.port_info->qos_cfg.is_sw_lldp) { in ice_pf_dcb_cfg()
363 struct ice_dcbx_cfg *dcbcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_cfg_etsrec_defaults()
449 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) in ice_dcb_rebuild()
458 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) { in ice_dcb_rebuild()
460 if (ret && !pf->hw.port_info->qos_cfg.is_sw_lldp) { in ice_dcb_rebuild()
513 newcfg = kmemdup(&pi->qos_cfg.local_dcbx_cfg, sizeof(*newcfg), in ice_dcb_init_cfg()
[all …]
Dice_dcb.c757 dcbcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_cee_to_dcb_cfg()
794 cmp_dcbcfg = &pi->qos_cfg.desired_dcbx_cfg; in ice_cee_to_dcb_cfg()
796 cmp_dcbcfg = &pi->qos_cfg.remote_dcbx_cfg; in ice_cee_to_dcb_cfg()
876 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
878 dcbx_cfg = &pi->qos_cfg.desired_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
889 dcbx_cfg = &pi->qos_cfg.remote_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
922 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_dcb_cfg()
939 struct ice_qos_cfg *qos_cfg = &hw->port_info->qos_cfg; in ice_init_dcb() local
945 qos_cfg->is_sw_lldp = true; in ice_init_dcb()
948 qos_cfg->dcbx_status = ice_get_dcbx_status(hw); in ice_init_dcb()
[all …]
Dice_type.h549 struct ice_qos_cfg qos_cfg; member
Dice_ethtool.c2950 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_pauseparam()
3002 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_set_pauseparam()
Dice_txrx.c2428 vsi->port_info->qos_cfg.is_sw_lldp)) in ice_xmit_frame_ring()
Dice_lib.c2090 struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_set_tc_cfg()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c3110 struct dpni_qos_tbl_cfg qos_cfg = {0}; in dpaa2_eth_set_vlan_qos() local
3143 qos_cfg.default_tc = 0; in dpaa2_eth_set_vlan_qos()
3144 qos_cfg.discard_on_miss = 0; in dpaa2_eth_set_vlan_qos()
3145 qos_cfg.key_cfg_iova = dma_map_single(dev, dma_mem, in dpaa2_eth_set_vlan_qos()
3148 if (dma_mapping_error(dev, qos_cfg.key_cfg_iova)) { in dpaa2_eth_set_vlan_qos()
3154 err = dpni_set_qos_table(priv->mc_io, 0, priv->mc_token, &qos_cfg); in dpaa2_eth_set_vlan_qos()
3209 dma_unmap_single(dev, qos_cfg.key_cfg_iova, DPAA2_CLASSIFIER_DMA_SIZE, in dpaa2_eth_set_vlan_qos()