From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: Why do we prefer skb->priority to tc filters? Date: Thu, 12 Mar 2015 10:25:56 -0700 Message-ID: References: <1426098340.11398.59.camel@edumazet-glaptop2.roam.corp.google.com> <1426104582.11398.61.camel@edumazet-glaptop2.roam.corp.google.com> <1426110450.11398.84.camel@edumazet-glaptop2.roam.corp.google.com> <1426118427.11398.114.camel@edumazet-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: netdev , Jamal Hadi Salim , David Miller To: Eric Dumazet Return-path: Received: from mail-ie0-f171.google.com ([209.85.223.171]:34816 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753038AbbCLRZ5 (ORCPT ); Thu, 12 Mar 2015 13:25:57 -0400 Received: by ieclw3 with SMTP id lw3so50830827iec.2 for ; Thu, 12 Mar 2015 10:25:57 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Mar 12, 2015 at 9:59 AM, Cong Wang wrote: > On Wed, Mar 11, 2015 at 5:00 PM, Eric Dumazet wrote: >> >> If you use mavclan or ipvlan, not all paths will use __dev_forward_skb() >> > > That is intentional, because I am not sure about stacked device > like macvlan or tunnel, it might make some sense to keep that value. > >> So I am guessing you use veth maybe. Who knows. >> > > > Exactly, otherwise I would probably just change skb_scrub_packet(). ;) Ok, in some mode macvlan forwards the packets to Rx path too, interesting...