Skip to content

ionic: add FLR support

Shannon Nelson netdev 4 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied 4/4
  2. v34 patches 6 repliesSuperseded
  3. v25 patches 2 repliesSuperseded 1 of 5 applied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches2 repliesSuperseded

Changes in v4 from the cover letter

- don't remove ionic_dev_teardown() in ionic_probe() in patch 2/4
- remove clear_bit() change from patch 3/4

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4ionic: extract common bits from ionic_removedrivers/net/ethernet/pensando/ionic/ionic_bus_pci.c+13 -120 repliesApplied
2/4ionic: extract common bits from ionic_probedrivers/net/ethernet/pensando/ionic/ionic_bus_pci.c+49 -350 repliesApplied
3/4ionic: pull out common bits from fw_updrivers/net/ethernet/pensando/ionic/ionic_lif.c+42 -220 repliesApplied
4/4ionic: add FLR recovery supportdrivers/net/ethernet/pensando/ionic/ionic_bus_pci.c drivers/net/ethernet/pensando/ionic/ionic_lif.c drivers/net/ethernet/pensando/ionic/ionic_lif.h+62 -40 repliesApplied

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon Horman
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v4 thread

Cover letter [PATCH v4 net-next 0/4] ionic: add FLR support

Add support for handing and recovering from a PCI FLR event. This patchset first moves some code around to make it usable from multiple paths, then adds the PCI error handler callbacks for reset_prepare and reset_done.

Example test:

    echo 1 > /sys/bus/pci/devices/0000:2a:00.0/reset

v4:
- don't remove ionic_dev_teardown() in ionic_probe() in patch 2/4
- remove clear_bit() change from patch 3/4

v3:

- removed first patch, it is already merged into net

v2:

- removed redundant pci_save/restore_state() calls

Shannon Nelson (4):
ionic: extract common bits from ionic_remove
ionic: extract common bits from ionic_probe
ionic: pull out common bits from fw_up
ionic: add FLR recovery support

 .../ethernet/pensando/ionic/ionic_bus_pci.c   | 160 +++++++++++++-----
 .../net/ethernet/pensando/ionic/ionic_lif.c   |  70 +++++---
 .../net/ethernet/pensando/ionic/ionic_lif.h   |   5 +
 3 files changed, 164 insertions(+), 71 deletions(-)
Signature · 1 line
2.17.1