diff options
author | Steven <sluong@cisco.com> | 2018-10-02 14:36:13 -0700 |
---|---|---|
committer | steven luong <sluong@cisco.com> | 2018-10-03 14:33:30 +0000 |
commit | 3c6015b03480938bc8dc66405096fecf47ed6c0c (patch) | |
tree | cb50c950b0410cd49fb0b6b918012e579f17b66b /src/plugins/vmxnet3/cli.c | |
parent | e4db80344a8448930a71f5b1200757e7c6c9072b (diff) |
vmxnet3: error handling
outbound -- if we have to drop the packet due to no descriptor space is available, drop the
whole packet, not fragments.
inbound -- check and drop error packets
Change-Id: Ida1d32e61521bafd67f714d729ad53cd7c487dc6
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/plugins/vmxnet3/cli.c')
-rw-r--r-- | src/plugins/vmxnet3/cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/vmxnet3/cli.c b/src/plugins/vmxnet3/cli.c index 1e4ac4a76f5..40d379bb21a 100644 --- a/src/plugins/vmxnet3/cli.c +++ b/src/plugins/vmxnet3/cli.c @@ -226,6 +226,8 @@ show_vmxnet3 (vlib_main_t * vm, u32 * hw_if_indices, u8 show_descr) vlib_cli_output (vm, " Queue %u (RX)", qid); vlib_cli_output (vm, " RX completion next index %u", rxq->rx_comp_ring.next); + vlib_cli_output (vm, " RX completion generation flag 0x%x", + rxq->rx_comp_ring.gen); for (rid = 0; rid < VMXNET3_RX_RING_SIZE; rid++) { vmxnet3_rx_ring *ring = &rxq->rx_ring[rid]; @@ -266,6 +268,8 @@ show_vmxnet3 (vlib_main_t * vm, u32 * hw_if_indices, u8 show_descr) vlib_cli_output (vm, " Queue %u (TX)", qid); vlib_cli_output (vm, " TX completion next index %u", txq->tx_comp_ring.next); + vlib_cli_output (vm, " TX completion generation flag 0x%x", + txq->tx_comp_ring.gen); vlib_cli_output (vm, " size %u consume %u produce %u", txq->size, txq->tx_ring.consume, txq->tx_ring.produce); |