Skip to contentSkip to conversation

ethdev: fix out of date comment

PATCH Stephen Hemminger 2 participants 2 messages Dec 17, 2014

lore
Share & tools
lore
#0 lore raw

max_frame_size was replaced with mtu by earlier commit

lib/librte_ether/rte_ethdev.h +1 -2
@@ -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).