summaryrefslogtreecommitdiff
path: root/lib/librte_mbuf
diff options
context:
space:
mode:
authorHaiyue Wang <haiyue.wang@intel.com>2018-06-14 11:09:49 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2018-06-15 18:03:33 +0200
commitaf87183b82da32b2ca832a51acdb5a2a6117c718 (patch)
tree8618cdcbf673d4d0b8eed87f6c3705eac7930423 /lib/librte_mbuf
parentfb6eb1e69c499feb5f36193b906c910553835cc6 (diff)
downloaddpdk-af87183b82da32b2ca832a51acdb5a2a6117c718.zip
dpdk-af87183b82da32b2ca832a51acdb5a2a6117c718.tar.gz
dpdk-af87183b82da32b2ca832a51acdb5a2a6117c718.tar.xz
mbuf: fix typo in IPv6 macro comment
Comment should mention IPv6, not IPv4. Fixes: f295a00a2b44 ("mbuf: add definitions of unified packet types") Cc: stable@dpdk.org Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'lib/librte_mbuf')
-rw-r--r--lib/librte_mbuf/rte_mbuf_ptype.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librte_mbuf/rte_mbuf_ptype.h b/lib/librte_mbuf/rte_mbuf_ptype.h
index 79ea314..01acc66 100644
--- a/lib/librte_mbuf/rte_mbuf_ptype.h
+++ b/lib/librte_mbuf/rte_mbuf_ptype.h
@@ -653,9 +653,9 @@ extern "C" {
#define RTE_ETH_IS_IPV4_HDR(ptype) ((ptype) & RTE_PTYPE_L3_IPV4)
/**
- * Check if the (outer) L3 header is IPv4. To avoid comparing IPv4 types one by
- * one, bit 6 is selected to be used for IPv4 only. Then checking bit 6 can
- * determine if it is an IPV4 packet.
+ * Check if the (outer) L3 header is IPv6. To avoid comparing IPv6 types one by
+ * one, bit 6 is selected to be used for IPv6 only. Then checking bit 6 can
+ * determine if it is an IPV6 packet.
*/
#define RTE_ETH_IS_IPV6_HDR(ptype) ((ptype) & RTE_PTYPE_L3_IPV6)