From db949b51d848832f2f5877b66f6e330fad7e5eaf Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 16 Dec 2014 21:47:17 -0800 Subject: [PATCH] ethdev: fix mtu comment In commit 59d0ecdbf0e1d6350 ("MTU accessors"), max_frame_size was replaced with mtu. Default size is ETHER_MTU = 1500. Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon --- lib/librte_ether/rte_ethdev.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index f66805d156..ce0528f591 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -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). -- 2.20.1