diff options
author | Joe Damato <[email protected]> | 2024-10-11 18:45:00 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-14 17:54:29 -0700 |
commit | 86e25f40aa1e9e54e081e55016f65b5c92523989 (patch) | |
tree | e76dd60c123719a218a65037f1c001a65c0e84be /tools/perf/scripts/python/stackcollapse.py | |
parent | 0137891e74576f77a7901718dc0ce08ca074ae74 (diff) |
net: napi: Add napi_config
Add a persistent NAPI config area for NAPI configuration to the core.
Drivers opt-in to setting the persistent config for a NAPI by passing an
index when calling netif_napi_add_config.
napi_config is allocated in alloc_netdev_mqs, freed in free_netdev
(after the NAPIs are deleted).
Drivers which call netif_napi_add_config will have persistent per-NAPI
settings: NAPI IDs, gro_flush_timeout, and defer_hard_irq settings.
Per-NAPI settings are saved in napi_disable and restored in napi_enable.
Co-developed-by: Martin Karsten <[email protected]>
Signed-off-by: Martin Karsten <[email protected]>
Signed-off-by: Joe Damato <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions