net/ice/base: add non-word aligned IPv6 field support
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Sep 2019 07:44:22 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:55 +0000 (15:00 +0200)
commitb726c1a865c061cdc35a3a1c71a279a21d290349
tree0f427e70ad1d24b9f36c3c8eb0f51b287d0b6633
parent04e06908002bb3738f16022ea1c6a3eec5527f9e
net/ice/base: add non-word aligned IPv6 field support

Add non-word aligned field support for IPv6 with hlim, tc and proto.
All these fields are one byte within one word. In order to match
bytes within the IPv6 header for flow director we need to use a mask.

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_fdir.c
drivers/net/ice/base/ice_fdir.h