examples/l3fwd: use reserved addresses for EM mode
[dpdk.git] / examples / ipv4_multicast / main.c
index eda7bd5..bdcaa3b 100644 (file)
@@ -112,11 +112,10 @@ static struct rte_eth_conf port_conf = {
                .mtu = JUMBO_FRAME_MAX_SIZE - RTE_ETHER_HDR_LEN -
                        RTE_ETHER_CRC_LEN,
                .split_hdr_size = 0,
-               .offloads = DEV_RX_OFFLOAD_JUMBO_FRAME,
        },
        .txmode = {
-               .mq_mode = ETH_MQ_TX_NONE,
-               .offloads = DEV_TX_OFFLOAD_MULTI_SEGS,
+               .mq_mode = RTE_ETH_MQ_TX_NONE,
+               .offloads = RTE_ETH_TX_OFFLOAD_MULTI_SEGS,
        },
 };
 
@@ -620,7 +619,7 @@ check_all_ports_link_status(uint32_t port_mask)
                                continue;
                        }
                        /* clear all_ports_up flag if any link down */
-                       if (link.link_status == ETH_LINK_DOWN) {
+                       if (link.link_status == RTE_ETH_LINK_DOWN) {
                                all_ports_up = 0;
                                break;
                        }