Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c467 temp.priority = priv->dcbx_dp.dscp2prio[app->protocol]; in mlx5e_dcbnl_ieee_setapp()
477 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) { in mlx5e_dcbnl_ieee_setapp()
522 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) in mlx5e_dcbnl_ieee_delapp()
1095 if (priv->dcbx_dp.trust_state != MLX5_QPTS_TRUST_DSCP) in mlx5e_dcbnl_dscp_app()
1101 temp.priority = priv->dcbx_dp.dscp2prio[i]; in mlx5e_dcbnl_dscp_app()
1139 WRITE_ONCE(priv->dcbx_dp.trust_state, *trust_state); in mlx5e_update_trust_state_hw()
1177 priv->dcbx_dp.dscp2prio[dscp] = prio; in mlx5e_set_dscp2prio()
1188 WRITE_ONCE(priv->dcbx_dp.trust_state, MLX5_QPTS_TRUST_PCP); in mlx5e_trust_initialize()
1195 WRITE_ONCE(priv->dcbx_dp.trust_state, trust_state); in mlx5e_trust_initialize()
1197 if (priv->dcbx_dp.trust_state == MLX5_QPTS_TRUST_PCP && priv->dcbx.dscp_app_cnt) { in mlx5e_trust_initialize()
[all …]
H A Den.h872 struct mlx5e_dcbx_dp dcbx_dp; member
H A Den_tc.c1011 if (priv->dcbx_dp.trust_state != MLX5_QPTS_TRUST_PCP) { in mlx5e_hairpin_get_prio()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dselq.c150 return priv->dcbx_dp.dscp2prio[dscp_cp]; in mlx5e_get_dscp_up()
157 if (READ_ONCE(priv->dcbx_dp.trust_state) == MLX5_QPTS_TRUST_DSCP) in mlx5e_get_up()