From: David Thompson <davthompson@nvidia.com>
To: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>
Cc: <netdev@vger.kernel.org>, <cai.huoqing@linux.dev>,
<brgl@bgdev.pl>, <limings@nvidia.com>,
David Thompson <davthompson@nvidia.com>
Subject: [PATCH net-next v1 0/4] mlxbf_gige: add BlueField-3 support
Date: Thu, 27 Oct 2022 18:00:09 -0400 [thread overview]
Message-ID: <20221027220013.24276-1-davthompson@nvidia.com> (raw)
This patch series adds driver logic to the "mlxbf_gige"
Ethernet driver in order to support the third generation
BlueField SoC (BF3). The existing "mlxbf_gige" driver is
extended with BF3-specific logic and run-time decisions
are made by the driver depending on the SoC generation
(BF2 vs. BF3).
The BF3 SoC is similar to BF2 SoC with regards to transmit
and receive packet processing:
* Driver rings usage; consumer & producer indices
* Single queue for receive and transmit
* DMA operation
The differences between BF3 and BF2 are:
* In addition to supporting 1Gbps interface speed, the BF3 SoC
adds support for 10Mbps and 100Mbps interface speeds
* BF3 requires SerDes config logic to support its SGMII interface
* BF3 adds support for "ethtool -s" for interface speed config
* BF3 utilizes different MDIO logic for accessing the
board-level PHY device
Testing
- Successful build of kernel for ARM64, ARM32, X86_64
- Tested ARM64 build on FastModels, Palladium, SoC
David Thompson (4):
mlxbf_gige: add MDIO support for BlueField-3
mlxbf_gige: support 10M/100M/1G speeds on BlueField-3
mlxbf_gige: add BlueField-3 Serdes configuration
mlxbf_gige: add BlueField-3 ethtool_ops
.../net/ethernet/mellanox/mlxbf_gige/Makefile | 3 +-
.../ethernet/mellanox/mlxbf_gige/mlxbf_gige.h | 34 +-
.../mellanox/mlxbf_gige/mlxbf_gige_ethtool.c | 16 +-
.../mellanox/mlxbf_gige/mlxbf_gige_main.c | 170 ++-
.../mellanox/mlxbf_gige/mlxbf_gige_mdio.c | 185 +--
.../mellanox/mlxbf_gige/mlxbf_gige_mdio_bf2.h | 53 +
.../mellanox/mlxbf_gige/mlxbf_gige_mdio_bf3.h | 54 +
.../mellanox/mlxbf_gige/mlxbf_gige_regs.h | 22 +
.../mellanox/mlxbf_gige/mlxbf_gige_uphy.c | 1191 +++++++++++++++++
.../mellanox/mlxbf_gige/mlxbf_gige_uphy.h | 398 ++++++
10 files changed, 2027 insertions(+), 99 deletions(-)
create mode 100644 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_mdio_bf2.h
create mode 100644 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_mdio_bf3.h
create mode 100644 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_uphy.c
create mode 100644 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_uphy.h
--
2.30.1
next reply other threads:[~2022-10-27 22:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-27 22:00 David Thompson [this message]
2022-10-27 22:00 ` [PATCH net-next v1 1/4] mlxbf_gige: add MDIO support for BlueField-3 David Thompson
2022-10-27 22:00 ` [PATCH net-next v1 2/4] mlxbf_gige: support 10M/100M/1G speeds on BlueField-3 David Thompson
2022-10-27 23:14 ` Andrew Lunn
2022-10-27 22:00 ` [PATCH net-next v1 3/4] mlxbf_gige: add BlueField-3 Serdes configuration David Thompson
2022-10-27 23:25 ` Andrew Lunn
2022-10-28 15:08 ` Asmaa Mnebhi
2022-10-27 22:00 ` [PATCH net-next v1 4/4] mlxbf_gige: add BlueField-3 ethtool_ops David Thompson
2022-10-27 23:29 ` Andrew Lunn
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=20221027220013.24276-1-davthompson@nvidia.com \
--to=davthompson@nvidia.com \
--cc=brgl@bgdev.pl \
--cc=cai.huoqing@linux.dev \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=limings@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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).