[PATCH rdma-core 0/2] Update kernel headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

This series fixes a regression from the DECLARE_DRV_CMD series in mlx 4
as it was trying to use an ABI struct of 4 bytes through the ex
interface. That was fixed in the kernel side by making the struct 8 bytes
long.

Also add static assertions to make sure this case is not happening to any
other structs and does not happen again.

This is a pull request:

https://github.com/linux-rdma/rdma-core/pull/319

Jason Gunthorpe (2):
  Update kernel headers
  verbs: Have DECLARE_DRV_CMD check that ex commands are 8 byte aligned

 kernel-headers/rdma/mlx5-abi.h     |  1 +
 kernel-headers/rdma/rdma_netlink.h | 13 +++++++++++++
 kernel-headers/rdma/rdma_user_cm.h | 10 +++++++++-
 libibverbs/kern-abi.h              | 12 ++++++++++--
 4 files changed, 33 insertions(+), 3 deletions(-)

-- 
2.16.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux