DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] ethdev: fix out of date comment
@ 2014-12-17  5:47 Stephen Hemminger
  2014-12-17 23:37 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2014-12-17  5:47 UTC (permalink / raw)
  To: dev

max_frame_size was replaced with mtu by earlier commit

Signed-off-by: Stephen Hemminger <stephen@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).

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] ethdev: fix out of date comment
  2014-12-17  5:47 [dpdk-dev] ethdev: fix out of date comment Stephen Hemminger
@ 2014-12-17 23:37 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2014-12-17 23:37 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

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
-- 
Thomas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-17 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-17  5:47 [dpdk-dev] ethdev: fix out of date comment Stephen Hemminger
2014-12-17 23:37 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).