aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_sched.c
diff options
context:
space:
mode:
authorVignesh Sridhar <[email protected]>2020-07-30 00:19:12 +0000
committerTony Nguyen <[email protected]>2020-08-01 15:22:30 +0000
commitcdedbab92db4697f5a1d222d2d022cd6af3930e3 (patch)
treed2f998e2fb3c71e94d55387a6cecf0d1e58675ed /drivers/net/ethernet/intel/ice/ice_sched.c
parentice: fix the vsi_id mask to be 10 bit for set_rss_lut (diff)
downloadkernel-cdedbab92db4697f5a1d222d2d022cd6af3930e3.tar.gz
kernel-cdedbab92db4697f5a1d222d2d022cd6af3930e3.zip
ice: Fix RSS profile locks
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 <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions