[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160226.124044.1659531163671654774.davem@davemloft.net>
Date: Fri, 26 Feb 2016 12:40:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: pablo@...filter.org
Cc: john.fastabend@...il.com, netdev@...r.kernel.org, jiri@...nulli.us,
horms@...ge.net.au
Subject: Re: [PATCH RFC 0/3] intermediate representation for jit and
cls_u32 conversion
From: Pablo Neira Ayuso <pablo@...filter.org>
Date: Fri, 26 Feb 2016 17:19:48 +0100
> I see no reason to have as many hooks as frontends to start with. If
> you find limitations with the IR that are unfixable for any of the
> existing frontends in the future, then we can add direct hook as final
> solution.
I see no problem with adding many hooks, one for each class of things
we'd like to offload. Stuff neading IR vs. stuff that does not.
And IR is "unfixable" for the latter case in that it will always be by
definition pure overhead if the cards can do this stuff directly, and
they can.
I do not encourage anything, in any way whatsoever, to try and genericize
all of this stuff into a generic framework. That is wasted work in my
opinion.
You find an IR useful for nftables offloads, great! But I do not see it
being useful nor desirable for u32, flower, et al.
Thanks.
Powered by blists - more mailing lists