nfp: request backport of ethtool flashing

Bug #1760152 reported by Simon Horman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned
Bionic
Triaged
Medium
Unassigned

Bug Description

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

f.e.
# 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")

Tags: bionic
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a test kernel with commits 7a7415659144 and 87a23801e502. The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1760152

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!

Revision history for this message
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.

Revision history for this message
Simon Horman (horms-netronome) wrote :

Hi,

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?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.