linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
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
..
nfpcore nfp: disallow sharing mutexes on the same machine 2017-03-22 12:59:06 -07:00
Makefile nfp: add the PF driver 2017-02-10 15:52:27 -05:00
nfp_asm.h nfp: add BPF to NFP code translator 2016-09-21 19:50:02 -04:00
nfp_bpf_jit.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_bpf_verifier.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_bpf.h bitfield.h: add FIELD_FIT() helper 2017-02-10 15:52:24 -05:00
nfp_main.c nfp: allow application firmware to limit number of SR-IOV VFs 2017-02-20 11:18:49 -05:00
nfp_main.h nfp: allow application firmware to limit number of SR-IOV VFs 2017-02-20 11:18:49 -05:00
nfp_net_common.c nfp: add support for xdp_adjust_head() 2017-03-12 23:43:19 -07:00
nfp_net_ctrl.h nfp: add support for reporting CRC32 hash function 2017-03-09 16:39:58 -08:00
nfp_net_debugfs.c nfp: separate data path information from the reset of adapter structure 2017-03-12 23:43:17 -07:00
nfp_net_ethtool.c nfp: switch to using data path structures for reconfiguration 2017-03-12 23:43:19 -07:00
nfp_net_main.c nfp: move control BAR pointer into data path structure 2017-03-12 23:43:17 -07:00
nfp_net_offload.c nfp: separate data path information from the reset of adapter structure 2017-03-12 23:43:17 -07:00
nfp_net.h nfp: add support for xdp_adjust_head() 2017-03-12 23:43:19 -07:00
nfp_netvf_main.c nfp: move control BAR pointer into data path structure 2017-03-12 23:43:17 -07:00