linux-stable/drivers/net/ethernet/netronome
Jakub Kicinski 3d4fc6eb4b nfp: disallow sharing mutexes on the same machine
NFP can be connected to multiple machines via PCI or other buses.
Access to hardware resources is arbitrated using locks residing
in device memory.  Currently nfpcore only respects the mutexes
when it comes to inter-host locking, but if we try to acquire
the same lock again, on one host - it will simply return success
because owner of the lock is already set to that host.

This makes the locks useless for arbitration within one host
and unfair because whichever host grabbed the lock will have
a chance to reacquire it without others getting a shot.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-22 12:59:06 -07:00
..
nfp nfp: disallow sharing mutexes on the same machine 2017-03-22 12:59:06 -07:00
Kconfig nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00
Makefile nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00