diff options
author | Damjan Marion <damarion@cisco.com> | 2023-11-03 13:47:05 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-11-08 13:28:19 +0000 |
commit | b8dd9815ef01b804f6a9b4aa47e486b8823a0c50 (patch) | |
tree | 1281dff1f5f1c4f0cae98fd8ddd3493e9e44c799 /src/vnet/dev/format.c | |
parent | 29d07dbef986dd5ebe180b6bfcac9089946e95df (diff) |
dev: interrupt mode support
Type: improvement
Change-Id: I4a0578598182339bcf76e6b01da76b590a06f773
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/dev/format.c')
-rw-r--r-- | src/vnet/dev/format.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/dev/format.c b/src/vnet/dev/format.c index b8b7dbdcb10..2c95e3adf25 100644 --- a/src/vnet/dev/format.c +++ b/src/vnet/dev/format.c @@ -146,9 +146,10 @@ format_vnet_dev_rx_queue_info (u8 *s, va_list *args) 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; } |