netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/15] nfp: allow concurrency in core and minor fixes
@ 2017-03-22  0:59 Jakub Kicinski
  2017-03-22  0:59 ` [PATCH net-next 01/15] nfp: disallow sharing mutexes on the same machine Jakub Kicinski
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Jakub Kicinski @ 2017-03-22  0:59 UTC (permalink / raw)
  To: netdev; +Cc: oss-drivers, kubakici, Jakub Kicinski

Hi!

The first 10 patches of this series prepare nfpcore for concurrent 
accesses.  This will be needed by upcoming hwmon and devlink patches.
Most locking is already in place, the patches in this series iron out
a few bugs.

Last 5 patches are fixes and cleanups to the netdev code, including
removal of doorbell pointers used only on old versions of the chip,
removal of unnecessarily defensive code and flushing xmit_more more
carefully on error paths.

Jakub Kicinski (15):
  nfp: disallow sharing mutexes on the same machine
  nfp: fail graciously when someone tries to grab global lock
  nfp: remove cpp mutex cache
  nfp: move mutex code out of nfp_cppcore.c
  nfp: document expected locking in the core
  nfp: lock area cache earlier
  nfp: correct return codes when msleep gets interrupted
  nfp: don't ignore return value of wait_event_interruptible
  nfp: fix invalid area detection
  nfp: fix nfp_cpp_read()/nfp_cpp_write() error paths
  nfp: don't use netdev_warn() before netdev is registered
  nfp: remove RX queue pointers
  nfp: flush xmit_more on error paths
  nfp: remove defensive checks around ndo_open()/ndo_close()
  nfp: disable FW on reconfiguration errors

 drivers/net/ethernet/netronome/nfp/Makefile        |   1 +
 drivers/net/ethernet/netronome/nfp/nfp_net.h       |   8 +-
 .../net/ethernet/netronome/nfp/nfp_net_common.c    |  50 +--
 .../net/ethernet/netronome/nfp/nfp_net_debugfs.c   |  15 +-
 drivers/net/ethernet/netronome/nfp/nfpcore/nfp.h   |   9 +-
 .../ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c  |  29 +-
 .../ethernet/netronome/nfp/nfpcore/nfp_cppcore.c   | 467 ++++-----------------
 .../net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c | 345 +++++++++++++++
 .../net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c   |  12 +-
 .../ethernet/netronome/nfp/nfpcore/nfp_resource.c  |  15 +-
 10 files changed, 484 insertions(+), 467 deletions(-)
 create mode 100644 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c

-- 
2.11.0

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-03-22 20:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22  0:59 [PATCH net-next 00/15] nfp: allow concurrency in core and minor fixes Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 01/15] nfp: disallow sharing mutexes on the same machine Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 02/15] nfp: fail graciously when someone tries to grab global lock Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 03/15] nfp: remove cpp mutex cache Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 04/15] nfp: move mutex code out of nfp_cppcore.c Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 05/15] nfp: document expected locking in the core Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 06/15] nfp: lock area cache earlier Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 07/15] nfp: correct return codes when msleep gets interrupted Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 08/15] nfp: don't ignore return value of wait_event_interruptible Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 09/15] nfp: fix invalid area detection Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 10/15] nfp: fix nfp_cpp_read()/nfp_cpp_write() error paths Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 11/15] nfp: don't use netdev_warn() before netdev is registered Jakub Kicinski
2017-03-22  9:19   ` Sergei Shtylyov
2017-03-22  0:59 ` [PATCH net-next 12/15] nfp: remove RX queue pointers Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 13/15] nfp: flush xmit_more on error paths Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 14/15] nfp: remove defensive checks around ndo_open()/ndo_close() Jakub Kicinski
2017-03-22  0:59 ` [PATCH net-next 15/15] nfp: disable FW on reconfiguration errors Jakub Kicinski
2017-03-22 20:02 ` [PATCH net-next 00/15] nfp: allow concurrency in core and minor fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).