netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] nfp: extend firmware request logic
@ 2017-07-26 18:09 Jakub Kicinski
  2017-07-26 18:09 ` [PATCH net-next 1/3] nfp: remove the probe deferral when FW not present Jakub Kicinski
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jakub Kicinski @ 2017-07-26 18:09 UTC (permalink / raw)
  To: netdev; +Cc: oss-drivers, Jakub Kicinski

Hi!

We have been pondering for some time how to support loading different
application firmwares onto NFP.  We want to support both users selecting
one of the firmware images provided by Netronome (which are optimized
for different use cases each) as well as firmware images created  by 
users themselves or other companies.

In the end we decided to go with the simplest solution - depending on
the right firmware image being placed in /lib/firmware.  This vastly
simplifies driver logic and also doesn't require any new API.

Different NICs on one system may want to run different applications
therefore we first try to load firmware specific to the device (by 
serial number of PCI slot) and if not present try the device model
based name we have been using so far.


Jakub Kicinski (3):
  nfp: remove the probe deferral when FW not present
  nfp: look for firmware image by device serial number and PCI name
  nfp: only use direct firmware requests

 drivers/net/ethernet/netronome/nfp/nfp_main.c     | 48 ++++++++++++++++++-----
 drivers/net/ethernet/netronome/nfp/nfp_net_main.c |  2 +-
 2 files changed, 39 insertions(+), 11 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-07-28  0:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-26 18:09 [PATCH net-next 0/3] nfp: extend firmware request logic Jakub Kicinski
2017-07-26 18:09 ` [PATCH net-next 1/3] nfp: remove the probe deferral when FW not present Jakub Kicinski
2017-07-26 18:09 ` [PATCH net-next 2/3] nfp: look for firmware image by device serial number and PCI name Jakub Kicinski
2017-07-27  8:20   ` David Laight
2017-07-27  9:25     ` Jakub Kicinski
2017-07-27 10:15       ` David Laight
2017-07-26 18:09 ` [PATCH net-next 3/3] nfp: only use direct firmware requests Jakub Kicinski
2017-07-27  8:09 ` [oss-drivers] [PATCH net-next 0/3] nfp: extend firmware request logic Simon Horman
2017-07-28  0:26 ` 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).