History

RDMA/mlx4: Fix uABI structure layouts for 32/64 compat

rss_caps in struct mlx4_uverbs_ex_query_device_resp is misaligned on 32 bit compared to 64 bit, add explicit padding. The rss caps were introduced recently and are very rarely used in user space, mainly for DPDK. We don't expect there to be a real 32 bit user, so this change is done without compat considerations.

Jason Gunthorpe committed 8 years ago

Commit 366380a1 parent 71e80a41 file · +1 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/rdma/mlx4-abi.h+1−0
@@ -183,6 +183,7 @@ struct mlx4_uverbs_ex_query_device_resp { · 182 unmodified lines
183183 __u32 response_length;
184184 __u64 hca_core_clock_offset;
185185 __u32 max_inl_recv_sz;
186+ __u32 reserved;
186187 struct mlx4_ib_rss_caps rss_caps;
187188 struct mlx4_ib_tso_caps tso_caps;
188189 };

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