Skip to content

dd LED support for fbnic

[email protected] linux-leds lkml netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3leds: trigger: netdev: Extend speeds up to 100Gdrivers/leds/trigger/ledtrig-netdev.c include/linux/leds.h+49 -14 replies
2/3net: eth: fbnic: Store max_speed from firmware dialogdrivers/net/ethernet/meta/fbnic/fbnic_fw.c drivers/net/ethernet/meta/fbnic/fbnic_fw.h+6 -00 replies
3/3net: eth: fbnic: Add led supportdrivers/net/ethernet/meta/Kconfig drivers/net/ethernet/meta/fbnic/Makefile drivers/net/ethernet/meta/fbnic/fbnic.h +8 more+640 -03 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] dd LED support for fbnic

From: "Mike Marciniszyn (Meta)" <[email protected]>

Add support for fbnic leds in three patches.

The first patch adds the trigger support for the higher fbnic speeds.

The second patch stors the max speed from the firmware dialog to give the LED code a way to determine if the led needs to show amber (not full speed) or blue (at full speed).

The third patch adds the fbnic specific code to manipulate the LEDS as well as the /sys/class/leds support for user space access.

Mike Marciniszyn (Meta) (3):
leds: trigger: netdev: Extend speeds up to 100G
net: eth: fbnic: Store max_speed from firmware dialog
net: eth: fbnic: Add led support

 drivers/leds/trigger/ledtrig-netdev.c         |  46 +++-
 drivers/net/ethernet/meta/Kconfig             |   8 +
 drivers/net/ethernet/meta/fbnic/Makefile      |   2 +
 drivers/net/ethernet/meta/fbnic/fbnic.h       |  13 +
 drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |  15 ++
 .../net/ethernet/meta/fbnic/fbnic_devlink.c   |   4 +
 .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  59 +++++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    |   3 +
 drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |   3 +
 drivers/net/ethernet/meta/fbnic/fbnic_led.c   | 228 +++++++++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_mac.c   | 239 ++++++++++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_mac.h   |  62 +++++
 drivers/net/ethernet/meta/fbnic/fbnic_pci.c   |   8 +
 .../net/ethernet/meta/fbnic/fbnic_phylink.c   |   2 +
 include/linux/leds.h                          |   4 +
 15 files changed, 695 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/ethernet/meta/fbnic/fbnic_led.c
Signature · 1 line
2.43.0