diff options
Diffstat (limited to 'include/linux/if_tap.h')
-rw-r--r-- | include/linux/if_tap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/if_tap.h b/include/linux/if_tap.h index 9ae41cdd0d4c..3ecef57c31e3 100644 --- a/include/linux/if_tap.h +++ b/include/linux/if_tap.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IF_TAP_H_ #define _LINUX_IF_TAP_H_ @@ -22,6 +23,10 @@ static inline struct skb_array *tap_get_skb_array(struct file *f) #include <net/sock.h> #include <linux/skb_array.h> +/* + * Maximum times a tap device can be opened. This can be used to + * configure the number of receive queue, e.g. for multiqueue virtio. + */ #define MAX_TAP_QUEUES 256 struct tap_queue; |