DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net: fix definition of ipv6 traffic class mask
@ 2019-07-01 13:25 Morten Brørup
  2019-07-01 13:38 ` Morten Brørup
  0 siblings, 1 reply; 5+ messages in thread
From: Morten Brørup @ 2019-07-01 13:25 UTC (permalink / raw)
  To: olivier.matz, shahafs, yskoh; +Cc: dev, Morten Brørup

Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
---
 lib/librte_net/rte_ip.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/librte_net/rte_ip.h b/lib/librte_net/rte_ip.h
index ae3b7e7..059ec80 100644
--- a/lib/librte_net/rte_ip.h
+++ b/lib/librte_net/rte_ip.h
@@ -355,7 +355,7 @@ struct rte_ipv6_hdr {
 #define RTE_IPV6_HDR_FL_SHIFT 0
 #define RTE_IPV6_HDR_TC_SHIFT 20
 #define RTE_IPV6_HDR_FL_MASK ((1u << RTE_IPV6_HDR_TC_SHIFT) - 1)
-#define RTE_IPV6_HDR_TC_MASK (0xf << RTE_IPV6_HDR_TC_SHIFT)
+#define RTE_IPV6_HDR_TC_MASK (0xff << RTE_IPV6_HDR_TC_SHIFT)
 
 /**
  * Process the pseudo-header checksum of an IPv6 header.
-- 
1.5.6


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

end of thread, other threads:[~2019-07-02 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01 13:25 [dpdk-dev] [PATCH] net: fix definition of ipv6 traffic class mask Morten Brørup
2019-07-01 13:38 ` Morten Brørup
2019-07-01 14:00   ` Olivier Matz
2019-07-02  9:38     ` Olivier Matz
2019-07-02 19:00       ` [dpdk-dev] [dpdk-stable] " 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).