[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170215.131556.2072311430827899930.davem@davemloft.net>
Date:   Wed, 15 Feb 2017 13:15:56 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     ogerlitz@...lanox.com
Cc:     jakub.kicinski@...ronome.com, john.r.fastabend@...el.com,
        jhs@...atatu.com, roid@...lanox.com, jiri@...lanox.com,
        netdev@...r.kernel.org
Subject: Re: [PATCH net-next V3 5/7] net/sched: cls_matchall: Reflect HW
 offloading status
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;
Thanks.
Powered by blists - more mailing lists
 
