Searched refs:trust_state (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 64 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 …]
|
D | port.c | 932 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()
|
D | en_tx.c | 81 if (priv->dcbx_dp.trust_state == MLX5_QPTS_TRUST_DSCP) in mlx5e_select_queue()
|
D | en_tc.c | 806 if (priv->dcbx_dp.trust_state != MLX5_QPTS_TRUST_PCP) { in mlx5e_hairpin_get_prio()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | port.h | 207 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);
|
D | mlx5_ifc.h | 10006 u8 trust_state[0x3]; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | dcbnl.h | 39 u8 trust_state; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_dcb.c | 279 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()
|
D | spectrum.h | 292 enum mlxsw_reg_qpts_trust_state trust_state; member
|
D | reg.h | 3261 MLXSW_ITEM32(reg, qpts, trust_state, 0x04, 0, 3);
|