summaryrefslogtreecommitdiff
path: root/include/linux/if_tap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/if_tap.h')
-rw-r--r--include/linux/if_tap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/if_tap.h b/include/linux/if_tap.h
index 4837157da0dc..d1b5173ad8f0 100644
--- a/include/linux/if_tap.h
+++ b/include/linux/if_tap.h
@@ -22,6 +22,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;