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>
This commit is contained in:

committed by
Doug Ledford

parent
f95ef6cbae
commit
309fa3470f
@@ -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 {
|
||||
|
Reference in New Issue
Block a user