linux/drivers/net/ethernet/intel/ice
Michal Swiatkowski 1b8f15b64a ice: refactor filter functions
Move filter functions to separate file.

Add functions that prepare suitable ice_fltr_info struct
depending on the filter type and add this struct to earlier created
list:
- ice_fltr_add_mac_to_list
- ice_fltr_add_vlan_to_list
- ice_fltr_add_eth_to_list
This functions are used in adding and removing filters.

Create wrappers for functions mentioned above that alloc list,
add suitable ice_fltr_info to it and call add or remove function.
- ice_fltr_prepare_mac
- ice_fltr_prepare_mac_and_broadcast
- ice_fltr_prepare_vlan
- ice_fltr_prepare_eth

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-05-21 22:10:04 -07:00
..
ice_adminq_cmd.h ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_base.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_base.h ice: Add support to enable/disable all Rx queues before waiting 2020-02-15 16:39:55 -08:00
ice_common.c ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_common.h ice: add board identifier info to devlink .info_get 2020-03-21 01:02:19 -07:00
ice_controlq.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_controlq.h ice: Update FW API minor version 2019-11-22 13:43:46 -08:00
ice_dcb_lib.c ice: Fix check for contiguous TCs 2020-05-21 22:10:04 -07:00
ice_dcb_lib.h ice: Don't reset and rebuild for Tx timeout on PFC enabled queue 2020-05-21 22:10:03 -07:00
ice_dcb_nl.c ice: SW DCB, report correct max TC value 2020-02-19 13:09:20 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_devids.h ice: fix define for E822 backplane device 2020-02-19 13:39:33 -08:00
ice_devlink.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_devlink.h ice: add a devlink region for dumping NVM contents 2020-03-26 19:39:26 -07:00
ice_ethtool.c ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_flex_pipe.c ice: Fix resource leak on early exit from function 2020-05-21 22:10:04 -07:00
ice_flex_pipe.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flex_type.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flow.c ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flow.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_fltr.c ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_fltr.h ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_hw_autogen.h ice: Don't reset and rebuild for Tx timeout on PFC enabled queue 2020-05-21 22:10:03 -07:00
ice_lan_tx_rx.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_lib.c ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_lib.h ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_main.c ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_nvm.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_nvm.h ice: add board identifier info to devlink .info_get 2020-03-21 01:02:19 -07:00
ice_osdep.h
ice_protocol_type.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_sched.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c ice: remove unnecessary fallthrough comments 2020-02-15 16:56:48 -08:00
ice_sriov.h
ice_status.h ice: Populate TCAM filter software structures 2020-01-25 21:34:36 -08:00
ice_switch.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx_lib.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx_lib.h ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_type.h ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_virtchnl_pf.c ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_virtchnl_pf.h ice: cleanup vf_id signedness 2020-05-21 22:10:04 -07:00
ice_xsk.c xdp: For Intel AF_XDP drivers add XDP frame_sz 2020-05-14 21:21:56 -07:00
ice_xsk.h ice: Use EOPNOTSUPP instead of ENOTSUPP 2020-03-10 13:10:53 -07:00
ice.h ice: cleanup vf_id signedness 2020-05-21 22:10:04 -07:00
Makefile ice: refactor filter functions 2020-05-21 22:10:04 -07:00