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

Add non-word aligned field support for ipv4 with ttl, tos and proto.
All these fields are one byte within one word. In order to match
bytes within the IPv4 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