IB/mlx5: Add ability to hash by IPSEC_SPI when creating a TIR
When a Raw Ethernet QP is created, we actually create a few objects. One of these objects is a TIR. Currently, a TIR could hash (and spread the traffic) by IP or port only. Adding a hashing by IPSec SPI to TIR creation with the required UAPI bit. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:

committed by
Jason Gunthorpe

parent
c03faa562d
commit
2d93fc8569
@@ -327,6 +327,7 @@ enum mlx5_rx_hash_fields {
|
||||
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_IPSEC_SPI = 1 << 8,
|
||||
/* Save bits for future fields */
|
||||
MLX5_RX_HASH_INNER = (1UL << 31),
|
||||
};
|
||||
|
Reference in New Issue
Block a user