Home
last modified time | relevance | path

Searched refs:tc_tsa (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c135 memcpy(ets->tc_tsa, pdata->ets->tc_tsa, in xgbe_dcb_ieee_getets()
136 sizeof(ets->tc_tsa)); in xgbe_dcb_ieee_getets()
157 ets->tc_tsa[i]); in xgbe_dcb_ieee_setets()
162 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i])) in xgbe_dcb_ieee_setets()
165 switch (ets->tc_tsa[i]) { in xgbe_dcb_ieee_setets()
175 ets->tc_tsa[i]); in xgbe_dcb_ieee_setets()
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c135 memcpy(ets->tc_tsa, pdata->ets->tc_tsa, in xgbe_dcb_ieee_getets()
136 sizeof(ets->tc_tsa)); in xgbe_dcb_ieee_getets()
157 ets->tc_tsa[i]); in xgbe_dcb_ieee_setets()
162 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i])) in xgbe_dcb_ieee_setets()
165 switch (ets->tc_tsa[i]) { in xgbe_dcb_ieee_setets()
175 ets->tc_tsa[i]); in xgbe_dcb_ieee_setets()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nic/
H A Ddcb.c80 ets->tc_tsa[i] = dcb->tc_tsa[i]; in nfp_nic_dcbnl_ieee_getets()
97 if (dcb->tc_tsa[i] == IEEE_8021QAZ_TSA_STRICT) in nfp_refresh_tc2idx()
101 if (maxstrict > 0 && dcb->tc_tsa[0] != IEEE_8021QAZ_TSA_STRICT) { in nfp_refresh_tc2idx()
218 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS) { in dcb_ets_check()
246 writeb(nfp_tsa_ieee2nfp(dcb->tc_tsa[i]), dcb->dcbcfg_tbl + in nfp_nic_fill_ets()
283 dcb->tc_tsa[i] = ets->tc_tsa[i]; in nfp_nic_dcbnl_ieee_setets()
552 dcb->tc_tsa[i] = IEEE_8021QAZ_TSA_VENDOR; in nfp_nic_dcb_init()
H A Dmain.h22 u8 tc_tsa[IEEE_8021QAZ_MAX_TCS]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_dcbnl.c22 memset(ets->tc_tsa, IEEE_8021QAZ_TSA_STRICT, sizeof(ets->tc_tsa)); in fm10k_dcbnl_ieee_getets()
45 if (ets->tc_tsa[i] != IEEE_8021QAZ_TSA_STRICT) in fm10k_dcbnl_ieee_setets()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_dcbnl.c22 memset(ets->tc_tsa, IEEE_8021QAZ_TSA_STRICT, sizeof(ets->tc_tsa)); in fm10k_dcbnl_ieee_getets()
45 if (ets->tc_tsa[i] != IEEE_8021QAZ_TSA_STRICT) in fm10k_dcbnl_ieee_setets()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c151 /* Update tc_tsa based on fw setting*/ in mlx5e_dcbnl_ieee_getets()
154 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in mlx5e_dcbnl_ieee_getets()
157 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_VENDOR; in mlx5e_dcbnl_ieee_getets()
159 memcpy(ets->tc_tsa, priv->dcbx.tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_getets()
172 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS) { in mlx5e_build_tc_group()
187 switch (ets->tc_tsa[i]) { in mlx5e_build_tc_group()
212 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS && in mlx5e_build_tc_tx_bw()
223 switch (ets->tc_tsa[ in mlx5e_build_tc_tx_bw()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c151 /* Update tc_tsa based on fw setting*/ in mlx5e_dcbnl_ieee_getets()
154 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in mlx5e_dcbnl_ieee_getets()
157 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_VENDOR; in mlx5e_dcbnl_ieee_getets()
159 memcpy(ets->tc_tsa, priv->dcbx.tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_getets()
172 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS) { in mlx5e_build_tc_group()
187 switch (ets->tc_tsa[i]) { in mlx5e_build_tc_group()
212 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS && in mlx5e_build_tc_tx_bw()
223 switch (ets->tc_tsa[ in mlx5e_build_tc_tx_bw()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c108 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_STRICT) { in bnxt_hwrm_queue_cos2bw_cfg()
164 ets->tc_tsa[tc] = IEEE_8021QAZ_TSA_STRICT; in bnxt_hwrm_queue_cos2bw_qcfg()
166 ets->tc_tsa[tc] = IEEE_8021QAZ_TSA_ETS; in bnxt_hwrm_queue_cos2bw_qcfg()
448 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate()
451 switch (ets->tc_tsa[i]) { in bnxt_ets_validate()
500 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in bnxt_dcbnl_ieee_getets()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c116 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_STRICT) { in bnxt_hwrm_queue_cos2bw_cfg()
183 ets->tc_tsa[tc] = IEEE_8021QAZ_TSA_STRICT; in bnxt_hwrm_queue_cos2bw_qcfg()
185 ets->tc_tsa[tc] = IEEE_8021QAZ_TSA_ETS; in bnxt_hwrm_queue_cos2bw_qcfg()
488 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate()
491 switch (ets->tc_tsa[i]) { in bnxt_ets_validate()
547 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in bnxt_dcbnl_ieee_getets()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_dcb_nl.c299 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx4_en_dcbnl_ieee_getets()
318 switch (ets->tc_tsa[i]) { in mlx4_en_ets_validate()
328 i, ets->tc_tsa[i]); in mlx4_en_ets_validate()
356 switch (ets->tc_tsa[i]) { in mlx4_en_config_port_scheduler()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_dcb_nl.c299 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx4_en_dcbnl_ieee_getets()
318 switch (ets->tc_tsa[i]) { in mlx4_en_ets_validate()
328 i, ets->tc_tsa[i]); in mlx4_en_ets_validate()
356 switch (ets->tc_tsa[i]) { in mlx4_en_config_port_scheduler()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_dcb.c18 switch (ets->tc_tsa[i]) { in hclge_ieee_ets_to_tm_info()
63 ets->tc_tsa[i] = IEEE_8021QAZ_TSA_STRICT; in hclge_tm_info_to_ieee_ets()
65 ets->tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in hclge_tm_info_to_ieee_ets()
138 switch (ets->tc_tsa[i]) { in hclge_ets_sch_mode_validate()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddcbnl.h25 u8 tc_tsa[IEEE_8021QAZ_MAX_TCS]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddcbnl.h25 u8 tc_tsa[IEEE_8021QAZ_MAX_TCS]; member
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_dcb.c17 switch (ets->tc_tsa[i]) { in hclge_ieee_ets_to_tm_info()
62 ets->tc_tsa[i] = IEEE_8021QAZ_TSA_STRICT; in hclge_tm_info_to_ieee_ets()
64 ets->tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in hclge_tm_info_to_ieee_ets()
137 switch (ets->tc_tsa[i]) { in hclge_ets_sch_mode_validate()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c49 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, in i40e_dcbnl_ieee_getets()
50 sizeof(ets->tc_tsa)); in i40e_dcbnl_ieee_getets()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_dcb.c41 switch (ets->tc_tsa[i]) { in mlxsw_sp_port_ets_validate()
100 bool dwrr = ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; in __mlxsw_sp_dcbnl_ieee_setets()
138 bool dwrr = my_ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; in __mlxsw_sp_dcbnl_ieee_setets()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_dcb.c41 switch (ets->tc_tsa[i]) { in mlxsw_sp_port_ets_validate()
100 bool dwrr = ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; in __mlxsw_sp_dcbnl_ieee_setets()
138 bool dwrr = my_ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; in __mlxsw_sp_dcbnl_ieee_setets()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c45 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, sizeof(ets->tc_tsa)); in ice_dcbnl_getets()
82 new_cfg->etscfg.tsatable[i] = ets->tc_tsa[i]; in ice_dcbnl_setets()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c502 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in ixgbe_dcbnl_ieee_getets()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c45 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, sizeof(ets->tc_tsa)); in ice_dcbnl_getets()
87 new_cfg->etscfg.tsatable[i] = ets->tc_tsa[i]; in ice_dcbnl_setets()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c52 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, in i40e_dcbnl_ieee_getets()
53 sizeof(ets->tc_tsa)); in i40e_dcbnl_ieee_getets()
127 pf->tmp_cfg.etscfg.tsatable[i] = ets->tc_tsa[i]; in i40e_dcbnl_ieee_setets()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c500 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in ixgbe_dcbnl_ieee_getets()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Ddcbnl.h41 * @tc_tsa: TSA Assignment table, indexed by traffic class
64 __u8 tc_tsa[IEEE_8021QAZ_MAX_TCS]; member

Completed in 22 milliseconds

12