netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vadym Kochan <vadym.kochan@plvision.eu>
To: "David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	netdev@vger.kernel.org, Andrew Lunn <andrew@lunn.ch>
Cc: Vadym Kochan <vadym.kochan@plvision.eu>,
	Taras Chornyi <tchornyi@marvell.com>,
	linux-kernel@vger.kernel.org,
	Mickey Rachamim <mickeyr@marvell.com>,
	Vadym Kochan <vkochan@marvell.com>
Subject: [RFC net-next v2 0/4] Marvell Prestera Switchdev initial updates for firmware version 3.0
Date: Thu, 20 May 2021 18:34:56 +0300	[thread overview]
Message-ID: <20210520153500.22930-1-vadym.kochan@plvision.eu> (raw)

From: Vadym Kochan <vkochan@marvell.com>

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


             reply	other threads:[~2021-05-20 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20 15:34 Vadym Kochan [this message]
2021-05-20 15:34 ` [RFC net-next v2 1/4] net: marvell: prestera: disable events interrupt while handling Vadym Kochan
2021-05-20 15:34 ` [RFC net-next v2 2/4] net: marvell: prestera: align flood setting according to latest firmware version Vadym Kochan
2021-05-20 15:34 ` [RFC net-next v2 3/4] net: marvell: prestera: bump supported firmware version to 3.0 Vadym Kochan
2021-05-20 15:35 ` [RFC net-next v2 4/4] net: marvell: prestera: try to load previous fw version Vadym Kochan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210520153500.22930-1-vadym.kochan@plvision.eu \
    --to=vadym.kochan@plvision.eu \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mickeyr@marvell.com \
    --cc=netdev@vger.kernel.org \
    --cc=tchornyi@marvell.com \
    --cc=vkochan@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).