[Intel-wired-lan] [PATCH S35 03/15] ice: Add code to keep track of current dflt_vsi
andrewx.bowers at intel.com
Wed Dec 18 22:16:52 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Thursday, December 12, 2019 3:13 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S35 03/15] ice: Add code to keep track of
> current dflt_vsi
> From: Brett Creeley <brett.creeley at intel.com>
> We can't have more than one default VSI so prevent another VSI from
> overwriting the current dflt_vsi. This was achieved by adding the following
> - Used to check if the default VSI is already being used.
> - Used to check if VSI passed in is in fact the default VSI.
> - Used to set the default VSI via a switch rule
> - Used to clear the default VSI via a switch rule.
> Also, there was no need to introduce any locking because all mailbox events
> and synchronization of switch filters for the PF happen in the service task.
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> drivers/net/ethernet/intel/ice/ice.h | 2 +
> drivers/net/ethernet/intel/ice/ice_lib.c | 118 ++++++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_lib.h | 4 +
> drivers/net/ethernet/intel/ice/ice_main.c | 43 +++++---
> 4 files changed, 151 insertions(+), 16 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan