linux/drivers/net/ethernet/intel/ice
Anirudh Venkataramanan 80d144c9ac ice: Refactor switch rule management structures and functions
This patch is an adaptation of the work originally done by Grishma
Kotecha <grishma.kotecha@intel.com> that in summary refactors the
switch filtering logic in the driver. More specifically,
 - Update the recipe structure to also store list of rules
 - Update the existing code for recipes like MAC, VLAN, ethtype etc to
   use list head that is attached to switch recipe structure
 - Add a common function to search for a rule entry and add a new rule
   entry. Update the code to use this new function.
 - Refactor the rem_handle_vsi_list function to simplify the logic

CC: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-08-28 10:29:38 -07:00
..
ice_adminq_cmd.h ice: Refactor switch rule management structures and functions 2018-08-28 10:29:38 -07:00
ice_common.c ice: Refactor switch rule management structures and functions 2018-08-28 10:29:38 -07:00
ice_common.h ice: Update request resource command to latest specification 2018-08-28 10:17:06 -07:00
ice_controlq.c ice: Prevent control queue operations during reset 2018-08-28 10:20:00 -07:00
ice_controlq.h ice: Initialize PF and setup miscellaneous interrupt 2018-03-26 10:34:49 -07:00
ice_devids.h
ice_ethtool.c ice: Report stats for allocated queues via ethtool stats 2018-08-23 09:49:16 -07:00
ice_hw_autogen.h ice: Update to interrupts enabled in OICR 2018-08-23 11:26:47 -07:00
ice_lan_tx_rx.h ice: Rework flex descriptor programming 2018-08-28 09:18:47 -07:00
ice_main.c ice: Prevent control queue operations during reset 2018-08-28 10:20:00 -07:00
ice_nvm.c ice: Update request resource command to latest specification 2018-08-28 10:17:06 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: Updates to Tx scheduler code 2018-08-28 09:58:13 -07:00
ice_sched.h ice: Update Tx scheduler tree for VSI multi-Tx queue support 2018-03-26 12:21:42 -07:00
ice_status.h ice: Prevent control queue operations during reset 2018-08-28 10:20:00 -07:00
ice_switch.c ice: Refactor switch rule management structures and functions 2018-08-28 10:29:38 -07:00
ice_switch.h ice: Refactor switch rule management structures and functions 2018-08-28 10:29:38 -07:00
ice_txrx.c ice: Add support for VLANs and offloads 2018-03-26 11:54:49 -07:00
ice_txrx.h ice: Change struct members from bool to u8 2018-08-23 11:32:59 -07:00
ice_type.h ice: Refactor switch rule management structures and functions 2018-08-28 10:29:38 -07:00
ice.h ice: Change struct members from bool to u8 2018-08-23 11:32:59 -07:00
Makefile ice: Add stats and ethtool support 2018-03-26 12:11:19 -07:00