RE: [PATCH libibverbs 2/3] Add support for TCP segmentation offload (TSO)

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

 



> From: Or Gerlitz
> Sent: Thursday, August 18, 2016 9:06 AM
> To: Yishai Hadas <yishaih@xxxxxxxxxxxx>
> Cc: dledford@xxxxxxxxxx; linux-rdma@xxxxxxxxxxxxxxx; Bodong Wang
> <bodong@xxxxxxxxxxxx>; Majd Dibbiny <majd@xxxxxxxxxxxx>; Tal Alon
> <talal@xxxxxxxxxxxx>
> Subject: Re: [PATCH libibverbs 2/3] Add support for TCP segmentation
> offload (TSO)
> 
> On 7/28/2016 3:19 PM, Yishai Hadas wrote:
> > 3) Add IBV_WC_TSO to be used as part of poll_cq to report a TSO
> completion.
> 
> why is that needed? what's the proposed/possible applicative usage of
> that bit?

It's consistent with the kernel API that adds similar bit for LSO.
http://lxr.free-electrons.com/source/include/rdma/ib_verbs.h#L842

Specifically, it can give an application an accurate  knowledge about the completion type
as done for other cases as part of ibv_post_send as of IBV_WC_BIND_MW,
IBV_WC_LOCAL_INV, etc.



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