Thread (20 messages) flat view 20 messages, 4 authors, 2017-03-18

Re: [net-next PATCH 1/5] net: Do not record sender_cpu as napi_id in socket receive paths

From: Alexander Duyck <hidden>
Date: 2017-03-17 02:59:28
Also in: lkml

On Thu, Mar 16, 2017 at 7:57 PM, Eric Dumazet [off-list ref] wrote:
On Thu, 2017-03-16 at 19:40 -0700, Alexander Duyck wrote:
quoted
What I probably can do is go through and replace all the spots where
we where checking for sk_napi_id being 0, and instead replace it with
a check against NR_CPUS.
This seems a good idea.
Right.  This is the path I am planning to go with.  It will require
about the same amount of code change but replaces those checks.  I
just have to make sure I catch all the spots where we were checking it
for 0 but that shouldn't be too difficult of an issue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help