nfp: request backport of ethtool flashing

Bug #1760152 reported by Simon Horman on 2018-03-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

Bug Description

Backport recently upstreamed changes to the nfp driver to allow flash updates to be written to Netronome SmartNICs using ethtool.

# ethtool -f netdev_name flash-nic.bin

This feature is not currently present in the Bionic kernel and the above command results in the following error:
Error return + "Flashing failed: Operation not supported\n"

This feature is implemented by the following upstream commits.

7a7415659144 ("nfp: implement firmware flashing")
87a23801e502 ("nfp: extend NSP infrastructure for configurable timeouts")

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1760152

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
tags: added: bionic
Joseph Salisbury (jsalisbury) wrote :

I built a test kernel with commits 7a7415659144 and 87a23801e502. The test kernel can be downloaded from:

Can you test this kernel and see if it resolves this bug?

Note, to test this kernel, you need to install both the linux-image and linux-image-extra .deb packages.

Thanks in advance!

Simon Horman (horms-netronome) wrote :

Apologies for the slow response, I was on holidays last week.

I will get the kernel tested and log the results here.

Simon Horman (horms-netronome) wrote :


unfortunately the kernel supplied dows not work as expected.
Is there a mechanism for us to access the source so we can debug the problem?

Joseph Salisbury (jsalisbury) wrote :

I cherry picked the two commits mentioned in the bug description on top of: Ubuntu-4.15.0-12.13. Here is the top three commits in my tree used to build the test kernel:

a583fee nfp: implement firmware flashing
9537edf nfp: extend NSP infrastructure for configurable timeouts
f02c5a4 UBUNTU: Ubuntu-4.15.0-12.13

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers