Commit 61d8c33
Paolo Abeni
net: geneve: Leverage core stats allocator
JIRA: https://issues.redhat.com/browse/RHEL-93467
Tested: stress test in scale lab
Upstream commit:
commit f5f07d0
Author: Breno Leitao <leitao@debian.org>
Date: Tue Mar 5 09:29:09 2024 -0800
net: geneve: Leverage core stats allocator
With commit 34d21de ("net: Move {l,t,d}stats allocation to core and
convert veth & vrf"), stats allocation could be done on net core
instead of in this driver.
With this new approach, the driver doesn't have to bother with error
handling (allocation failure checking, making sure free happens in the
right spot, etc). This is core responsibility now.
Remove the allocation in the geneve driver and leverage the network
core allocation instead.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240305172911.502058-1-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent eff31cc commit 61d8c33
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 331 | | |
336 | | - | |
337 | | - | |
| 332 | + | |
338 | 333 | | |
339 | | - | |
340 | 334 | | |
341 | 335 | | |
342 | 336 | | |
343 | | - | |
344 | 337 | | |
345 | 338 | | |
346 | 339 | | |
| |||
354 | 347 | | |
355 | 348 | | |
356 | 349 | | |
357 | | - | |
358 | 350 | | |
359 | 351 | | |
360 | 352 | | |
| |||
1190 | 1182 | | |
1191 | 1183 | | |
1192 | 1184 | | |
| 1185 | + | |
1193 | 1186 | | |
1194 | 1187 | | |
1195 | 1188 | | |
| |||
0 commit comments