Message ID | 20200310143936.331178-1-fbl@sysclose.org |
---|---|
State | Accepted |
Headers | show |
Series | [ovs-dev,v2] userspace-tso: Document the minimum kernel version. | expand |
On 3/10/20 3:39 PM, Flavio Leitner wrote: > The kernel needs to be at least 4.19-rc7 to include the commit > 9d2f67e43b73 ("net/packet: fix packet drop as of virtio gso") > otherwise the TSO packets are dropped when using raw sockets. > > Fixes: 29cf9c1b3b9c ("userspace: Add TCP Segmentation Offload support") > Reported-by: Yi Yang (杨燚)-云服务集团 <yangyi01@inspur.com> > Signed-off-by: Flavio Leitner <fbl@sysclose.org> > --- > Documentation/topics/userspace-tso.rst | 6 ++++++ > 1 file changed, 6 insertions(+) > > v2 > - Change wording to be more clear with regards to kernel > versions and possible backports. > Thanks! Applied to master and backported down to 2.13. Best regards, Ilya Maximets. > diff --git a/Documentation/topics/userspace-tso.rst b/Documentation/topics/userspace-tso.rst > index 0fbac93a5..65655c0c2 100644 > --- a/Documentation/topics/userspace-tso.rst > +++ b/Documentation/topics/userspace-tso.rst > @@ -113,6 +113,12 @@ __ https://patches.dpdk.org/patch/64136/ > This fix is expected to be included in the 19.11.1 release. When OVS migrates > to this DPDK release, this limitation can be removed. > > +All kernel devices that use the raw socket interface (veth, for example) > +require the kernel commit 9d2f67e43b73 ("net/packet: fix packet drop > +as of virtio gso") in order to work properly. This commit was merged > +in upstream kernel 4.19-rc7, so make sure your kernel is either > +newer or contains the backport. > + > ~~~~~~~~~~~~~~~~~~ > Performance Tuning > ~~~~~~~~~~~~~~~~~~ >
diff --git a/Documentation/topics/userspace-tso.rst b/Documentation/topics/userspace-tso.rst index 0fbac93a5..65655c0c2 100644 --- a/Documentation/topics/userspace-tso.rst +++ b/Documentation/topics/userspace-tso.rst @@ -113,6 +113,12 @@ __ https://patches.dpdk.org/patch/64136/ This fix is expected to be included in the 19.11.1 release. When OVS migrates to this DPDK release, this limitation can be removed. +All kernel devices that use the raw socket interface (veth, for example) +require the kernel commit 9d2f67e43b73 ("net/packet: fix packet drop +as of virtio gso") in order to work properly. This commit was merged +in upstream kernel 4.19-rc7, so make sure your kernel is either +newer or contains the backport. + ~~~~~~~~~~~~~~~~~~ Performance Tuning ~~~~~~~~~~~~~~~~~~
The kernel needs to be at least 4.19-rc7 to include the commit 9d2f67e43b73 ("net/packet: fix packet drop as of virtio gso") otherwise the TSO packets are dropped when using raw sockets. Fixes: 29cf9c1b3b9c ("userspace: Add TCP Segmentation Offload support") Reported-by: Yi Yang (杨燚)-云服务集团 <yangyi01@inspur.com> Signed-off-by: Flavio Leitner <fbl@sysclose.org> --- Documentation/topics/userspace-tso.rst | 6 ++++++ 1 file changed, 6 insertions(+) v2 - Change wording to be more clear with regards to kernel versions and possible backports.