dev: interrupt mode support

Type: improvement
Change-Id: I4a0578598182339bcf76e6b01da76b590a06f773
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vnet/dev/format.c b/src/vnet/dev/format.c
index b8b7dbd..2c95e3a 100644
--- a/src/vnet/dev/format.c
+++ b/src/vnet/dev/format.c
@@ -146,9 +146,10 @@
 
   s = format (s, "Size is %u, buffer pool index is %u", rxq->size,
 	      vnet_dev_get_rx_queue_buffer_pool_index (rxq));
-  s = format (s, "\n%UPolling thread is %u, %sabled, %sstarted",
+  s = format (s, "\n%UPolling thread is %u, %sabled, %sstarted, %s mode",
 	      format_white_space, indent, rxq->rx_thread_index,
-	      rxq->enabled ? "en" : "dis", rxq->started ? "" : "not-");
+	      rxq->enabled ? "en" : "dis", rxq->started ? "" : "not-",
+	      rxq->interrupt_mode ? "interrupt" : "polling");
 
   return s;
 }