]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/skeleton.rst
net: add rte prefix to ether defines
[dpdk.git] / doc / guides / sample_app_ug / skeleton.rst
index 715f5e91a5fcfd26091e5732c0ac12dea9e2b266..59ca511d33f548eace4694f519fdea770546f432 100644 (file)
@@ -160,7 +160,7 @@ The Ethernet ports are configured with default settings using the
 .. code-block:: c
 
     static const struct rte_eth_conf port_conf_default = {
-        .rxmode = { .max_rx_pkt_len = ETHER_MAX_LEN }
+        .rxmode = { .max_rx_pkt_len = RTE_ETHER_MAX_LEN }
     };
 
 For this example the ports are set up with 1 RX and 1 TX queue using the