X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Ftep_termination%2Fmain.c;h=ab956ad7ce963d5da8eacf2ce294be2ec01c27ad;hb=a6a752402dfce8695c258a27da97d5a6d187c49b;hp=e0fe7bd2ffa0d7d7fa6305f8a39accc7e06fdeeb;hpb=f9acaf84e923066344bd3467e4703da66f1f23a8;p=dpdk.git diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c index e0fe7bd2ff..ab956ad7ce 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 @@ -157,7 +152,7 @@ uint16_t ports[RTE_MAX_ETHPORTS]; static unsigned nb_ports; /**< The number of ports specified in command line */ /* ethernet addresses of ports */ -struct ether_addr ports_eth_addr[RTE_MAX_ETHPORTS]; +struct rte_ether_addr ports_eth_addr[RTE_MAX_ETHPORTS]; /* heads for the main used and free linked lists for the data path. */ static struct virtio_net_data_ll *ll_root_used;