net/ice/base: support ethertype switch filters
authorLeyi Rong <leyi.rong@intel.com>
Mon, 1 Jul 2019 05:04:49 +0000 (13:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 3 Jul 2019 10:57:30 +0000 (12:57 +0200)
commitee3e244afb065c3bd317ae20e2138b0346031c42
treee436215d3a766541a917d2502a82dc527853ea08
parent38d9b0b03c6390de7358a49bb32c3b8978c6d0a8
net/ice/base: support ethertype switch filters

Add protocol definitions for ethertype.
Add ice_ethtype_hdr structure definition into the ice_prot_hdr union.
Add ethtype offsets into the training packet maps.

Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Tested-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_protocol_type.h
drivers/net/ice/base/ice_switch.c