* [dpdk-dev] [PATCH v1] examples/tep_term: remove the duplicate device state definition
@ 2019-07-16 17:04 Haiyue Wang
2019-07-18 20:50 ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Haiyue Wang @ 2019-07-16 17:04 UTC (permalink / raw)
To: dev; +Cc: Haiyue Wang, stable
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(-)
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
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH v1] examples/tep_term: remove the duplicate device state definition
2019-07-16 17:04 [dpdk-dev] [PATCH v1] examples/tep_term: remove the duplicate device state definition Haiyue Wang
@ 2019-07-18 20:50 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2019-07-18 20:50 UTC (permalink / raw)
To: Haiyue Wang; +Cc: stable, dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-18 20:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16 17:04 [dpdk-dev] [PATCH v1] examples/tep_term: remove the duplicate device state definition Haiyue Wang
2019-07-18 20:50 ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).