Re: [PATCH v3 05/11] net: sched: implement action API that deletes action by index

2018-05-28 Thread Marcelo Ricardo Leitner
On Mon, May 28, 2018 at 12:17:23AM +0300, Vlad Buslov wrote: > Implement new action API function that atomically finds and deletes action > from idr by index. Intended to be used by lockless actions that do not rely > on rtnl lock. > > Signed-off-by: Vlad Buslov Reviewed-by: Marcelo Ricardo Leit

Re: [PATCH v3 05/11] net: sched: implement action API that deletes action by index

2018-05-28 Thread Jiri Pirko
Sun, May 27, 2018 at 11:17:23PM CEST, vla...@mellanox.com wrote: >Implement new action API function that atomically finds and deletes action >from idr by index. Intended to be used by lockless actions that do not rely >on rtnl lock. > >Signed-off-by: Vlad Buslov Signed-off-by: Jiri Pirko

[PATCH v3 05/11] net: sched: implement action API that deletes action by index

2018-05-27 Thread Vlad Buslov
Implement new action API function that atomically finds and deletes action from idr by index. Intended to be used by lockless actions that do not rely on rtnl lock. Signed-off-by: Vlad Buslov --- Changes from V1 to V2: - Rename tcf_idr_find_delete to tcf_idr_delete_index. include/net/act_api.h