From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 21 Dec 2017 13:24:36 +0100 From: Jiri Pirko 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 Content-Disposition: inline In-Reply-To: <20171221091742.8020-6-sven.eckelmann@openmesh.com> Subject: Re: [B.A.T.M.A.N.] [PATCH v4 5/5] flow_dissector: Parse batman-adv unicast headers List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sven Eckelmann 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 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