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 13edf19ce9fb..3ecef57c31e3 100644
--- a/include/linux/if_tap.h
+++ b/include/linux/if_tap.h
@@ -23,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;