RE: [PATCH libibverbs 2/3] Add support for TCP segmentation offload (TSO)
From: Yishai Hadas <hidden>
Date: 2016-08-18 07:55:08
From: Or Gerlitz Sent: Thursday, August 18, 2016 9:06 AM To: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org; linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Bodong Wang [off-list ref]; Majd Dibbiny [off-list ref]; Tal Alon [off-list ref] Subject: Re: [PATCH libibverbs 2/3] Add support for TCP segmentation offload (TSO) On 7/28/2016 3:19 PM, Yishai Hadas wrote:quoted
3) Add IBV_WC_TSO to be used as part of poll_cq to report a TSOcompletion. 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html