The checksum offload capability reporting is enabled based on extended verbs. The capability field has sub-fields for every link layer, and depends on device cap, each link layer will support specific QP types. These will be reported to user space.
I'm new to uverbs extensions and looking forward for review comments on that aspect of the patches. Bodong Wang (3): IB/core: Add support of checksum capability reporting in ib verbs IB/uverbs: Add support for checksum capability reporting in user verbs IB/mlx4: Report checksum offload cap when query device drivers/infiniband/core/uverbs_cmd.c | 7 +++++++ drivers/infiniband/hw/mlx4/main.c | 3 +++ include/rdma/ib_verbs.h | 10 ++++++++++ include/uapi/rdma/ib_user_verbs.h | 6 ++++++ 4 files changed, 26 insertions(+) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html