Re: [PATCH net v2] rps: Correct wrong skb_flow_limit check when enable RPS

2018-05-11 Thread Willem de Bruijn
On Thu, May 10, 2018 at 6:09 PM, wrote: > From: Gao Feng > > The skb flow limit is implemented for each CPU independently. In the > current codes, the function skb_flow_limit gets the softnet_data by > this_cpu_ptr. But the target cpu of enqueue_to_backlog would be not > the current cpu when ena

[PATCH net v2] rps: Correct wrong skb_flow_limit check when enable RPS

2018-05-10 Thread gfree . wind
From: Gao Feng The skb flow limit is implemented for each CPU independently. In the current codes, the function skb_flow_limit gets the softnet_data by this_cpu_ptr. But the target cpu of enqueue_to_backlog would be not the current cpu when enable RPS. As the result, the skb_flow_limit checks the