[PATCH net-next v2 0/4] Marvell Prestera Switchdev initial updates for firmware version 3.0

From: Vadym Kochan
Date: Mon May 31 2021 - 12:03:56 EST


From: Vadym Kochan <vkochan@xxxxxxxxxxx>

This series adds minimal support for firmware version 3.0 which
has such changes like:

- initial routing support

- LAG support

- events interrupt handling changes

Changes just make able to work with new firmware version but
supported features in driver will be added later.

New firmware version was recently merged into linux-firmware tree.

Added ability of loading previous fw major version if the latest one
is missing, also add support for previous FW ABI.

PATCH -> RFC:
1) Load previous fw version if the latest one is missing (suggested by Andrew Lunn)

2) Add support for previous FW ABI version (suggested by Andrew Lunn)

RFC v2:
1) Get rid of automatic decrementing of
major version but hard code it.

2) Print error message with file path if
previous FW could not be loaded.

Vadym Kochan (4):
net: marvell: prestera: disable events interrupt while handling
net: marvell: prestera: align flood setting according to latest
firmware version
net: marvell: prestera: bump supported firmware version to 3.0
net: marvell: prestera: try to load previous fw version

.../ethernet/marvell/prestera/prestera_hw.c | 85 +++++++++++++-
.../ethernet/marvell/prestera/prestera_hw.h | 3 +-
.../ethernet/marvell/prestera/prestera_pci.c | 104 ++++++++++++++----
.../marvell/prestera/prestera_switchdev.c | 17 ++-
4 files changed, 175 insertions(+), 34 deletions(-)

--
2.17.1