net: fix definition of IPv6 traffic class mask
authorMorten Brørup <mb@smartsharesystems.com>
Mon, 1 Jul 2019 13:38:05 +0000 (15:38 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 3 Jul 2019 10:57:30 +0000 (12:57 +0200)
commit854c1333b53f42767b1f5bc731d139d8f675574c
treed42d686af158443f7ac943faa5253a7ce0d095a3
parentf0c2dc8201d68aa9a48639c933adf9156ebc32d7
net: fix definition of IPv6 traffic class mask

IPv6 header TC field is 8 bits, not 4.

Fixes: 9b20c6e9028e ("net: add IPv6 header fields macros")
Cc: stable@dpdk.org
Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_net/rte_ip.h