Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c95 if (port_info->qos_cfg.local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE) in ice_dcb_get_mode()
150 struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg; in ice_get_first_droptc()
181 struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_set_dcb_tc_cfg()
358 curr_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_pf_dcb_cfg()
361 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) in ice_pf_dcb_cfg()
421 if (pf->hw.port_info->qos_cfg.is_sw_lldp) { in ice_pf_dcb_cfg()
455 struct ice_dcbx_cfg *dcbcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_cfg_etsrec_defaults()
541 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) in ice_dcb_rebuild()
550 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) { in ice_dcb_rebuild()
552 if (ret && !pf->hw.port_info->qos_cfg.is_sw_lldp) { in ice_dcb_rebuild()
[all …]
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()
157 struct ice_qos_cfg *qos_cfg; in ice_dcbnl_setdcbx() local
173 qos_cfg = &pf->hw.port_info->qos_cfg; in ice_dcbnl_setdcbx()
176 if (qos_cfg->local_dcbx_cfg.pfc_mode == ICE_QOS_MODE_DSCP) in ice_dcbnl_setdcbx()
182 qos_cfg->local_dcbx_cfg.dcbx_mode = ICE_DCBX_MODE_CEE; in ice_dcbnl_setdcbx()
184 qos_cfg->local_dcbx_cfg.dcbx_mode = ICE_DCBX_MODE_IEEE; in ice_dcbnl_setdcbx()
235 dcbxcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getpfc()
266 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setpfc()
303 *setting = (pi->qos_cfg.local_dcbx_cfg.pfc.pfcena >> prio) & 0x1; in ice_dcbnl_get_pfc_cfg()
[all …]
Dice_dcb.c794 dcbcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_cee_to_dcb_cfg()
831 cmp_dcbcfg = &pi->qos_cfg.desired_dcbx_cfg; in ice_cee_to_dcb_cfg()
833 cmp_dcbcfg = &pi->qos_cfg.remote_dcbx_cfg; in ice_cee_to_dcb_cfg()
912 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
914 dcbx_cfg = &pi->qos_cfg.desired_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
925 dcbx_cfg = &pi->qos_cfg.remote_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
958 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_dcb_cfg()
975 struct ice_qos_cfg *qos_cfg = &hw->port_info->qos_cfg; in ice_init_dcb() local
981 qos_cfg->is_sw_lldp = true; in ice_init_dcb()
984 qos_cfg->dcbx_status = ice_get_dcbx_status(hw); in ice_init_dcb()
[all …]
Dice_dcb_lib.h63 return pf->hw.port_info->qos_cfg.local_dcbx_cfg.pfc_mode; in ice_get_pfc_mode()
Dice_idc.c212 dcbx_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_get_qos_params()
Dice_type.h708 struct ice_qos_cfg qos_cfg; member
Dice_txrx.c2348 vsi->port_info->qos_cfg.is_sw_lldp)) in ice_xmit_frame_ring()
2432 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_select_queue()
Dice_ethtool.c3003 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_pauseparam()
3054 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_set_pauseparam()
Dice_lib.c3497 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_cfg_netdev_tc()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder_phys_wb.c104 struct dpu_hw_wb_qos_cfg qos_cfg; in dpu_encoder_phys_wb_set_qos() local
117 memset(&qos_cfg, 0, sizeof(struct dpu_hw_wb_qos_cfg)); in dpu_encoder_phys_wb_set_qos()
118 qos_cfg.danger_safe_en = true; in dpu_encoder_phys_wb_set_qos()
119 qos_cfg.danger_lut = in dpu_encoder_phys_wb_set_qos()
122 qos_cfg.safe_lut = catalog->perf->safe_lut_tbl[DPU_QOS_LUT_USAGE_NRT]; in dpu_encoder_phys_wb_set_qos()
125 qos_cfg.creq_lut = _dpu_hw_get_qos_lut(qos_lut_tb, 0); in dpu_encoder_phys_wb_set_qos()
128 hw_wb->ops.setup_qos_lut(hw_wb, &qos_cfg); in dpu_encoder_phys_wb_set_qos()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c3477 struct dpni_qos_tbl_cfg qos_cfg = {0}; in dpaa2_eth_set_vlan_qos() local
3510 qos_cfg.default_tc = 0; in dpaa2_eth_set_vlan_qos()
3511 qos_cfg.discard_on_miss = 0; in dpaa2_eth_set_vlan_qos()
3512 qos_cfg.key_cfg_iova = dma_map_single(dev, dma_mem, in dpaa2_eth_set_vlan_qos()
3515 if (dma_mapping_error(dev, qos_cfg.key_cfg_iova)) { in dpaa2_eth_set_vlan_qos()
3521 err = dpni_set_qos_table(priv->mc_io, 0, priv->mc_token, &qos_cfg); in dpaa2_eth_set_vlan_qos()
3576 dma_unmap_single(dev, qos_cfg.key_cfg_iova, DPAA2_CLASSIFIER_DMA_SIZE, in dpaa2_eth_set_vlan_qos()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot.c2436 int qos_cfg = ocelot_read_gix(ocelot, ANA_PORT_QOS_CFG, port); in ocelot_port_get_dscp_prio() local
2440 if (!(qos_cfg & ANA_PORT_QOS_CFG_QOS_DSCP_ENA)) in ocelot_port_get_dscp_prio()
2443 if (qos_cfg & ANA_PORT_QOS_CFG_DSCP_TRANSLATE_ENA) { in ocelot_port_get_dscp_prio()