Re: [PATCH net-next 4/6] net_sched: act: use a separate packet counters for gact_determ()

2015-07-03 Thread Jamal Hadi Salim
On 07/02/15 09:07, Eric Dumazet wrote: Second step for gact RCU operation : We want to get rid of the spinlock protecting gact operations. Stats (packets/bytes) will soon be per cpu. gact_determ() would not work without a central packet counter, so lets add it for this mode. Signed-off-by:

[PATCH net-next 4/6] net_sched: act: use a separate packet counters for gact_determ()

2015-07-02 Thread Eric Dumazet
Second step for gact RCU operation : We want to get rid of the spinlock protecting gact operations. Stats (packets/bytes) will soon be per cpu. gact_determ() would not work without a central packet counter, so lets add it for this mode. Signed-off-by: Eric Dumazet eduma...@google.com Cc: Alexei

Re: [PATCH net-next 4/6] net_sched: act: use a separate packet counters for gact_determ()

2015-07-02 Thread John Fastabend
On 15-07-02 06:07 AM, Eric Dumazet wrote: Second step for gact RCU operation : We want to get rid of the spinlock protecting gact operations. Stats (packets/bytes) will soon be per cpu. gact_determ() would not work without a central packet counter, so lets add it for this mode.