net/ice/base: support MAC/VLAN with TCP/UDP in switch
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 6 Jan 2020 03:38:41 +0000 (11:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commit72c4b592aba57f84add9ef5334ebe78092b8cac1
treee39bf649682a1370171f27bf9f11efcbfa3bc7e1
parente0e325065bee98dade424f2e68a8b473a83ac2f5
net/ice/base: support MAC/VLAN with TCP/UDP in switch

Add a feature to allow user to add switch filter using input like
MAC + VLAN (C-tag only) + L4 (TCP/UDP) port. API "ice_add_adv_rule"
is extended to handle this filter type.

Signed-off-by: Kiran Patil <kiran.patil@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