diff options
author | 2025-03-07 01:12:09 +0000 | |
---|---|---|
committer | 2025-03-10 13:09:21 -0700 | |
commit | 2af5adf962d4611a576061501faa8fb39590407e (patch) | |
tree | 60a012680550529bc87e39ec2c0c2739257395cf /scripts/generate_rust_analyzer.py | |
parent | net: move misc netdev_lock flavors to a separate header (diff) | |
download | linux-rng-2af5adf962d4611a576061501faa8fb39590407e.tar.xz linux-rng-2af5adf962d4611a576061501faa8fb39590407e.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions