OSDN Git Service

Merge branch 'mlxbf_gige-add-bluefield-3-support'
authorJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:59:11 +0000 (21:59 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:59:12 +0000 (21:59 -0800)
commit298bfe27d1127a8e41fbf668d3e4ce04fa7b1ecc
tree90fbb569a20ccb773eeaa2ef3fc53b4e2dc445f4
parente2a9575025fe986a6146569a32093d7f8993ebde
parente1cc8ce46200b3f3026e546053458c6f8046ef27
Merge branch 'mlxbf_gige-add-bluefield-3-support'

David Thompson says:

====================
mlxbf_gige: add BlueField-3 support

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 SoC 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
====================

Link: https://lore.kernel.org/r/20230112202609.21331-1-davthompson@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>