This patch series introduces the RPMSG Ethernet driver, which provides a virtual Ethernet interface for communication between a host processor and a remote processor using the RPMSG framework. The driver enables Ethernet-like packet transmission and reception over shared memory, facilitating inter-core communication in systems with heterogeneous processors. Key features of this driver: 1. Virtual Ethernet interface using RPMSG framework 2. Shared memory-based packet transmission and reception 3. Support for multicast address filtering 4. Dynamic MAC address assignment 5. NAPI support for efficient packet processing 6. State machine for managing interface states The series begins by adding device tree binding documentation, continues with core driver implementation, and concludes with platform-specific DTS changes for the TI K3 AM64 SoC. The driver is designed to be generic and can be used by any vendor that implements compatible firmware for their remote processors. This driver is designed to be generic and vendor-agnostic. Vendors can develop firmware for the remote processor to make it compatible with this driver by adhering to the shared memory layout and communication protocol described in the documentation. This patch series has been tested on a TI AM64xx platform with a compatible remote processor firmware. Feedback and suggestions for improvement are welcome. Changes since v1: - Added dt binding for rpmsg-eth node similar to `qcom,glink-edge.yaml` and `google,cros-ec.yaml` - Added phandle to rpmsg-eth node to dt binding `ti,k3-r5f-rproc.yaml` - In the driver, shared memory region is now obtained from the rpmsg-eth node in device tree. - Dropped base address from rpmsg callback. Since base address is obtained from device tree, no need for rpmsg callback to share this base address again. - Dropped usage of pointers and strictly using only offsets while communicating to firmware. - Updated documentation based on the changes in driver and bindings. - Added "Naming convention" section to documentation to clarify naming and various terms used in the driver and documentation. - Kept the naming should be consistent throughout the documentation and driver as suggested by Andrew Lunn <andrew@xxxxxxx> - Added device tree patch in the series to clarify how the changes will be done in device tree and how the driver will use device tree information. v1 https://lore.kernel.org/all/20250723080322.3047826-1-danishanwar@xxxxxx/ MD Danish Anwar (8): dt-bindings: net: ti,rpmsg-eth: Add DT binding for RPMSG ETH dt-bindings: remoteproc: k3-r5f: Add rpmsg-eth subnode net: rpmsg-eth: Add Documentation for RPMSG-ETH Driver net: rpmsg-eth: Add basic rpmsg skeleton net: rpmsg-eth: Register device as netdev net: rpmsg-eth: Add netdev ops net: rpmsg-eth: Add support for multicast filtering arch: arm64: dts: k3-am64*: Add rpmsg-eth node .../devicetree/bindings/net/ti,rpmsg-eth.yaml | 38 ++ .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 6 + .../device_drivers/ethernet/index.rst | 1 + .../device_drivers/ethernet/rpmsg_eth.rst | 368 ++++++++++ arch/arm64/boot/dts/ti/k3-am642-evm.dts | 11 +- drivers/net/ethernet/Kconfig | 10 + drivers/net/ethernet/Makefile | 1 + drivers/net/ethernet/rpmsg_eth.c | 639 ++++++++++++++++++ drivers/net/ethernet/rpmsg_eth.h | 283 ++++++++ 9 files changed, 1356 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/net/ti,rpmsg-eth.yaml create mode 100644 Documentation/networking/device_drivers/ethernet/rpmsg_eth.rst create mode 100644 drivers/net/ethernet/rpmsg_eth.c create mode 100644 drivers/net/ethernet/rpmsg_eth.h base-commit: 2fd4161d0d2547650d9559d57fc67b4e0a26a9e3 -- 2.34.1