From: Bodong Wang <[email protected]>

This series adds kernel support for checksum offload cap report. The first patch
adds reporting for RAW and RC QPs. Patch 2 sets the capability according to
hardware.

Changes from v1:
  * The cap is reported through existing device_cap_flags. Only new enum members
    are added rather than to use an extra structure. IB_DEVICE_UD_IP_CSUM is
    already defined there.
  * Note: although there is no link layer info indicated here, normally UD and
    RC QPs are only available through IB, RAW QP is only available over
    Ethernet.

Bodong Wang (2):
  IB/core: Add support of checksum capability reporting for RC and RAW
  IB/mlx4: Report checksum offload cap for RAW QP when query device

 drivers/infiniband/hw/mlx4/main.c | 2 ++
 include/rdma/ib_verbs.h           | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to