commit | 0a6beaff4a1715a1546d3d04d1fda15d6e2f2a26 | [log] [tgz] |
---|---|---|
author | Bodong Wang <bodong@mellanox.com> | Tue Sep 22 23:20:21 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed Sep 23 11:10:43 2015 -0400 |
tree | 4a69d2495a1defa41afc072ce3c487c80da7a88b | |
parent | a259f87fc0aa3d0e1d67216c479edee1296ffb5f [diff] |
libibverbs: Report checksum offload capabilities Add IBV_DEVICE_UD_IP_CSUM, IBV_DEVICE_RAW_IP_CSUM and IBV_DEVICE_RC_IP_CSUM to device capability enum field. These enum will denote IPv4 checksum offload support for UD, RAW and RC QPs. Flags IBV_SEND_IP_CSUM and IBV_WC_IP_CSUM_OK are added for utilizing this capability for send and receive separately. Signed-off-by: Bodong Wang <bodong@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>