Commit 473089c
xdp: fix draining at exit when zerocopy is enabled (#7284)
Starting from 219f805 we always add
some umem frames to the fill ring to avoid driver bugs. Since we don't
actually use the RX path, those frames are never filled and returned to
the umem, therefore shouldn't wait for them when we drain on exit.
(cherry picked from commit 77450a5)
Co-authored-by: Alessandro Decina <[email protected]>
1 parent 0190e31 commit 473089c
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
274 | | - | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
278 | | - | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| |||
0 commit comments