Home
last modified time | relevance | path

Searched refs:trust_state (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c64 static int mlx5e_set_trust_state(struct mlx5e_priv *priv, u8 trust_state);
1101 if (priv->dcbx_dp.trust_state != MLX5_QPTS_TRUST_DSCP) in mlx5e_dcbnl_dscp_app()
1129 u8 trust_state) in mlx5e_params_calc_trust_tx_min_inline_mode() argument
1132 if (trust_state == MLX5_QPTS_TRUST_DSCP && in mlx5e_params_calc_trust_tx_min_inline_mode()
1139 u8 *trust_state = context; in mlx5e_update_trust_state_hw() local
1142 err = mlx5_set_trust_state(priv->mdev, *trust_state); in mlx5e_update_trust_state_hw()
1145 priv->dcbx_dp.trust_state = *trust_state; in mlx5e_update_trust_state_hw()
1150 static int mlx5e_set_trust_state(struct mlx5e_priv *priv, u8 trust_state) in mlx5e_set_trust_state() argument
1161 trust_state); in mlx5e_set_trust_state()
1175 &trust_state); in mlx5e_set_trust_state()
[all …]
Dport.c932 int mlx5_set_trust_state(struct mlx5_core_dev *mdev, u8 trust_state) in mlx5_set_trust_state() argument
939 MLX5_SET(qpts_reg, in, trust_state, trust_state); in mlx5_set_trust_state()
946 int mlx5_query_trust_state(struct mlx5_core_dev *mdev, u8 *trust_state) in mlx5_query_trust_state() argument
957 *trust_state = MLX5_GET(qpts_reg, out, trust_state); in mlx5_query_trust_state()
Den_tx.c81 if (priv->dcbx_dp.trust_state == MLX5_QPTS_TRUST_DSCP) in mlx5e_select_queue()
Den_tc.c806 if (priv->dcbx_dp.trust_state != MLX5_QPTS_TRUST_PCP) { in mlx5e_hairpin_get_prio()
/kernel/linux/linux-5.10/include/linux/mlx5/
Dport.h207 int mlx5_set_trust_state(struct mlx5_core_dev *mdev, u8 trust_state);
208 int mlx5_query_trust_state(struct mlx5_core_dev *mdev, u8 *trust_state);
Dmlx5_ifc.h10006 u8 trust_state[0x3]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddcbnl.h39 u8 trust_state; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dcb.c279 if (mlxsw_sp_port->dcb.trust_state == ts) in mlxsw_sp_port_dcb_toggle_trust()
290 mlxsw_sp_port->dcb.trust_state = ts; in mlxsw_sp_port_dcb_toggle_trust()
295 mlxsw_sp_port->dcb.trust_state); in mlxsw_sp_port_dcb_toggle_trust()
723 mlxsw_sp_port->dcb.trust_state = MLXSW_REG_QPTS_TRUST_STATE_PCP; in mlxsw_sp_port_dcb_init()
Dspectrum.h292 enum mlxsw_reg_qpts_trust_state trust_state; member
Dreg.h3261 MLXSW_ITEM32(reg, qpts, trust_state, 0x04, 0, 3);