From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [PATCH v4 5/5] flow_dissector: Parse batman-adv unicast headers Date: Thu, 21 Dec 2017 13:24:36 +0100 Message-ID: <20171221122436.GD1930@nanopsycho> References: <20171221091742.8020-1-sven.eckelmann@openmesh.com> <20171221091742.8020-6-sven.eckelmann@openmesh.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, Willem de Bruijn , Tom Herbert , Jiri Pirko , linux-kernel@vger.kernel.org, Eric Dumazet To: Sven Eckelmann Return-path: Received: from mail-wm0-f44.google.com ([74.125.82.44]:46829 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752748AbdLUMYi (ORCPT ); Thu, 21 Dec 2017 07:24:38 -0500 Received: by mail-wm0-f44.google.com with SMTP id r78so15678393wme.5 for ; Thu, 21 Dec 2017 04:24:38 -0800 (PST) Content-Disposition: inline In-Reply-To: <20171221091742.8020-6-sven.eckelmann@openmesh.com> Sender: netdev-owner@vger.kernel.org List-ID: Thu, Dec 21, 2017 at 10:17:42AM CET, sven.eckelmann@openmesh.com wrote: >The batman-adv unicast packets contain a full layer 2 frame in encapsulated >form. The flow dissector must therefore be able to parse the batman-adv >unicast header to reach the layer 2+3 information. > > +--------------------+ > | ip(v6)hdr | > +--------------------+ > | inner ethhdr | > +--------------------+ > | batadv unicast hdr | > +--------------------+ > | outer ethhdr | > +--------------------+ > >The obtained information from the upper layer can then be used by RPS to >schedule the processing on separate cores. This allows better distribution >of multiple flows from the same neighbor to different cores. > >Signed-off-by: Sven Eckelmann Reviewed-by: Jiri Pirko