aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4/cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mlx4/cmd.h')
-rw-r--r--include/linux/mlx4/cmd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h
index 7b6d4e9ff603..7299e9548906 100644
--- a/include/linux/mlx4/cmd.h
+++ b/include/linux/mlx4/cmd.h
@@ -163,6 +163,9 @@ enum {
163 MLX4_QP_FLOW_STEERING_ATTACH = 0x65, 163 MLX4_QP_FLOW_STEERING_ATTACH = 0x65,
164 MLX4_QP_FLOW_STEERING_DETACH = 0x66, 164 MLX4_QP_FLOW_STEERING_DETACH = 0x66,
165 MLX4_FLOW_STEERING_IB_UC_QP_RANGE = 0x64, 165 MLX4_FLOW_STEERING_IB_UC_QP_RANGE = 0x64,
166
167 /* Update and read QCN parameters */
168 MLX4_CMD_CONGESTION_CTRL_OPCODE = 0x68,
166}; 169};
167 170
168enum { 171enum {
@@ -233,6 +236,16 @@ struct mlx4_config_dev_params {
233 u8 rx_csum_flags_port_2; 236 u8 rx_csum_flags_port_2;
234}; 237};
235 238
239enum mlx4_en_congestion_control_algorithm {
240 MLX4_CTRL_ALGO_802_1_QAU_REACTION_POINT = 0,
241};
242
243enum mlx4_en_congestion_control_opmod {
244 MLX4_CONGESTION_CONTROL_GET_PARAMS,
245 MLX4_CONGESTION_CONTROL_GET_STATISTICS,
246 MLX4_CONGESTION_CONTROL_SET_PARAMS = 4,
247};
248
236struct mlx4_dev; 249struct mlx4_dev;
237 250
238struct mlx4_cmd_mailbox { 251struct mlx4_cmd_mailbox {