ethdev: fix out of date comment
max_frame_size was replaced with mtu by earlier commit
Signed-off-by Stephen Hemminger <[email protected]>
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).
Thomas Monjalon
Acked-by2014-12-16 21:47, Stephen Hemminger:
Quoted 3 lines
max_frame_sizewas replaced with mtu by earlier commitSigned-off-by Stephen Hemminger <[email protected]>
Acked-by Thomas Monjalon <[email protected]>
Applied with this log:
ethdev: fix mtu comment
In commit 59d0ecdbf0e1d6350 ("MTU accessors"), max_frame_size was replaced with mtu. Default size is ETHER_MTU = 1500.
Thanks
Signature · 1 line
Thomas