History

IB/mlx5: Report inner RSS capability

Add missing inner RSS support capability as part of the RSS supported fields. In addition change MLX5_RX_HASH_INNER to 1UL << 31 in order to define it as unsigned.

Maor Gottlieb committed 8 years ago

Commit 4e2b53a1 parent 07d84f72 files · +3 −2Browse files

Unified · Split

2 files
  1. drivers/infiniband/hw/mlx5/main.c +2 −1
  2. include/uapi/rdma/mlx5-abi.h +1 −1
drivers/infiniband/hw/mlx5/main.c+2−1
@@ -680,7 +680,8 @@ static int mlx5_ib_query_device(struct ib_device *ibdev, · 679 unmodified lines
680680 MLX5_RX_HASH_SRC_PORT_TCP |
681681 MLX5_RX_HASH_DST_PORT_TCP |
682682 MLX5_RX_HASH_SRC_PORT_UDP |
683− MLX5_RX_HASH_DST_PORT_UDP;
683+ MLX5_RX_HASH_DST_PORT_UDP |
684+ MLX5_RX_HASH_INNER;
684685 resp.response_length += sizeof(resp.rss_caps);
685686 }
686687 } else {
include/uapi/rdma/mlx5-abi.h+1−1
@@ -307,7 +307,7 @@ enum mlx5_rx_hash_fields { · 306 unmodified lines
307307 MLX5_RX_HASH_SRC_PORT_UDP = 1 << 6,
308308 MLX5_RX_HASH_DST_PORT_UDP = 1 << 7,
309309 /* Save bits for future fields */
310− MLX5_RX_HASH_INNER = 1 << 31
310+ MLX5_RX_HASH_INNER = (1UL << 31),
311311 };
312312
313313 struct mlx5_ib_create_qp_rss {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t