[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e5be50b2-4462-16b3-d82d-cee7aeee1eff@mellanox.com>
Date: Wed, 25 Oct 2017 16:48:18 +0300
From: Or Gerlitz <ogerlitz@...lanox.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: Alexander Duyck <alexander.duyck@...il.com>,
David Miller <davem@...emloft.net>,
Netdev <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>, mlxsw@...lanox.com,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
Florian Fainelli <f.fainelli@...il.com>,
Michael Chan <michael.chan@...adcom.com>,
Ganesh Goudar <ganeshgr@...lsio.com>,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
Saeed Mahameed <saeedm@...lanox.com>,
Matan Barak <matanb@...lanox.com>,
Leon Romanovsky <leonro@...lanox.com>, idosch@...lanox.com,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Simon Horman <simon.horman@...ronome.com>,
pieter.jansenvanvuuren@...ronome.com, john.hurley@...ronome.com,
"Duyck, Alexander H" <alexander.h.duyck@...el.com>,
Amritha Nambiar <amritha.nambiar@...el.com>
Subject: Re: [patch net-next v2 00/20] net: sched: convert cls ndo_setup_tc
offload calls to per-block callbacks
On 10/25/2017 4:42 PM, Jiri Pirko wrote:
> Yes, that is intentional. The thing is, there might be multiple block
> callbacks registered and to be called. If there is a fail with one, we
> need to cleanup all. So in your case you have 1 cb registered, that
> means that in case of an error during insertion, you will get cb called
> to remove. Driver has to take care of that. I was checking that and was
> under impression that mlx5 deals with that.
I see, yeah, in mlx5 we identify that the flow doesn't exist in our
tables, I sent a patch that deals with that and also another issue, lets
discuss it there.
Powered by blists - more mailing lists