[Intel-wired-lan] [PATCH S51 03/13] ice: Fix RSS profile locks

Bowers, AndrewX andrewx.bowers at intel.com
Fri Jul 31 19:57:44 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Wednesday, July 29, 2020 5:19 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S51 03/13] ice: Fix RSS profile locks
> 
> From: Vignesh Sridhar <vignesh.sridhar at intel.com>
> 
> Replacing flow profile locks with RSS profile locks in the function to remove all
> RSS rules for a given VSI. This is to align the locks used for RSS rule addition to
> VSI and removal during VSI teardown to avoid a race condition owing to
> several iterations of the above operations.
> In function to get RSS rules for given VSI and protocol header replacing the
> pointer reference of the RSS entry with a copy of hash value to ensure
> thread safety.
> 
> Signed-off-by: Vignesh Sridhar <vignesh.sridhar at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_flow.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list