[v1] examples/tep_term: remove the duplicate device state definition
diff mbox series

Message ID 1563296647-19887-1-git-send-email-haiyue.wang@intel.com
State Accepted, archived
Delegated to: Thomas Monjalon
Headers show
Series
  • [v1] examples/tep_term: remove the duplicate device state definition
Related show

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Haiyue Wang July 16, 2019, 5:04 p.m. UTC
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>
---
 examples/tep_termination/main.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Thomas Monjalon July 18, 2019, 8:50 p.m. UTC | #1
16/07/2019 19:04, Haiyue Wang:
> 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>

Applied, thanks

Patch
diff mbox series

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