[Intel-wired-lan] [PATCH v2 11/16] ice: Add code to go from ICE_FWD_TO_VSI_LIST to ICE_FWD_TO_VSI
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Sep 26 17:09:22 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Wednesday, September 19, 2018 5:43 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH v2 11/16] ice: Add code to go from
> ICE_FWD_TO_VSI_LIST to ICE_FWD_TO_VSI
>
> From: Brett Creeley <brett.creeley at intel.com>
>
> When a switch rule is initially created we set the filter action to
> ICE_FWD_TO_VSI. The filter action changes to ICE_FWD_TO_VSI_LIST
> whenever more than one VSI is subscribed to the same switch rule. When
> the switch rule goes from 2 VSIs in the list to 1 VSI we remove and delete the
> VSI list rule, but we currently don't update the switch rule in hardware. This is
> causing switch rules to be lost, so fix that by making a call to
> ice_update_pkt_fwd_rule() with the necessary changes.
>
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_switch.c | 38
> ++++++++++++++++++++++-------
> 1 file changed, 29 insertions(+), 9 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list