summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4/cmd.h
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2013-11-07 15:25:14 +0200
committerRoland Dreier <roland@purestorage.com>2014-01-14 14:06:50 -0800
commit4de6580360867d44adecb2d05febed1c8d186c82 (patch)
tree4645ce69a405ff0ed519da0ad7d8ba12c76e05a8 /include/linux/mlx4/cmd.h
parent240ae00e4d834e387f4f09e236130f520e357a70 (diff)
downloadtalos-obmc-linux-4de6580360867d44adecb2d05febed1c8d186c82.tar.gz
talos-obmc-linux-4de6580360867d44adecb2d05febed1c8d186c82.zip
mlx4_core: Add support for steerable IB UD QPs
This patch adds support for allocating IB UD QPs that we can steer traffic from. We introduce a new firmware command FLOW_STEERING_IB_UC_QP_RANGE and a capability bit. This command isn't supported for VFs. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx4/cmd.h')
-rw-r--r--include/linux/mlx4/cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h
index 8df61bc5da00..ff36620f88a7 100644
--- a/include/linux/mlx4/cmd.h
+++ b/include/linux/mlx4/cmd.h
@@ -157,6 +157,7 @@ enum {
/* register/delete flow steering network rules */
MLX4_QP_FLOW_STEERING_ATTACH = 0x65,
MLX4_QP_FLOW_STEERING_DETACH = 0x66,
+ MLX4_FLOW_STEERING_IB_UC_QP_RANGE = 0x64,
};
enum {
OpenPOWER on IntegriCloud