aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/mlx5-abi.h
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2017-10-19 08:25:56 +0300
committerDoug Ledford <dledford@redhat.com>2017-10-25 14:19:32 -0400
commit309fa3470fcaf96b295d2106ab17c00dbf7f3920 (patch)
treef09efcc53eba087a30a91954f60024d9ef342ee7 /include/uapi/rdma/mlx5-abi.h
parentIB/mlx5: Add tunneling offloads support (diff)
downloadlinux-dev-309fa3470fcaf96b295d2106ab17c00dbf7f3920.tar.xz
linux-dev-309fa3470fcaf96b295d2106ab17c00dbf7f3920.zip
IB/mlx5: Add support for RSS on the inner packet
Some user space application would like to do RSS on the inner packet fields instead on the outer. When MLX5_RX_HASH_INNER is set with one or more of the other hash fields, then the RSS will be done using the inner packet. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--include/uapi/rdma/mlx5-abi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h
index 791655ec4aff..442b46b74a3a 100644
--- a/include/uapi/rdma/mlx5-abi.h
+++ b/include/uapi/rdma/mlx5-abi.h
@@ -303,7 +303,9 @@ enum mlx5_rx_hash_fields {
MLX5_RX_HASH_SRC_PORT_TCP = 1 << 4,
MLX5_RX_HASH_DST_PORT_TCP = 1 << 5,
MLX5_RX_HASH_SRC_PORT_UDP = 1 << 6,
- MLX5_RX_HASH_DST_PORT_UDP = 1 << 7
+ MLX5_RX_HASH_DST_PORT_UDP = 1 << 7,
+ /* Save bits for future fields */
+ MLX5_RX_HASH_INNER = 1 << 31
};
struct mlx5_ib_create_qp_rss {