[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ3xEMi7EeEA=y-fGCOGCpk52kes+d=522zapH0pv2usTZMKXg@mail.gmail.com>
Date: Wed, 15 Feb 2017 23:40:02 +0200
From: Or Gerlitz <gerlitz.or@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Or Gerlitz <ogerlitz@...lanox.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
John Fastabend <john.r.fastabend@...el.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Roi Dayan <roid@...lanox.com>, Jiri Pirko <jiri@...lanox.com>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next V3 5/7] net/sched: cls_matchall: Reflect HW
offloading status
On Wed, Feb 15, 2017 at 8:15 PM, David Miller <davem@...emloft.net> wrote:
> From: Or Gerlitz <ogerlitz@...lanox.com>
> Date: Wed, 15 Feb 2017 10:52:35 +0200
>
>> @@ -194,6 +199,9 @@ static int mall_change(struct net *net, struct sk_buff *in_skb,
>> }
>> }
>>
>> + if (!(tc_in_hw(new->flags)))
>> + new->flags |= TCA_CLS_FLAGS_NOT_IN_HW;
>
> Too many parenthesis, please make this:
>
> if (!tc_in_hw(new->flags))
> new->flags |= TCA_CLS_FLAGS_NOT_IN_HW;
OKay, Dave, I will fix that along with the other places
Powered by blists - more mailing lists