summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHaiyue Wang <haiyue.wang@intel.com>2019-07-17 01:04:07 +0800
committerThomas Monjalon <thomas@monjalon.net>2019-07-18 23:10:19 +0200
commitfaa4ee75364dcb5343790d5fcf850cebdf7353f6 (patch)
tree2a8b9764ac923d58e3f64b3bb925c8c872ca0f6a /examples
parent826038fcfc7b82866673f10e22cc89860ca4cba3 (diff)
downloaddpdk-faa4ee75364dcb5343790d5fcf850cebdf7353f6.zip
dpdk-faa4ee75364dcb5343790d5fcf850cebdf7353f6.tar.gz
dpdk-faa4ee75364dcb5343790d5fcf850cebdf7353f6.tar.xz
examples/tep_term: remove duplicate definitions
The state of virtio device has been defined in both header file and source file, keep the definition in header file for public use. Fixes: a50245ede72a ("examples/tep_term: initialize VXLAN sample") Cc: stable@dpdk.org Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/tep_termination/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c
index 9d8ab17..ab956ad 100644
--- a/examples/tep_termination/main.c
+++ b/examples/tep_termination/main.c
@@ -52,11 +52,6 @@
#define JUMBO_FRAME_MAX_SIZE 0x2600
-/* State of virtio device. */
-#define DEVICE_MAC_LEARNING 0
-#define DEVICE_RX 1
-#define DEVICE_SAFE_REMOVE 2
-
/* Config_core_flag status definitions. */
#define REQUEST_DEV_REMOVAL 1
#define ACK_DEV_REMOVAL 0