diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2022-01-21 14:11:49 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-03-11 12:45:21 +0300 |
commit | b35507a4cfb26b7fcc0c97de6367828d5902bbba (patch) | |
tree | ae26c653d042115c157b9003dab4d6627386c2aa /arch/um/drivers/vector_kern.h | |
parent | 39508aab4a66473b4ba7cce0dbe919f2fec7450a (diff) | |
download | linux-b35507a4cfb26b7fcc0c97de6367828d5902bbba.tar.xz |
um: Migrate vector drivers to NAPI
Migrate UML vector drivers from a bespoke scheduling mechanism
to NAPI.
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/vector_kern.h')
-rw-r--r-- | arch/um/drivers/vector_kern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/drivers/vector_kern.h b/arch/um/drivers/vector_kern.h index 8fff93a75a92..2a1fa8e0f3e1 100644 --- a/arch/um/drivers/vector_kern.h +++ b/arch/um/drivers/vector_kern.h @@ -14,6 +14,7 @@ #include <linux/ctype.h> #include <linux/workqueue.h> #include <linux/interrupt.h> + #include "vector_user.h" /* Queue structure specially adapted for multiple enqueue/dequeue @@ -72,6 +73,7 @@ struct vector_private { struct list_head list; spinlock_t lock; struct net_device *dev; + struct napi_struct napi ____cacheline_aligned; int unit; @@ -115,7 +117,6 @@ struct vector_private { spinlock_t stats_lock; - struct tasklet_struct tx_poll; bool rexmit_scheduled; bool opened; bool in_write_poll; |