linux_dsm_epyc7002/drivers/infiniband/hw
Or Gerlitz d927d505c5 IB: Change CQE "csum_ok" field to a bit flag
Use a bit in wc_flags rather then a whole integer to hold the
"checksum OK" flag.  By itself, this change doesn't reduce the size of
struct ib_wc on 64bit machines -- it stays on 56 bytes because of
padding.  However, it will allow to add more fields in the future
without enlarging the struct.  Also, it will let us have a unified
approach with future libibverbs checksum offload reporting, because a
bit flag doesn't break the library ABI.

This patch was suggested during conversation with Liran Liss
<liranl@mellanox.com>.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-03-08 12:34:27 -08:00
..
amso1100 IB: Use central enum for speed instead of hard-coded values 2012-03-05 09:25:16 -08:00
cxgb3 IB: Use central enum for speed instead of hard-coded values 2012-03-05 09:25:16 -08:00
cxgb4 IB: Use central enum for speed instead of hard-coded values 2012-03-05 09:25:16 -08:00
ehca IB: Use central enum for speed instead of hard-coded values 2012-03-05 09:25:16 -08:00
ipath IB/ipath: Calling PTR_ERR() on right variable in create_file() 2012-01-27 09:48:27 -08:00
mlx4 IB: Change CQE "csum_ok" field to a bit flag 2012-03-08 12:34:27 -08:00
mthca IB: Change CQE "csum_ok" field to a bit flag 2012-03-08 12:34:27 -08:00
nes IB: Use central enum for speed instead of hard-coded values 2012-03-05 09:25:16 -08:00
qib IB: Change CQE "csum_ok" field to a bit flag 2012-03-08 12:34:27 -08:00