[dpdk-dev] ethdev: fix out of date comment

Stephen Hemminger stephen at networkplumber.org
Wed Dec 17 06:47:17 CET 2014


max_frame_size was replaced with mtu by earlier commit

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

--- a/lib/librte_ether/rte_ethdev.h	2014-12-08 09:24:51.725600463 -0800
+++ b/lib/librte_ether/rte_ethdev.h	2014-12-16 20:41:41.445416856 -0800
@@ -1669,8 +1669,7 @@ struct eth_driver;
  *
  *   - *dev_private*: Holds a pointer to the device private data structure.
  *
- *   - *max_frame_size*: Contains the default Ethernet maximum frame length
- *     (1518).
+ *   - *mtu*: Contains the default Ethernet maximum frame length (1500).
  *
  *   - *port_id*: Contains the port index of the device (actually the index
  *     of the *eth_dev* structure in the *rte_eth_devices* array).


More information about the dev mailing list