OSDN Git Service

IB/core: Add support of checksum capability reporting for RC and RAW
authorBodong Wang <bodong@mellanox.com>
Tue, 22 Sep 2015 20:18:10 +0000 (23:18 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 29 Sep 2015 02:10:15 +0000 (22:10 -0400)
commit470a55358186d0bb93558a87d13159dfbc989351
tree4c86b6ba1eeee2de56e77af53c1e82a18e4dc759
parent9ffecb10283508260936b96022d4ee43a7798b4c
IB/core: Add support of checksum capability reporting for RC and RAW

Two enum members IB_DEVICE_RC_IP_CSUM and IB_DEVICE_RAW_IP_CSUM are
added to ib_device_cap_flags. Device should set these two flags if they support
insertion of UDP and TCP checksum on outgoing IPv4 messages and can verify the
validity of checksum for incoming IPv4 messages, for RC IPoIB and RAW over
Ethernet respectively. They are similar to IB_DEVICE_UD_IP_CSUM.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_verbs.h