[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220222100929.gj2my4maclyrwz35@skbuf>
Date: Tue, 22 Feb 2022 10:09:30 +0000
From: Vladimir Oltean <vladimir.oltean@....com>
To: Jianbo Liu <jianbol@...dia.com>
CC: "olteanv@...il.com" <olteanv@...il.com>,
"andrew@...n.ch" <andrew@...n.ch>,
Claudiu Manoil <claudiu.manoil@....com>,
"vivien.didelot@...il.com" <vivien.didelot@...il.com>,
Petr Machata <petrm@...dia.com>,
"jhs@...atatu.com" <jhs@...atatu.com>,
"oss-drivers@...igine.com" <oss-drivers@...igine.com>,
"hkelam@...vell.com" <hkelam@...vell.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"leon@...nel.org" <leon@...nel.org>,
"peng.zhang@...igine.com" <peng.zhang@...igine.com>,
"louis.peens@...ronome.com" <louis.peens@...ronome.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alexandre.belloni@...tlin.com" <alexandre.belloni@...tlin.com>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"UNGLinuxDriver@...rochip.com" <UNGLinuxDriver@...rochip.com>,
"rajur@...lsio.com" <rajur@...lsio.com>,
Ido Schimmel <idosch@...dia.com>,
"simon.horman@...igine.com" <simon.horman@...igine.com>,
"sbhatta@...vell.com" <sbhatta@...vell.com>,
"xiyou.wangcong@...il.com" <xiyou.wangcong@...il.com>,
Roi Dayan <roid@...dia.com>,
"kuba@...nel.org" <kuba@...nel.org>,
"baowen.zheng@...igine.com" <baowen.zheng@...igine.com>,
"jiri@...nulli.us" <jiri@...nulli.us>,
Saeed Mahameed <saeedm@...dia.com>,
"sgoutham@...vell.com" <sgoutham@...vell.com>,
"gakula@...vell.com" <gakula@...vell.com>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v2 2/2] flow_offload: reject offload for all
drivers with invalid police parameters
Hi Jianbo,
On Tue, Feb 22, 2022 at 01:58:23AM +0000, Jianbo Liu wrote:
> Hi Vladimir,
>
> I'd love to hear your suggestion regarding where this validate function
> to be placed for drivers/net/ethernet/mscc, as it will be used by both
> ocelot_net.c and ocelot_flower.c.
>
> Thanks!
> Jianbo
Try the attached patch on top of yours.
View attachment "0001-ocelot-policer-validate.patch" of type "text/x-diff" (7837 bytes)
Powered by blists - more mailing lists