[dpdk-dev,3/4] doc: update NFP guide

Message ID 1521826504-20195-4-git-send-email-alejandro.lucero@netronome.com (mailing list archive)
State Changes Requested, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail Compilation issues

Commit Message

Alejandro Lucero March 23, 2018, 5:35 p.m. UTC
  New CPP interface changes the way firmware upload is managed by
the PMD. It also supports different firmware file names for
having specific firmware aplications per card.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
---
 doc/guides/nics/nfp.rst | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)
  

Comments

Ferruh Yigit March 30, 2018, 10:37 a.m. UTC | #1
On 3/23/2018 5:35 PM, Alejandro Lucero wrote:
> New CPP interface changes the way firmware upload is managed by
> the PMD. It also supports different firmware file names for
> having specific firmware aplications per card.
> 
> Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>

This conflicts with another nfp doc patch applied in next-net, can you please
rebase this on latest next-net?
  
Alejandro Lucero March 31, 2018, 5:04 p.m. UTC | #2
On Fri, Mar 30, 2018 at 11:37 AM, Ferruh Yigit <ferruh.yigit@intel.com>
wrote:

> On 3/23/2018 5:35 PM, Alejandro Lucero wrote:
> > New CPP interface changes the way firmware upload is managed by
> > the PMD. It also supports different firmware file names for
> > having specific firmware aplications per card.
> >
> > Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
>
> This conflicts with another nfp doc patch applied in next-net, can you
> please
> rebase this on latest next-net?
>

Yes, sure.

Thanks
  

Patch

diff --git a/doc/guides/nics/nfp.rst b/doc/guides/nics/nfp.rst
index 99a3b76..6b1f9fc 100644
--- a/doc/guides/nics/nfp.rst
+++ b/doc/guides/nics/nfp.rst
@@ -99,16 +99,33 @@  have a PMD able to work with the PF and VFs at the same time and with the PF
 implementing VF management along with other PF-only functionalities/offloads.
 
 The PMD PF has extra work to do which will delay the DPDK app initialization
-like checking if a firmware is already available in the device, uploading the
-firmware if necessary, and configure the Link state properly when starting or
-stopping a PF port. Note that firmware upload is not always necessary which is
-the main delay for NFP PF PMD initialization.
+like uploading the firmware and configure the Link state properly when starting or
+stopping a PF port. Since DPDK 18.05 the firmware upload is always happening when
+a PF is initialized, which was not always true with older DPDK versions.
 
 Depending on the Netronome product installed in the system, firmware files
 should be available under ``/lib/firmware/netronome``. DPDK PMD supporting the
-PF requires a specific link, ``/lib/firmware/netronome/nic_dpdk_default.nffw``,
-which should be created automatically with Netronome's Agilio products
-installation.
+PF looks for a firmware file in this order:
+
+	1) First try to find a firmware image specific for this device using the
+	   NFP serial number:
+
+		serial-00-15-4d-12-20-65-10-ff.nffw
+
+	2) Then try the PCI name:
+
+		pci-0000:04:00.0.nffw
+
+	3) Finally try the card type and media:
+
+		nic_AMDA0099-0001_2x25.nffw
+
+Netronome's software packages install firmware files under ``/lib/firmware/netronome``
+for supporting all the Netronome's SmartNICs and also different firmware applications.
+This is usually done using file names based on SmartNIC type and media and with a
+directory per firmware application. Options 1 and 2 for firmware filenames allow to
+have more than one SmartNIC, same type of SmartNIC or different ones, and to upload a
+different firmware to each SmartNIC.
 
 PF multiport support
 --------------------