From: Pablo Neira Ayuso <pa...@netfilter.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.