net/ice/base: add functions for ethertype filter
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 25 Mar 2019 05:44:24 +0000 (13:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:31 +0000 (17:25 +0100)
commit157d00901f97e3b77fe94938ef59cbe77d1c149a
tree3f5fe0fb549900504d9c484ac13faa33b70baa1c
parentad4bd56a0d55bf5636ab9086af7927b9cb4475c9
net/ice/base: add functions for ethertype filter

Add API ice_remove_eth_mac and ice_add_eth_mac to support
adding / removing ethertype (or MAC) based filter rules.

PMD driver can use these APIs to enable related rte_flow rule.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/base/ice_switch.c
drivers/net/ice/base/ice_switch.h