From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753683AbdLUMYk (ORCPT ); Thu, 21 Dec 2017 07:24:40 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:46834 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753108AbdLUMYi (ORCPT ); Thu, 21 Dec 2017 07:24:38 -0500 X-Google-Smtp-Source: ACJfBotBs75XdKp4d2x8rTCi9tZZQAd0wBY+PLoHDnEZFLcacHnv4xEocGEWG9S5A0WzmJ5KD+KNxQ== Date: Thu, 21 Dec 2017 13:24:36 +0100 From: Jiri Pirko 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 Subject: Re: [PATCH v4 5/5] flow_dissector: Parse batman-adv unicast headers 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> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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