On 17-04-28 09:47 AM, Jiri Pirko wrote:
[..]
I will try to figure out how to extend GOTO_CHAIN action for other
actions.
So basically, you suggest to encode chain number into the action opcode,
like you do it in jump, right? For example:
#define TC_ACT_GOTO_CHAIN 0x20000000
And then I will have chainlimit 0x10000000-1
If you pick a range to own (one that is not being used)
like 0x20000000 then chain limit starts at 0x20000001
to some upper bound. I dont know if you need all the range,
but if you put upper bound to 0x2FFFFFFF that is a few
million.
cheers,
jamal