From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Abeni Subject: Re: [PATCH net-next] net: sock_rps_record_flow() is for connected sockets Date: Thu, 08 Dec 2016 19:50:08 +0100 Message-ID: <1481223008.8408.6.camel@redhat.com> References: <1480905784.18162.509.camel@edumazet-glaptop3.roam.corp.google.com> <1480944138.4694.37.camel@redhat.com> <1480948133.18162.527.camel@edumazet-glaptop3.roam.corp.google.com> <1480960639.18162.556.camel@edumazet-glaptop3.roam.corp.google.com> <1481020451.6225.38.camel@redhat.com> <1481044098.7129.7.camel@redhat.com> <1481046434.18162.599.camel@edumazet-glaptop3.roam.corp.google.com> <1481049061.7129.18.camel@redhat.com> <1481050715.18162.604.camel@edumazet-glaptop3.roam.corp.google.com> <1481051786.7129.22.camel@redhat.com> <1481052922.18162.605.camel@edumazet-glaptop3.roam.corp.google.com> <1481081570.18162.626.camel@edumazet-glaptop3.roam.corp.google.com> <1481093247.18162.637.camel@edumazet-glaptop3.roam.corp.google.com> <1481097428.5535.12.camel@redhat.com> <1481120956.4930.7.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: David Miller , netdev , Willem de Bruijn , Tom Herbert To: Eric Dumazet Return-path: Received: from mx1.redhat.com ([209.132.183.28]:48361 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752126AbcLHSuM (ORCPT ); Thu, 8 Dec 2016 13:50:12 -0500 In-Reply-To: <1481120956.4930.7.camel@edumazet-glaptop3.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 2016-12-07 at 06:29 -0800, Eric Dumazet wrote: > On Wed, 2016-12-07 at 08:57 +0100, Paolo Abeni wrote: > > > We have some experimental patches to implement GRO for plain UDP > > connected sockets, using frag_list to preserve the individual skb len, > > and deliver the packet to user space individually. With that I got > > ~3mpps with a single queue/user space sink - before the recent udp > > improvements. I would like to present these patches on netdev soon (no > > sooner than next week, anyway). > > > > Make sure you handle properly all netfilter helpers :( Thank you for the head-up! UDP-GRO will be enabled by a specific netdev feature bit, disabled by default, should not impact by default any setup. > Keeping frag_list means you keep one sk_buff per segment, so this really > looks like a legacy UDP server (like a DNS server) wont benefit from > this anyway. I'm sorry, I do not follow. UDP GRO will require connected socket - very likely no DNS server. The use-case is an application using long lived UDP sockets doing a lot of traffic, like fix protocol feeds over UDP. Thank you, Paolo