aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vmxnet3/vmxnet3.h
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2018-09-21 07:55:07 -0700
committerDamjan Marion <dmarion@me.com>2018-09-21 18:17:12 +0000
commitb7020d666d300843feeac23357bedb0d06152b0e (patch)
tree85c02733a9e41aae8052c1ae15790ea50d0c2a42 /src/plugins/vmxnet3/vmxnet3.h
parent561f2730e8b137cd4e7132b05dab49f6e768ae23 (diff)
vmxnet3: Add hardware link status handling
Added an interrupt line for monitoring and notifying hardware link status Displayed additional information for show hardware for vmxnet3 interface Fixed possible garbage display on interface name for show vmxnet3 Change-Id: If457bfe7c216287fb3a4e2630f00434d595f387b Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/plugins/vmxnet3/vmxnet3.h')
-rw-r--r--src/plugins/vmxnet3/vmxnet3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/vmxnet3/vmxnet3.h b/src/plugins/vmxnet3/vmxnet3.h
index 666dec77b38..f3868a88ae3 100644
--- a/src/plugins/vmxnet3/vmxnet3.h
+++ b/src/plugins/vmxnet3/vmxnet3.h
@@ -18,6 +18,7 @@
#define foreach_vmxnet3_tx_func_error \
_(ERROR_PACKETS, "error packets") \
+ _(LINK_DOWN, "link down") \
_(NO_FREE_SLOTS, "no free tx slots")
typedef enum
@@ -472,6 +473,7 @@ typedef struct
vmxnet3_dma *dma;
+ u32 link_speed;
} vmxnet3_device_t;
typedef struct