net/ice/base: add ethertype check for dummy packet
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 30 Mar 2020 11:45:26 +0000 (19:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit25a6a176b4c707be44877c01f8958e8c89f08088
treed86715d8982479735b04dc65bb4608fbcbe298c6
parente40daec8c66f19f02b24076adb69254d0d09d9fb
net/ice/base: add ethertype check for dummy packet

In order to support switch rule for ethertype filter
with ipv6 ethertype id, it has to check ethertype
then find a proper dummy packet.

Signed-off-by: Wei Zhao <wei.zhao1@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_switch.c