[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190805083618.GC2349@nanopsycho.orion>
Date: Mon, 5 Aug 2019 10:36:18 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: netfilter-devel@...r.kernel.org, davem@...emloft.net,
netdev@...r.kernel.org, jakub.kicinski@...ronome.com,
marcelo.leitner@...il.com, saeedm@...lanox.com, wenxu@...oud.cn,
gerlitz.or@...il.com, paulb@...lanox.com
Subject: Re: [PATCH net-next 1/3,v2] net: sched: use major priority number as
hardware priority
Fri, Aug 02, 2019 at 03:28:44PM CEST, pablo@...filter.org wrote:
>tc transparently maps the software priority number to hardware. Update
>it to pass the major priority which is what most drivers expect. Update
>drivers too so they do not need to lshift the priority field of the
>flow_cls_common_offload object. The stmmac driver is an exception, since
>this code assumes the tc software priority is fine, therefore, lshift it
>just to be conservative.
>
>Signed-off-by: Pablo Neira Ayuso <pablo@...filter.org>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists