[PATCH for-next 0/2] Add support for reporting LSO capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series enabled hardware to report Large Segment
Offload(LSO) capabilities from kernel to user space. LSO enabled NIC
will accept big chuck of data with the size greater than MTU.
The LSO engine will split them into separate packets and insert the
headers automatically. With LSO, CPU is offloaded from dealing with
much less throughput of data.

For detailed info about LSO, please refer to the following link:
https://en.wikipedia.org/wiki/Large_segment_offload

The capabilities are exposed to user space through
query_device, ib_device_attr, and their relevant code is updated
to build the pipe. The following capabilities will be reported:

1. The maximum payload size supported for segmentation by LSO engine.
2. QP types which support LSO operations.

The capabilities of mlx5-related hardware are reported accordingly.

This series conflicts with scatter FCS series that was posted earlier
in this kernel cycle. The resolution for this conflict is available
in Mellanox's git.

Regards,
Bodong and Majd.

Bodong Wang (2):
  IB/core: Report LSO capabilities when querying device
  IB/mlx5: Report mlx5 LSO capabilities when querying device

 drivers/infiniband/core/uverbs_cmd.c |  7 +++++++
 drivers/infiniband/hw/mlx5/main.c    | 13 +++++++++++--
 include/rdma/ib_verbs.h              |  6 ++++++
 include/uapi/rdma/ib_user_verbs.h    |  6 ++++++
 4 files changed, 30 insertions(+), 2 deletions(-)

-- 
1.8.3.1

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux