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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -303,7 +303,9 @@ enum mlx5_rx_hash_fields { · 302 unmodified lines | ||
| 303 | 303 | MLX5_RX_HASH_SRC_PORT_TCP = 1 << 4, |
| 304 | 304 | MLX5_RX_HASH_DST_PORT_TCP = 1 << 5, |
| 305 | 305 | MLX5_RX_HASH_SRC_PORT_UDP = 1 << 6, |
| 306 | − MLX5_RX_HASH_DST_PORT_UDP = 1 << 7 | |
| 306 | + MLX5_RX_HASH_DST_PORT_UDP = 1 << 7, | |
| 307 | + /* Save bits for future fields */ | |
| 308 | + MLX5_RX_HASH_INNER = 1 << 31 | |
| 307 | 309 | }; |
| 308 | 310 | |
| 309 | 311 | struct mlx5_ib_create_qp_rss { |