mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
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:
parent
f95ef6cbae
commit
309fa3470f
2 changed files with 14 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue