Home
last modified time | relevance | path

Searched refs:dcbx_dp (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c465 temp.priority = priv->dcbx_dp.dscp2prio[app->protocol]; in mlx5e_dcbnl_ieee_setapp()
475 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) { in mlx5e_dcbnl_ieee_setapp()
520 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) in mlx5e_dcbnl_ieee_delapp()
1092 if (priv->dcbx_dp.trust_state != MLX5_QPTS_TRUST_DSCP) in mlx5e_dcbnl_dscp_app()
1098 temp.priority = priv->dcbx_dp.dscp2prio[i]; in mlx5e_dcbnl_dscp_app()
1136 WRITE_ONCE(priv->dcbx_dp.trust_state, *trust_state); in mlx5e_update_trust_state_hw()
1174 priv->dcbx_dp.dscp2prio[dscp] = prio; in mlx5e_set_dscp2prio()
1185 WRITE_ONCE(priv->dcbx_dp.trust_state, MLX5_QPTS_TRUST_PCP); in mlx5e_trust_initialize()
1192 WRITE_ONCE(priv->dcbx_dp.trust_state, trust_state); in mlx5e_trust_initialize()
1194 if (priv->dcbx_dp.trust_state == MLX5_QPTS_TRUST_PCP && priv->dcbx.dscp_app_cnt) { in mlx5e_trust_initialize()
[all …]
Den.h900 struct mlx5e_dcbx_dp dcbx_dp; member
Den_tc.c972 if (priv->dcbx_dp.trust_state != MLX5_QPTS_TRUST_PCP) { in mlx5e_hairpin_get_prio()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dselq.c148 return priv->dcbx_dp.dscp2prio[dscp_cp]; in mlx5e_get_dscp_up()
155 if (READ_ONCE(priv->dcbx_dp.trust_state) == MLX5_QPTS_TRUST_DSCP) in mlx5e_get_up()