linux-cp: add support for tap num queues config
[vpp.git] / src / plugins / linux-cp / lcp.h
index 3b6b4ec..e89b149 100644 (file)
@@ -28,6 +28,8 @@ typedef struct lcp_main_s
   u8 lcp_sync;       /* Automatically sync VPP changes to LCP */
   u8 del_static_on_link_down;  /* Delete static routes when link goes down */
   u8 del_dynamic_on_link_down; /* Delete dynamic routes when link goes down */
+  u16 num_rx_queues;
+  u16 num_tx_queues;
   u8 test_mode;              /* Set when Unit testing */
   u8 netlink_processing_active; /* Set while a batch of Netlink messages are
                                   being processed */
@@ -61,6 +63,12 @@ u8 lcp_get_del_dynamic_on_link_down (void);
 void lcp_set_netlink_processing_active (u8 is_processing);
 u8 lcp_get_netlink_processing_active (void);
 
+/**
+ * Get/Set the default queue number for LCP host taps.
+ */
+void lcp_set_default_num_queues (u16 num_queues, u8 is_tx);
+u16 lcp_get_default_num_queues (u8 is_tx);
+
 #endif
 
 /*