From f9dafebc44c7b52605eed393a418f47ca3ce6990 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 26 Oct 2018 20:10:49 -0700 Subject: vmxnet3: add logging support to the control plane [VPP-1470] There are different flavors of vmxnet3 device, esxi server, vm fusion, vmware workstation, and vmware player, that we need to communicate with. Each of them also has different versions. We really need the control plane logging to debug when things don't work as expected. Change-Id: I53c23cf10958bfbc06abb1c252d368003563cd04 Signed-off-by: Steven --- src/plugins/vmxnet3/output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/vmxnet3/output.c') diff --git a/src/plugins/vmxnet3/output.c b/src/plugins/vmxnet3/output.c index ce810f049e2..c80ad0706cc 100644 --- a/src/plugins/vmxnet3/output.c +++ b/src/plugins/vmxnet3/output.c @@ -195,7 +195,8 @@ VNET_DEVICE_CLASS_TX_FN (vmxnet3_device_class) (vlib_main_t * vm, * Device can start reading the packet */ txq->tx_desc[first_idx].flags[0] ^= VMXNET3_TXF_GEN; - vmxnet3_reg_write (vd, 0, VMXNET3_REG_TXPROD, txq->tx_ring.produce); + vmxnet3_reg_write_inline (vd, 0, VMXNET3_REG_TXPROD, + txq->tx_ring.produce); buffers++; n_left--; -- cgit 1.2.3-korg