Repository navigation
Commit 7db6b04
net: Commonize busy polling code to focus on napi_id instead of socket
Move the core functionality in sk_busy_loop() to napi_busy_loop() and
make it independent of sk.
This enables re-using this function in epoll busy loop implementation.
Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 3705671 commit 7db6b04
3 files changed
Lines changed: 34 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
114 | 124 | | |
115 | 125 | | |
116 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5060 | 5060 | | |
5061 | 5061 | | |
5062 | 5062 | | |
5063 | | - | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
5064 | 5066 | | |
5065 | | - | |
| 5067 | + | |
5066 | 5068 | | |
5067 | 5069 | | |
5068 | 5070 | | |
5069 | | - | |
5070 | 5071 | | |
5071 | 5072 | | |
5072 | | - | |
5073 | | - | |
5074 | | - | |
5075 | | - | |
5076 | 5073 | | |
5077 | 5074 | | |
5078 | 5075 | | |
| |||
5106 | 5103 | | |
5107 | 5104 | | |
5108 | 5105 | | |
5109 | | - | |
| 5106 | + | |
5110 | 5107 | | |
5111 | 5108 | | |
5112 | 5109 | | |
5113 | | - | |
5114 | | - | |
| 5110 | + | |
5115 | 5111 | | |
5116 | 5112 | | |
5117 | 5113 | | |
| |||
5120 | 5116 | | |
5121 | 5117 | | |
5122 | 5118 | | |
5123 | | - | |
5124 | | - | |
| 5119 | + | |
5125 | 5120 | | |
5126 | 5121 | | |
5127 | 5122 | | |
| |||
5133 | 5128 | | |
5134 | 5129 | | |
5135 | 5130 | | |
5136 | | - | |
| 5131 | + | |
5137 | 5132 | | |
5138 | 5133 | | |
5139 | 5134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3237 | 3237 | | |
3238 | 3238 | | |
3239 | 3239 | | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
| 3249 | + | |
| 3250 | + | |
0 commit comments