netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] nfp: control processor DMA support and RJ45
@ 2019-02-27  4:19 Jakub Kicinski
  2019-02-27  4:19 ` [PATCH net-next 1/5] nfp: report RJ45 connector in ethtool Jakub Kicinski
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jakub Kicinski @ 2019-02-27  4:19 UTC (permalink / raw)
  To: davem; +Cc: netdev, oss-drivers, Jakub Kicinski

Hi!

This series starts with adding support for reporting twisted pair
media type in ethtool.

Remaining patches add support for using DMA with the control/service
processor.  Currently we always copy the command data into card's
memory.  DMA support allows us to have the NSP read the data from
host memory by itself.  Unfortunately, the FW loading and flashing
cannot directly map the buffers for DMA because (a) the firmware
ABI returns const buffers, and (b) the buffers may be vmalloc()ed
in many mysterious/unmappable way.  So just bite the bullet -
allocate new host buffer for the command and copy.

As Dirk explains, the NSP now supports updating all FWs at once
which means the max flashing time grew significantly.  He bumps
the max wait to avoid timeouts.

Dirk van der Merwe (1):
  nfp: nsp: set higher timeout for flash bundle

Jakub Kicinski (4):
  nfp: report RJ45 connector in ethtool
  nfp: nsp: use fractional size of the buffer
  nfp: nsp: move default buffer handling into its own function
  nfp: nsp: allow the use of DMA buffer

 .../ethernet/netronome/nfp/nfpcore/nfp_nsp.c  | 285 +++++++++++++++---
 .../ethernet/netronome/nfp/nfpcore/nfp_nsp.h  |   1 +
 .../netronome/nfp/nfpcore/nfp_nsp_eth.c       |   3 +
 3 files changed, 243 insertions(+), 46 deletions(-)

-- 
2.19.2


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

end of thread, other threads:[~2019-03-01 20:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-27  4:19 [PATCH net-next 0/5] nfp: control processor DMA support and RJ45 Jakub Kicinski
2019-02-27  4:19 ` [PATCH net-next 1/5] nfp: report RJ45 connector in ethtool Jakub Kicinski
2019-02-27  4:19 ` [PATCH net-next 2/5] nfp: nsp: use fractional size of the buffer Jakub Kicinski
2019-02-27  4:19 ` [PATCH net-next 3/5] nfp: nsp: move default buffer handling into its own function Jakub Kicinski
2019-02-27  4:19 ` [PATCH net-next 4/5] nfp: nsp: allow the use of DMA buffer Jakub Kicinski
2019-02-27  4:19 ` [PATCH net-next 5/5] nfp: nsp: set higher timeout for flash bundle Jakub Kicinski
2019-03-01 20:00 ` [PATCH net-next 0/5] nfp: control processor DMA support and RJ45 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).