linux/drivers/infiniband/sw
Guoqing Jiang 51ac45a663 RDMA/siw: Reduce memory usage of struct siw_rx_stream
We can reduce the memory of the struct by move some of it's
member.

Before,

	/* size: 144, cachelines: 3, members: 17 */
	/* sum members: 124, holes: 3, sum holes: 12 */
	/* sum bitfield members: 7 bits (0 bytes) */
	/* padding: 7 */
	/* bit_padding: 1 bits */

After

	/* size: 128, cachelines: 2, members: 17 */
	/* padding: 3 */
	/* bit_padding: 1 bits */

Link: https://lore.kernel.org/r/20231203092655.28102-3-guoqing.jiang@linux.dev
Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2023-12-04 20:13:30 -04:00
..
rdmavt IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
rxe v6.6 merge window RDMA pull request 2023-09-01 16:49:33 -07:00
siw RDMA/siw: Reduce memory usage of struct siw_rx_stream 2023-12-04 20:13:30 -04:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00