diff options
| author | Joe Damato <jdamato@fastly.com> | 2024-10-04 10:54:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-08 08:14:50 -0700 |
| commit | 49717ef01ce1b6dbe4cd12bee0fc25e086c555df (patch) | |
| tree | 425763077116c129244ebc12105217d6cb2dc772 /tools/perf/scripts/python | |
| parent | Merge branch 'rtnetlink-per-netns-rtnl' (diff) | |
| download | linux-49717ef01ce1b6dbe4cd12bee0fc25e086c555df.tar.gz linux-49717ef01ce1b6dbe4cd12bee0fc25e086c555df.zip | |
idpf: Don't hard code napi_struct size
The sizeof(struct napi_struct) can change. Don't hardcode the size to
400 bytes and instead use "sizeof(struct napi_struct)".
Suggested-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Joe Damato <jdamato@fastly.com>
Acked-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://patch.msgid.link/20241004105407.73585-1-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
