[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK+XE==5JZh9Y1KiT0TE=or+ddu4Tf5mCoEzh=Egw1F_sgNSqQ@mail.gmail.com>
Date: Mon, 17 Jun 2019 23:11:45 +0100
From: John Hurley <john.hurley@...ronome.com>
To: Edward Cree <ecree@...arflare.com>
Cc: Linux Netdev List <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Florian Westphal <fw@...len.de>,
Jamal Hadi Salim <jhs@...atatu.com>,
Simon Horman <simon.horman@...ronome.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
oss-drivers@...ronome.com
Subject: Re: [RFC net-next 1/2] net: sched: refactor reinsert action
On Mon, Jun 17, 2019 at 7:44 PM Edward Cree <ecree@...arflare.com> wrote:
>
> On 14/06/2019 15:33, John Hurley wrote:
> > Instead of
> > returning TC_ACT_REINSERT, change the type to the new TC_ACT_CONSUMED
> > which tells the caller that the packet has been stolen by another process
> > and that no consume call is required.
> Possibly a dumb question, but why does this need a new CONSUMED rather
> than, say, taking an additional ref and returning TC_ACT_STOLEN?
>
> Apart from that, the series lgtm.
>
Thanks for comments, Ed.
The CONSUMED was to replace the REINSERT function but yes, this is
probably not required now.
I can respin
> -Ed
Powered by blists - more mailing lists