]> git.droids-corp.org - dpdk.git/blobdiff - examples/eventdev_pipeline/main.c
net/mlx5: fix default minimal data inline
[dpdk.git] / examples / eventdev_pipeline / main.c
index 58f8904e04aff1424f2c72eab3d89c06daf338ed..f4e57f5412bb494fea3b40c20d39916937cf5886 100644 (file)
@@ -253,7 +253,7 @@ port_init(uint8_t port, struct rte_mempool *mbuf_pool)
        static const struct rte_eth_conf port_conf_default = {
                .rxmode = {
                        .mq_mode = ETH_MQ_RX_RSS,
-                       .max_rx_pkt_len = ETHER_MAX_LEN,
+                       .max_rx_pkt_len = RTE_ETHER_MAX_LEN,
                },
                .rx_adv_conf = {
                        .rss_conf = {
@@ -317,7 +317,7 @@ port_init(uint8_t port, struct rte_mempool *mbuf_pool)
        }
 
        /* Display the port MAC address. */
-       struct ether_addr addr;
+       struct rte_ether_addr addr;
        rte_eth_macaddr_get(port, &addr);
        printf("Port %u MAC: %02" PRIx8 " %02" PRIx8 " %02" PRIx8
                           " %02" PRIx8 " %02" PRIx8 " %02" PRIx8 "\n",