mbox series

[v1,00/18] net/r8169: add r8169 pmd to dpdk

Message ID 20241015030928.70642-1-howard_wang@realsil.com.cn (mailing list archive)
Headers
Series net/r8169: add r8169 pmd to dpdk |

Message

Howard Wang Oct. 15, 2024, 3:09 a.m. UTC
R8169 pmd supports Realtek 2.5G and 5G ethernet nics.

Howard Wang (18):
  net/r8169: add PMD driver skeleton
  net/r8169: add logging structure
  net/r8169: add hardware registers access routines
  net/r8169: implement core logic for Tx/Rx
  net/r8169: add support for hw config
  net/r8169: add phy registers access routines
  net/r8169: add support for hardware operations
  net/r8169: add support for phy configuration
  net/r8169: add support for hw initialization
  net/r8169: add link status and interrupt management
  net/r8169: implement Rx path
  net/r8169: implement Tx path
  net/r8169: implement device statistics
  net/r8169: implement promisc and allmulti modes
  net/r8169: impelment MTU configuration
  net/r8169: add support for getting fw version
  net/r8169: add driver_start and driver_stop
  doc/guides/nics: add documents for r8169 pmd

 MAINTAINERS                            |    9 +
 doc/guides/nics/features/r8169.ini     |   32 +
 doc/guides/nics/r8169.rst              |   17 +
 drivers/net/meson.build                |    1 +
 drivers/net/r8169/base/rtl8125a.c      |  413 ++++
 drivers/net/r8169/base/rtl8125a_mcu.c  | 1586 +++++++++++++
 drivers/net/r8169/base/rtl8125a_mcu.h  |   15 +
 drivers/net/r8169/base/rtl8125b.c      |  391 ++++
 drivers/net/r8169/base/rtl8125b_mcu.c  | 1068 +++++++++
 drivers/net/r8169/base/rtl8125b_mcu.h  |   15 +
 drivers/net/r8169/base/rtl8125bp.c     |  116 +
 drivers/net/r8169/base/rtl8125bp_mcu.c |  289 +++
 drivers/net/r8169/base/rtl8125bp_mcu.h |   14 +
 drivers/net/r8169/base/rtl8125d.c      |  245 ++
 drivers/net/r8169/base/rtl8125d_mcu.c  |  618 +++++
 drivers/net/r8169/base/rtl8125d_mcu.h  |   14 +
 drivers/net/r8169/base/rtl8126a.c      |  534 +++++
 drivers/net/r8169/base/rtl8126a_mcu.c  | 2994 ++++++++++++++++++++++++
 drivers/net/r8169/base/rtl8126a_mcu.h  |   17 +
 drivers/net/r8169/meson.build          |   21 +
 drivers/net/r8169/r8169_base.h         |  632 +++++
 drivers/net/r8169/r8169_dash.c         |  230 ++
 drivers/net/r8169/r8169_dash.h         |   58 +
 drivers/net/r8169/r8169_ethdev.c       |  821 +++++++
 drivers/net/r8169/r8169_ethdev.h       |  146 ++
 drivers/net/r8169/r8169_hw.c           | 1590 +++++++++++++
 drivers/net/r8169/r8169_hw.h           |  115 +
 drivers/net/r8169/r8169_logs.h         |   53 +
 drivers/net/r8169/r8169_phy.c          |  898 +++++++
 drivers/net/r8169/r8169_phy.h          |  148 ++
 drivers/net/r8169/r8169_rxtx.c         | 1495 ++++++++++++
 31 files changed, 14595 insertions(+)
 create mode 100644 doc/guides/nics/features/r8169.ini
 create mode 100644 doc/guides/nics/r8169.rst
 create mode 100644 drivers/net/r8169/base/rtl8125a.c
 create mode 100644 drivers/net/r8169/base/rtl8125a_mcu.c
 create mode 100644 drivers/net/r8169/base/rtl8125a_mcu.h
 create mode 100644 drivers/net/r8169/base/rtl8125b.c
 create mode 100644 drivers/net/r8169/base/rtl8125b_mcu.c
 create mode 100644 drivers/net/r8169/base/rtl8125b_mcu.h
 create mode 100644 drivers/net/r8169/base/rtl8125bp.c
 create mode 100644 drivers/net/r8169/base/rtl8125bp_mcu.c
 create mode 100644 drivers/net/r8169/base/rtl8125bp_mcu.h
 create mode 100644 drivers/net/r8169/base/rtl8125d.c
 create mode 100644 drivers/net/r8169/base/rtl8125d_mcu.c
 create mode 100644 drivers/net/r8169/base/rtl8125d_mcu.h
 create mode 100644 drivers/net/r8169/base/rtl8126a.c
 create mode 100644 drivers/net/r8169/base/rtl8126a_mcu.c
 create mode 100644 drivers/net/r8169/base/rtl8126a_mcu.h
 create mode 100644 drivers/net/r8169/meson.build
 create mode 100644 drivers/net/r8169/r8169_base.h
 create mode 100644 drivers/net/r8169/r8169_dash.c
 create mode 100644 drivers/net/r8169/r8169_dash.h
 create mode 100644 drivers/net/r8169/r8169_ethdev.c
 create mode 100644 drivers/net/r8169/r8169_ethdev.h
 create mode 100644 drivers/net/r8169/r8169_hw.c
 create mode 100644 drivers/net/r8169/r8169_hw.h
 create mode 100644 drivers/net/r8169/r8169_logs.h
 create mode 100644 drivers/net/r8169/r8169_phy.c
 create mode 100644 drivers/net/r8169/r8169_phy.h
 create mode 100644 drivers/net/r8169/r8169_rxtx.c
  

Comments

Stephen Hemminger Oct. 15, 2024, 3:54 p.m. UTC | #1
On Tue, 15 Oct 2024 11:09:10 +0800
Howard Wang <howard_wang@realsil.com.cn> wrote:

> R8169 pmd supports Realtek 2.5G and 5G ethernet nics.
> 
> Howard Wang (18):
>   net/r8169: add PMD driver skeleton
>   net/r8169: add logging structure
>   net/r8169: add hardware registers access routines
>   net/r8169: implement core logic for Tx/Rx
>   net/r8169: add support for hw config
>   net/r8169: add phy registers access routines
>   net/r8169: add support for hardware operations
>   net/r8169: add support for phy configuration
>   net/r8169: add support for hw initialization
>   net/r8169: add link status and interrupt management
>   net/r8169: implement Rx path
>   net/r8169: implement Tx path
>   net/r8169: implement device statistics
>   net/r8169: implement promisc and allmulti modes
>   net/r8169: impelment MTU configuration
>   net/r8169: add support for getting fw version
>   net/r8169: add driver_start and driver_stop
>   doc/guides/nics: add documents for r8169 pmd

You forgot to add something in the docs so build fails.

####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
[728/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_table_lpm_ipv6.cpp.o'.
[729/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_table_stub.cpp.o'.
[730/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_swx_pipeline.cpp.o'.
[731/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_pipeline.cpp.o'.
[732/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_port_in_action.cpp.o'.
[733/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_table_action.cpp.o'.
[734/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_swx_extern.cpp.o'.
[735/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_swx_ctl.cpp.o'.
[736/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_graph.cpp.o'.
[737/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_node_ip4_api.cpp.o'.
[738/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_swx_ipsec.cpp.o'.
[739/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_node_ip6_api.cpp.o'.
[740/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_node_udp4_input_api.cpp.o'.
[741/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/main.cpp.o'.
[742/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_graph_worker.cpp.o'.
[743/745] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp at exe/meson-generated_rte_node_eth_api.cpp.o'.
[744/745] Linking target buildtools/chkincs/chkincs-cpp.
[745/745] Generating html_guides with a custom command.
FAILED: doc/guides/html 
/usr/bin/python3 ../buildtools/call-sphinx-build.py /usr/bin/sphinx-build 24.11.0-rc0 /home/runner/work/dpdk/dpdk/doc/guides /home/runner/work/dpdk/dpdk/build/doc/guides -a -W

Warning, treated as error:
/home/runner/work/dpdk/dpdk/doc/guides/nics/r8169.rst:document isn't included in any toctree
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.