Bart Van Assche 6dc26498e1 RDMA/srp: Apply the __packed attribute to members instead of structures
Applying the __packed attribute to an entire data structure results in
suboptimal code on architectures that do not support unaligned accesses.
Hence apply the __packed attribute only to those data members that are
not naturally aligned.

Link: https://lore.kernel.org/r/20210524041211.9480-4-bvanassche@acm.org
Cc: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-05-28 20:21:20 -03:00
..
2021-04-27 17:05:53 -07:00
2019-07-11 15:14:01 -07:00
2021-04-28 17:22:10 -07:00
2021-04-28 17:22:10 -07:00
2019-07-11 15:14:01 -07:00
2020-03-24 07:57:07 -06:00