[Intel-wired-lan] [PATCH v3 06/15] ice: Refactor switch rule management structures and functions
Brelinski, TonyX
tonyx.brelinski at intel.com
Tue Aug 21 21:12:19 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Thursday, August 9, 2018 6:30 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH v3 06/15] ice: Refactor switch rule
> management structures and functions
>
> This patch is an adaptation of the work originally done by Grishma Kotecha
> <grishma.kotecha at 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 at oracle.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> .../net/ethernet/intel/ice/ice_adminq_cmd.h | 2 +
> drivers/net/ethernet/intel/ice/ice_common.c | 36 +-
> drivers/net/ethernet/intel/ice/ice_switch.c | 968 ++++++++----------
> drivers/net/ethernet/intel/ice/ice_switch.h | 35 +-
> drivers/net/ethernet/intel/ice/ice_type.h | 13 +-
> 5 files changed, 501 insertions(+), 553 deletions(-)
Tested-by: Tony Brelinski <tonyx.brelinski at intel.com>
More information about the Intel-wired-lan
mailing list