mbox series

[00/10] Add Gigabit Ethernet driver support

Message ID 20211001150636.7500-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Add Gigabit Ethernet driver support | expand

Message

Biju Das Oct. 1, 2021, 3:06 p.m. UTC
The DMAC and EMAC blocks of Gigabit Ethernet IP found on RZ/G2L SoC are
similar to the R-Car Ethernet AVB IP.

The Gigabit Ethernet IP consists of Ethernet controller (E-MAC), Internal
TCP/IP Offload Engine (TOE)  and Dedicated Direct memory access controller
(DMAC).

With a few changes in the driver we can support both IPs.

This patch series is in preparation for adding Gigabit ethernet driver support to RZ/G2L SoC.

The number of patches after incorporatng RFC review comments is 19.
So splitting the patches into 2 patchsets (10 + 9).

The series is the first patchset which aims to add RZ/G2L SoC with
compatible strings, E-MAC and D-MAC initialization.

Second patchset basically fillup all the stubs for the full Gigabit
Ethernet functionality.

RFC->V1:
 * Added Rb tags of patch#1 and patch #9
 * Renamed "rgeth" to gbeth
 * Renamed the variable "no_ptp_cfg_active" with "gptp" and
   "ptp_cfg_active" with "ccc_gac
 * Handled NC queue only for R-Car.
 * Removed RIC3 initialization from DMAC init, as it is 
   same as reset value.
 * moved stubs function to patch#4.
 * Added tsrq variable instead of multi_tsrq feature bit.
 * moved CSR0 initialization from E-MAC init to later patch.
 * started using ravb_modify for initializing link registers.

Ref:-
https://lore.kernel.org/linux-renesas-soc/20210923140813.13541-1-biju.das.jz@bp.renesas.com/T/#m5c007b42d6c334de7b2224f2b219f52efc712fe9


Biju Das (10):
  ravb: Rename "ravb_set_features_rx_csum" function to
    "ravb_set_features_rcar"
  ravb: Rename "no_ptp_cfg_active" and "ptp_cfg_active" variables
  ravb: Add nc_queue to struct ravb_hw_info
  ravb: Add support for RZ/G2L SoC
  ravb: Initialize GbEthernet DMAC
  ravb: Exclude gPTP feature support for RZ/G2L
  ravb: Add tsrq to struct ravb_hw_info
  ravb: Add magic_pkt to struct ravb_hw_info
  ravb: Add half_duplex to struct ravb_hw_info
  ravb: Initialize GbEthernet E-MAC

 drivers/net/ethernet/renesas/ravb.h      |  39 +-
 drivers/net/ethernet/renesas/ravb_main.c | 452 +++++++++++++++++------
 2 files changed, 362 insertions(+), 129 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 2, 2021, 1 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Fri,  1 Oct 2021 16:06:26 +0100 you wrote:
> The DMAC and EMAC blocks of Gigabit Ethernet IP found on RZ/G2L SoC are
> similar to the R-Car Ethernet AVB IP.
> 
> The Gigabit Ethernet IP consists of Ethernet controller (E-MAC), Internal
> TCP/IP Offload Engine (TOE)  and Dedicated Direct memory access controller
> (DMAC).
> 
> [...]

Here is the summary with links:
  - [01/10] ravb: Rename "ravb_set_features_rx_csum" function to "ravb_set_features_rcar"
    https://git.kernel.org/netdev/net-next/c/d9bc9ec45e01
  - [02/10] ravb: Rename "no_ptp_cfg_active" and "ptp_cfg_active" variables
    https://git.kernel.org/netdev/net-next/c/2b061b545cd0
  - [03/10] ravb: Add nc_queue to struct ravb_hw_info
    https://git.kernel.org/netdev/net-next/c/a92f4f0662bf
  - [04/10] ravb: Add support for RZ/G2L SoC
    https://git.kernel.org/netdev/net-next/c/feab85c7ccea
  - [05/10] ravb: Initialize GbEthernet DMAC
    https://git.kernel.org/netdev/net-next/c/660e3d95e21a
  - [06/10] ravb: Exclude gPTP feature support for RZ/G2L
    https://git.kernel.org/netdev/net-next/c/7e09a052dc4e
  - [07/10] ravb: Add tsrq to struct ravb_hw_info
    https://git.kernel.org/netdev/net-next/c/0b395f289451
  - [08/10] ravb: Add magic_pkt to struct ravb_hw_info
    https://git.kernel.org/netdev/net-next/c/ebd5df063ce4
  - [09/10] ravb: Add half_duplex to struct ravb_hw_info
    https://git.kernel.org/netdev/net-next/c/68aa0763c045
  - [10/10] ravb: Initialize GbEthernet E-MAC
    https://git.kernel.org/netdev/net-next/c/16a235199235

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html