Files
linux/drivers/net/ethernet/intel
Stefan Assmann 1652cf211f iavf: use mutexes for locking of critical sections
[ Upstream commit 5ac49f3c27 ]

As follow-up to the discussion with Jakub Kicinski about iavf locking
being insufficient [1] convert iavf to use mutexes instead of bitops.
The locking logic is kept as is, just a drop-in replacement of
enum iavf_critical_section_t with separate mutexes.
The only difference is that the mutexes will be destroyed before the
module is unloaded.

[1] https://lwn.net/ml/netdev/20210316150210.00007249%40intel.com/

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:43:52 +02:00
..
2021-05-26 09:11:40 -07:00
2020-09-25 16:28:59 -07:00
2021-05-26 09:11:40 -07:00