net/ice/base: fix packet type bitmap
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Sep 2019 07:44:46 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:56 +0000 (15:00 +0200)
commitf19c0a84c50e122f15abe13264e3dadd3e0bdcdd
tree26ab6eacc5130cf8c1ba9041516088ab7c4a4317
parent8dad92662b2ec72b2b0eb0b23b31e124514c7ff3
net/ice/base: fix packet type bitmap

Before this patch, IPv4 and UDP inner hash rule will be over
written by later rules after RSS initialization phase. This is
because the PTYPE bitmap table cover some PTYPEs belong to another
PTGs. And some PTYPEs are reserved. Remove these PTYPEs in TCP,
UDP, SCTP and ipv4 bitmap table.

Fixes: aa1cd410fa64 ("net/ice/base: add flow module")

Signed-off-by: Zhirun Yan <zhirun.yan@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_flow.c