Re: [patch net-next] net: sched: add helpers to handle extended actions

2017-05-02 Thread Jamal Hadi Salim
On 17-05-02 01:51 AM, Jiri Pirko wrote: Sun, Apr 30, 2017 at 04:08:15PM CEST, j...@mojatatu.com wrote: Jiri, With "goto chain X" this will have to be more generalized. Maybe we have 0xAXXX Where "A" recognizes the extension with current values ACT_JUMP(0x1) and GOTO_CHAIN(maybe 0x2) and the

Re: [patch net-next] net: sched: add helpers to handle extended actions

2017-05-01 Thread Jiri Pirko
Sun, Apr 30, 2017 at 04:08:15PM CEST, j...@mojatatu.com wrote: >Jiri, > >With "goto chain X" this will have to be more generalized. Maybe >we have 0xAXXX Where "A" recognizes the extension with >current values ACT_JUMP(0x1) and GOTO_CHAIN(maybe 0x2) >and the rest "XXX" is a free floating pa

Re: [patch net-next] net: sched: add helpers to handle extended actions

2017-04-30 Thread Jamal Hadi Salim
Jiri, With "goto chain X" this will have to be more generalized. Maybe we have 0xAXXX Where "A" recognizes the extension with current values ACT_JUMP(0x1) and GOTO_CHAIN(maybe 0x2) and the rest "XXX" is a free floating parameter values which carry the goto count for ACT_JUMP and GOTO_CHAI

[patch net-next] net: sched: add helpers to handle extended actions

2017-04-28 Thread Jiri Pirko
From: Jiri Pirko Jump is now the only one using value action opcode. This is going to change soon. So introduce helpers to work with this. Convert TC_ACT_JUMP. Signed-off-by: Jiri Pirko --- include/uapi/linux/pkt_cls.h | 15 ++- net/sched/act_api.c | 2 +- 2 files changed