Re: [PATCH libmlx5] Add TSO support for RAW Ethernet QP

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

 



On 7/28/2016 3:48 PM, Yishai Hadas wrote:
From: Bodong Wang <bodong@xxxxxxxxxxxx>

When sending TCP packets over RAW Ethernet QP with ibv_post_send, user
has the option to set IBV_WR_TSO flag to enable large segment offload.
The TSO header, header size and maximum segment size must be specified by
the user through ibv_send_wr.

Eligible hardware will break down large chunk of data into smaller
segments per user setup. Error will be returned if TSO is not supported,
or the size of chunk is too large for hardware to handle.

Signed-off-by: Bodong Wang <bodong@xxxxxxxxxxxx>
Reviewed-by: Yishai Hadas <yishaih@xxxxxxxxxxxx>

---
 src/cq.c       |   5 +++
 src/mlx5-abi.h |   7 ++--
 src/mlx5.c     |  13 +++++---
 src/mlx5.h     |  10 +++++-
 src/qp.c       | 103 +++++++++++++++++++++++++++++++++++++++++++++++++--------
 src/verbs.c    |  49 ++++++++++++++++++++-------
 src/wqe.h      |   1 +
 7 files changed, 156 insertions(+), 32 deletions(-)


Applied.
--
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