On 2019-05-24 9:57 a.m., Edward Cree wrote:
On 24/05/2019 14:09, Edward Cree wrote:
I'll put together an RFC patch, anyway
Argh, there's a problem: an action doesn't have a (directly) associated
block, and all the TC offload machinery nowadays is built around blocks.
Since this action might have been used in _any_ block (and afaik there's
no way, from the action, to find which) we'd have to make callbacks on
_every_ block in the system, which sounds like it'd perform even worse
than the rule-dumping approach.
Any ideas?
If you have the hardware just send the stats periodically to the kernel
and manage to map each stat to an action type/index (which i think your
cookie seemed able to do) wouldnt this solve the problem?
cheers,
jamal