From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [patch net-next v3 05/10] net: sched: move TC_H_MAJ macro call into tcf_auto_prio Date: Tue, 16 May 2017 15:38:08 -0700 Message-ID: References: <20170516172802.1317-1-jiri@resnulli.us> <20170516172802.1317-6-jiri@resnulli.us> <20170516210346.GS1939@nanopsycho.orion> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Linux Kernel Network Developers , David Miller , Jamal Hadi Salim , David Ahern , Eric Dumazet , Stephen Hemminger , Daniel Borkmann , Alexander Duyck , Simon Horman , mlxsw@mellanox.com To: Jiri Pirko Return-path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:34353 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751858AbdEPWia (ORCPT ); Tue, 16 May 2017 18:38:30 -0400 Received: by mail-wm0-f68.google.com with SMTP id d127so41043642wmf.1 for ; Tue, 16 May 2017 15:38:29 -0700 (PDT) In-Reply-To: <20170516210346.GS1939@nanopsycho.orion> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, May 16, 2017 at 2:03 PM, Jiri Pirko wrote: > Tue, May 16, 2017 at 11:01:52PM CEST, xiyou.wangcong@gmail.com wrote: >>On Tue, May 16, 2017 at 10:27 AM, Jiri Pirko wrote: >>> From: Jiri Pirko >>> >>> Call the helper from the function rather than to always adjust the >>> return value of the function. >> >>And rename the function name to reflect this change? > > ? What do you suggest? tcf_auto_major_prio()?