summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/cpufreq
diff options
context:
space:
mode:
authorDavid Wei <dw@davidwei.uk>2024-05-07 19:32:27 +0300
committerJakub Kicinski <kuba@kernel.org>2024-05-09 04:59:47 +0300
commit3762ec05a9fbda16aaaa2568df679ab8ad13f38d (patch)
treea5e940eedab117a3a8e6b4ba45832e3ff0a756c8 /tools/testing/selftests/cpufreq
parent1d0dc857b5d8711ff0f037bea9a0c13049c1763c (diff)
downloadlinux-3762ec05a9fbda16aaaa2568df679ab8ad13f38d.tar.xz
netdevsim: add NAPI support
Add NAPI support to netdevim, similar to veth. * Add a nsim_rq rx queue structure to hold a NAPI instance and a skb queue. * During xmit, store the skb in the peer skb queue and schedule NAPI. * During napi_poll(), drain the skb queue and pass up the stack. * Add assoc between rxq and NAPI instance using netif_queue_set_napi(). Signed-off-by: David Wei <dw@davidwei.uk> Link: https://lore.kernel.org/r/20240507163228.2066817-2-dw@davidwei.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/cpufreq')
0 files changed, 0 insertions, 0 deletions