net/ice: change switch parser to support flexible mask
authorWei Zhao <wei.zhao1@intel.com>
Fri, 3 Apr 2020 04:45:59 +0000 (12:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:06 +0000 (13:57 +0200)
commitedbd1e921f7c172b995d7f7f08cb89557e68aba5
treee910dbb54c987b2c8e1f74bb9dd04fa04af01eea
parente6c0f28f3ffcfeea9dceb8720d757d8601340ad3
net/ice: change switch parser to support flexible mask

DCF need to make configuration of flexible mask, that is to say
some input set mask may be not 0xFFFF type all one bit. In order
to direct L2/IP multicast packets, the mask for source IP maybe
0xF0000000, this patch enable switch filter parser for it.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_switch_filter.c