diff mbox

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

Message ID 20141216214717.439a657f@urahara (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Stephen Hemminger Dec. 17, 2014, 5:47 a.m. UTC
max_frame_size was replaced with mtu by earlier commit

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

Comments

Thomas Monjalon Dec. 17, 2014, 11:37 p.m. UTC | #1
2014-12-16 21:47, Stephen Hemminger:
> max_frame_size was replaced with mtu by earlier commit
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>

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
diff mbox

Patch

--- 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).