From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamal Hadi Salim Subject: Re: [PATCH v3 net-next 1/1] net_sched: Introduce skbmod action Date: Fri, 9 Sep 2016 08:33:24 -0400 Message-ID: References: <1472386756-23085-1-git-send-email-jhs@emojatatu.com> <1472400467.14381.252.camel@edumazet-glaptop3.roam.corp.google.com> <1472494817.14381.267.camel@edumazet-glaptop3.roam.corp.google.com> <2a6e36a6-f128-ba9d-4d69-90ff5383fb75@mojatatu.com> <68852282-b009-7b5b-6887-1630935b1913@mojatatu.com> <1472561089.14381.296.camel@edumazet-glaptop3.roam.corp.google.com> <1473171919.10725.3.camel@edumazet-glaptop3.roam.corp.google.com> <6a0f8bfd-97d2-1e08-7ad7-b5791cb4312c@mojatatu.com> <1473350573.15733.61.camel@edumazet-glaptop3.roam.corp.google.com> <1473351077.15733.63.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, netdev@vger.kernel.org, daniel@iogearbox.net, xiyou.wangcong@gmail.com, John Fastabend To: Eric Dumazet Return-path: Received: from mail-oi0-f67.google.com ([209.85.218.67]:33544 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752567AbcIIMd0 (ORCPT ); Fri, 9 Sep 2016 08:33:26 -0400 Received: by mail-oi0-f67.google.com with SMTP id y2so5735131oie.0 for ; Fri, 09 Sep 2016 05:33:26 -0700 (PDT) In-Reply-To: <1473351077.15733.63.camel@edumazet-glaptop3.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: On 16-09-08 12:11 PM, Eric Dumazet wrote: > On Thu, 2016-09-08 at 09:02 -0700, Eric Dumazet wrote: >> On Thu, 2016-09-08 at 06:38 -0400, Jamal Hadi Salim wrote: >>> On 16-09-06 10:25 AM, Eric Dumazet wrote: >> This simply works for me. >> >> But maybe you read the stats at the wrong place ? >> >> Pleas give us more details, thanks ! > > And double check the tcf_hash_create() call : > > Last parameter is a boolean, and you must set it to true if you want per > cpu stats ! > Dammit, yes that was it;-> Sigh. I shouldve caught it earlier. Thanks! Now i feel more peaceful submitting the patch. cheers, jamal >