Searched refs:tc_tsa (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dcb.c | 135 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()
|
D | xgbe-dev.c | 2752 switch (ets->tc_tsa[i]) { in xgbe_config_dcb_tc()
|
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_dcbnl.c | 22 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()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 144 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in mlx5e_dcbnl_ieee_getets() 147 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_VENDOR; in mlx5e_dcbnl_ieee_getets() 149 memcpy(ets->tc_tsa, priv->dcbx.tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_getets() 162 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS) { in mlx5e_build_tc_group() 177 switch (ets->tc_tsa[i]) { in mlx5e_build_tc_group() 202 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS && in mlx5e_build_tc_tx_bw() 213 switch (ets->tc_tsa[i]) { in mlx5e_build_tc_tx_bw() 265 memcpy(priv->dcbx.tc_tsa, ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_setets_core() 297 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS) { in mlx5e_dbcnl_validate_ets() 631 ets.tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in mlx5e_dcbnl_setall() [all …]
|
D | en.h | 295 u8 tc_tsa[IEEE_8021QAZ_MAX_TCS]; member
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_dcb.c | 109 if (ets->tc_tsa[i] == IEEE_8021QAZ_TSA_STRICT) { in bnxt_hwrm_queue_cos2bw_cfg() 166 ets->tc_tsa[tc] = IEEE_8021QAZ_TSA_STRICT; in bnxt_hwrm_queue_cos2bw_qcfg() 168 ets->tc_tsa[tc] = IEEE_8021QAZ_TSA_ETS; in bnxt_hwrm_queue_cos2bw_qcfg() 455 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate() 458 switch (ets->tc_tsa[i]) { in bnxt_ets_validate() 505 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in bnxt_dcbnl_ieee_getets()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | en_dcb_nl.c | 299 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()
|
D | en_netdev.c | 3322 priv->ets.tc_tsa[prio] = IEEE_8021QAZ_TSA_VENDOR; in mlx4_en_init_netdev()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_dcb.c | 16 switch (ets->tc_tsa[i]) { in hclge_ieee_ets_to_tm_info() 58 ets->tc_tsa[i] = IEEE_8021QAZ_TSA_STRICT; in hclge_tm_info_to_ieee_ets() 60 ets->tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in hclge_tm_info_to_ieee_ets() 128 switch (ets->tc_tsa[i]) { in hclge_ets_validate()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 49 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, in i40e_dcbnl_ieee_getets() 50 sizeof(ets->tc_tsa)); in i40e_dcbnl_ieee_getets()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_dcb.c | 41 switch (ets->tc_tsa[i]) { in mlxsw_sp_port_ets_validate() 159 bool dwrr = ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; in __mlxsw_sp_dcbnl_ieee_setets() 197 bool dwrr = my_ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; in __mlxsw_sp_dcbnl_ieee_setets()
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 502 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in ixgbe_dcbnl_ieee_getets()
|
D | ixgbe_dcb.c | 314 switch (ets->tc_tsa[i]) { in ixgbe_dcb_hw_ets()
|
/Linux-v5.4/include/uapi/linux/ |
D | dcbnl.h | 64 __u8 tc_tsa[IEEE_8021QAZ_MAX_TCS]; member
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 2185 memcpy(ets->tc_tsa, params->ets_tc_tsa_tbl, sizeof(ets->tc_tsa)); in qed_dcbnl_get_ieee_ets() 2228 memcpy(dcbx_set.config.params.ets_tc_tsa_tbl, ets->tc_tsa, in qed_dcbnl_ieee_setets() 2229 sizeof(ets->tc_tsa)); in qed_dcbnl_ieee_setets()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 989 ets->tc_tsa[i] = pcmd.u.dcb.pgrate.tsa[i]; in cxgb4_ieee_read_ets()
|