net/ice/base: fix switch programming for IPv6
authorWei Zhao <wei.zhao1@intel.com>
Tue, 12 Nov 2019 03:21:55 +0000 (11:21 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commit9ffb871222a802b6ca0b59181e655308ef902d12
tree4ceb7143643c966eb3bef3b1bd2c6044c6a66b8c
parent3566515daf811bdb35635e3ceb63ddf308ecd376
net/ice/base: fix switch programming for IPv6

Correct an error in the IPV6 header bitmask used for programming switch
rules.

Also, change other programming switch headers to use big endian
fields in order to make setting these easier.

Fixes: 04b8ec1ea807 ("net/ice/base: add protocol structures and defines")
Cc: stable@dpdk.org
Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_protocol_type.h
drivers/net/ice/base/ice_switch.c
drivers/net/ice/ice_switch_filter.c