* [dpdk-stable] [PATCH v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo
@ 2018-06-14 3:09 Haiyue Wang
2018-06-14 16:45 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Haiyue Wang @ 2018-06-14 3:09 UTC (permalink / raw)
To: dev; +Cc: Haiyue Wang, stable
It should be IPv6, not IPv4.
Cc: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
---
lib/librte_mbuf/rte_mbuf_ptype.h | 6 +++---
1 file 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)
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-stable] [PATCH v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo
2018-06-14 3:09 [dpdk-stable] [PATCH v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo Haiyue Wang
@ 2018-06-14 16:45 ` Ferruh Yigit
2018-06-15 15:06 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2018-06-14 16:45 UTC (permalink / raw)
To: Haiyue Wang, dev; +Cc: stable, Olivier MATZ
On 6/14/2018 4:09 AM, Haiyue Wang wrote:
> It should be IPv6, not IPv4.
>
> Cc: stable@dpdk.org
>
> Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
cc'ed Olivier.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-stable] [PATCH v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo
2018-06-14 16:45 ` Ferruh Yigit
@ 2018-06-15 15:06 ` Ferruh Yigit
0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2018-06-15 15:06 UTC (permalink / raw)
To: Haiyue Wang, dev; +Cc: stable, Olivier MATZ
On 6/14/2018 5:45 PM, Ferruh Yigit wrote:
> On 6/14/2018 4:09 AM, Haiyue Wang wrote:
>> It should be 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>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-15 15:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-14 3:09 [dpdk-stable] [PATCH v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo Haiyue Wang
2018-06-14 16:45 ` Ferruh Yigit
2018-06-15 15:06 ` Ferruh Yigit
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).