All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ethdev: change comments of VLAN type
@ 2016-05-26  7:28 Beilei Xing
  2016-06-03  2:52 ` Lu, Wenzhuo
  2016-06-13  8:03 ` [PATCH v2] i40e: modify the meaning of single " Beilei Xing
  0 siblings, 2 replies; 11+ messages in thread
From: Beilei Xing @ 2016-05-26  7:28 UTC (permalink / raw)
  To: jingjing.wu; +Cc: dev, Beilei Xing

If the packet carries a single VLAN header, it is treated as the
outer header.
So change the comments of inner VLAN and outer VLAN.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
 doc/guides/rel_notes/release_16_07.rst | 3 +++
 lib/librte_ether/rte_ethdev.h          | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/guides/rel_notes/release_16_07.rst b/doc/guides/rel_notes/release_16_07.rst
index 30e78d4..29db86c 100644
--- a/doc/guides/rel_notes/release_16_07.rst
+++ b/doc/guides/rel_notes/release_16_07.rst
@@ -116,6 +116,9 @@ API Changes
   ibadcrc, ibadlen, imcasts, fdirmatch, fdirmiss,
   tx_pause_xon, rx_pause_xon, tx_pause_xoff, rx_pause_xoff.
 
+* The comments of ``ETH_VLAN_TYPE_INNER`` and ``ETH_VLAN_TYPE_OUTER`` in
+  ``rte_vlan_type`` are changed.
+
 
 ABI Changes
 -----------
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 2757510..c5c29fb 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -363,8 +363,8 @@ struct rte_eth_rxmode {
  */
 enum rte_vlan_type {
 	ETH_VLAN_TYPE_UNKNOWN = 0,
-	ETH_VLAN_TYPE_INNER, /**< Single VLAN, or inner VLAN. */
-	ETH_VLAN_TYPE_OUTER, /**< Outer VLAN. */
+	ETH_VLAN_TYPE_INNER, /**< Inner VLAN. */
+	ETH_VLAN_TYPE_OUTER, /**< Single VLAN, or outer VLAN. */
 	ETH_VLAN_TYPE_MAX,
 };
 
-- 
2.5.0

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

end of thread, other threads:[~2016-06-24 12:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-26  7:28 [PATCH] ethdev: change comments of VLAN type Beilei Xing
2016-06-03  2:52 ` Lu, Wenzhuo
2016-06-03  3:13   ` Xing, Beilei
2016-06-13  8:03 ` [PATCH v2] i40e: modify the meaning of single " Beilei Xing
2016-06-14  3:33   ` Wu, Jingjing
2016-06-21 10:29   ` Bruce Richardson
2016-06-21 11:06     ` Panu Matilainen
2016-06-21 11:28       ` Bruce Richardson
2016-06-21 11:30   ` Bruce Richardson
2016-06-22  2:53   ` [PATCH v3] i40e: fix the type issue of a " Beilei Xing
2016-06-24 12:09     ` Bruce Richardson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.