diff options
author | Joe Damato <jdamato@fastly.com> | 2025-03-07 04:12:09 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-10 23:09:21 +0300 |
commit | 2af5adf962d4611a576061501faa8fb39590407e (patch) | |
tree | 60a012680550529bc87e39ec2c0c2739257395cf /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8ef890df4031121a94407c84659125cbccd3fdbe (diff) | |
download | linux-2af5adf962d4611a576061501faa8fb39590407e.tar.xz |
virtio-net: Refactor napi_enable paths
Refactor virtnet_napi_enable and virtnet_napi_tx_enable to take a struct
receive_queue. Create a helper, virtnet_napi_do_enable, which contains
the logic to enable a NAPI.
Signed-off-by: Joe Damato <jdamato@fastly.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Link: https://patch.msgid.link/20250307011215.266806-2-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions