Re: [PATCH 0/7] RDMA/cm: Remove open coded structure pack/unpack

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

 



On Thu, Jan 16, 2020 at 01:00:30PM -0400, Jason Gunthorpe wrote:
> From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> 
> Instead of using a struct layout with a large number of open coded pack/unpack
> inlines use a consistent set of macros generating GENMASK's for accessing the
> members. The definitions follow the MAD layout tables in the IBA and are easier
> to correlate with the specification.
> 
> Further the macros consistently use cpu endian values which will allow later
> patches to remove alot of the __be stuff sprinkled randomly around.
> 
> The is a follow up to the series here:
> 
> https://lore.kernel.org/r/20191212093830.316934-1-leon@xxxxxxxxxx
> 
> Jason Gunthorpe (6):
>   RDMA/cm: Add accessors for CM_REQ transport_type
>   RDMA/cm: Use IBA functions for simple get/set acessors
>   RDMA/cm: Use IBA functions for swapping get/set acessors
>   RDMA/cm: Use IBA functions for simple structure members
>   RDMA/cm: Use IBA functions for complex structure members
>   RDMA/cm: Remove CM message structs
> 
> Leon Romanovsky (1):
>   RDMA/cm: Add SET/GET implementations to hide IBA wire format

Applied to for-next

Jason



[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