linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH net-next 00/28] Add CPSW Proxy Client driver
@ 2024-05-18 12:42 Siddharth Vadapalli
  2024-05-18 12:42 ` [RFC PATCH net-next 01/28] docs: networking: ti: add driver doc for CPSW Proxy Client Siddharth Vadapalli
                   ` (27 more replies)
  0 siblings, 28 replies; 43+ messages in thread
From: Siddharth Vadapalli @ 2024-05-18 12:42 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, corbet, rogerq, danishanwar,
	vladimir.oltean
  Cc: netdev, linux-doc, linux-kernel, linux-arm-kernel, vigneshr,
	misael.lopez, srk, s-vadapalli

Hello,

This series introduces the CPSW Proxy Client driver to interface with
Ethernet Switch Firmware (EthFw) running on a remote core on TI's K3
SoCs. Further details are in patch 01/28 which adds documentation for
the driver and describes the intended use-case, design and execution
of the driver.

Please DO NOT MERGE this series. I will appreciate feedback on this
series in the form of both documentation enhancements and code review.

This series does not depend on other series and applies cleanly on the
latest net-next commit:
4b377b4868ef kprobe/ftrace: fix build error due to bad function definition

However, for purposes of functionality, device-tree changes are required
in the form of a device-tree overlay in order to mark device-tree nodes
as reserved for EthFw's use.

I have tested this series on J721E EVM verifying:
1. Ping/Iperf
2. Interface Up-Down
3. Module Removal

Linux Logs:
https://gist.github.com/Siddharth-Vadapalli-at-TI/0972e74383cd1ec16e2f82c0d447f90b

EthFw Logs corresponding to the Linux Logs shared above:
https://gist.github.com/Siddharth-Vadapalli-at-TI/28743298daf113f90be9ceb26c46b16b

Regards,
Siddharth.

Siddharth Vadapalli (28):
  docs: networking: ti: add driver doc for CPSW Proxy Client
  net: ethernet: ti: add RPMsg structures for Ethernet Switch Firmware
  net: ethernet: ti: introduce the CPSW Proxy Client
  net: ethernet: ti: cpsw-proxy-client: add support for creating
    requests
  net: ethernet: ti: cpsw-proxy-client: enable message exchange with
    EthFw
  net: ethernet: ti: cpsw-proxy-client: add helper to get virtual port
    info
  net: ethernet: ti: cpsw-proxy-client: add helper to attach virtual
    ports
  net: ethernet: ti: cpsw-proxy-client: add helpers to alloc/free
    resources
  net: ethernet: ti: cpsw-proxy-client: add helper to init TX DMA
    Channels
  net: ethernet: ti: cpsw-proxy-client: add helper to init RX DMA
    Channels
  net: ethernet: ti: cpsw-proxy-client: add NAPI TX polling function
  net: ethernet: ti: cpsw-proxy-client: add NAPI RX polling function
  net: ethernet: ti: cpsw-proxy-client: add helper to create netdevs
  net: ethernet: ti: cpsw-proxy-client: add and register dma irq
    handlers
  net: ethernet: ti: cpsw-proxy-client: add helpers to (de)register MAC
  net: ethernet: ti: cpsw-proxy-client: implement and register ndo_open
  net: ethernet: ti: cpsw-proxy-client: implement and register ndo_stop
  net: ethernet: ti: cpsw-proxy-client: implement and register
    ndo_start_xmit
  net: ethernet: ti: cpsw-proxy-client: implement and register
    ndo_get_stats64
  net: ethernet: ti: cpsw-proxy-client: implement and register
    ndo_tx_timeout
  net: ethernet: ti: cpsw-proxy-client: register
    ndo_validate/ndo_set_mac_addr
  net: ethernet: ti: cpsw-proxy-client: implement .get_link ethtool op
  net: ethernet: ti: cpsw-proxy-client: add sw tx/rx irq coalescing
  net: ethernet: ti: cpsw-proxy-client: export coalescing support
  net: ethernet: ti: cpsw-proxy-client: add helpers to (de)register IPv4
  net: ethernet: ti: cpsw-proxy-client: add ndo_set_rx_mode member
  net: ethernet: ti: cpsw-proxy-client: add helper to detach virtual
    ports
  net: ethernet: ti: cpsw-proxy-client: enable client driver
    functionality

 .../ethernet/ti/cpsw_proxy_client.rst         |  182 ++
 drivers/net/ethernet/ti/Kconfig               |   14 +
 drivers/net/ethernet/ti/Makefile              |    3 +
 drivers/net/ethernet/ti/cpsw-proxy-client.c   | 2354 +++++++++++++++++
 drivers/net/ethernet/ti/ethfw_abi.h           |  370 +++
 5 files changed, 2923 insertions(+)
 create mode 100644 Documentation/networking/device_drivers/ethernet/ti/cpsw_proxy_client.rst
 create mode 100644 drivers/net/ethernet/ti/cpsw-proxy-client.c
 create mode 100644 drivers/net/ethernet/ti/ethfw_abi.h

-- 
2.40.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2024-06-12 22:40 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-18 12:42 [RFC PATCH net-next 00/28] Add CPSW Proxy Client driver Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 01/28] docs: networking: ti: add driver doc for CPSW Proxy Client Siddharth Vadapalli
2024-05-19 15:31   ` Andrew Lunn
2024-05-21 12:12     ` Siddharth Vadapalli
2024-05-21 13:07       ` Andrew Lunn
2024-06-02  4:06     ` Siddharth Vadapalli
2024-06-04 14:20       ` Andrew Lunn
2024-06-06  6:52         ` Siddharth Vadapalli
2024-06-11 22:03           ` Andrew Lunn
2024-06-12  7:12             ` Siddharth Vadapalli
2024-06-12 22:40               ` Andrew Lunn
2024-05-18 12:42 ` [RFC PATCH net-next 02/28] net: ethernet: ti: add RPMsg structures for Ethernet Switch Firmware Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 03/28] net: ethernet: ti: introduce the CPSW Proxy Client Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 04/28] net: ethernet: ti: cpsw-proxy-client: add support for creating requests Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 05/28] net: ethernet: ti: cpsw-proxy-client: enable message exchange with EthFw Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 06/28] net: ethernet: ti: cpsw-proxy-client: add helper to get virtual port info Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 07/28] net: ethernet: ti: cpsw-proxy-client: add helper to attach virtual ports Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 08/28] net: ethernet: ti: cpsw-proxy-client: add helpers to alloc/free resources Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 09/28] net: ethernet: ti: cpsw-proxy-client: add helper to init TX DMA Channels Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 10/28] net: ethernet: ti: cpsw-proxy-client: add helper to init RX " Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 11/28] net: ethernet: ti: cpsw-proxy-client: add NAPI TX polling function Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 12/28] net: ethernet: ti: cpsw-proxy-client: add NAPI RX " Siddharth Vadapalli
2024-05-19 13:18   ` Markus Elfring
2024-05-19 14:00     ` Matthew Wilcox
2024-05-19 14:30       ` [RFC " Markus Elfring
2024-05-19 15:37       ` [RFC PATCH net-next " Andrew Lunn
2024-05-18 12:42 ` [RFC PATCH net-next 13/28] net: ethernet: ti: cpsw-proxy-client: add helper to create netdevs Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 14/28] net: ethernet: ti: cpsw-proxy-client: add and register dma irq handlers Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 15/28] net: ethernet: ti: cpsw-proxy-client: add helpers to (de)register MAC Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 16/28] net: ethernet: ti: cpsw-proxy-client: implement and register ndo_open Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 17/28] net: ethernet: ti: cpsw-proxy-client: implement and register ndo_stop Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 18/28] net: ethernet: ti: cpsw-proxy-client: implement and register ndo_start_xmit Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 19/28] net: ethernet: ti: cpsw-proxy-client: implement and register ndo_get_stats64 Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 20/28] net: ethernet: ti: cpsw-proxy-client: implement and register ndo_tx_timeout Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 21/28] net: ethernet: ti: cpsw-proxy-client: register ndo_validate/ndo_set_mac_addr Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 22/28] net: ethernet: ti: cpsw-proxy-client: implement .get_link ethtool op Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 23/28] net: ethernet: ti: cpsw-proxy-client: add sw tx/rx irq coalescing Siddharth Vadapalli
2024-05-19 14:12   ` Markus Elfring
2024-05-18 12:42 ` [RFC PATCH net-next 24/28] net: ethernet: ti: cpsw-proxy-client: export coalescing support Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 25/28] net: ethernet: ti: cpsw-proxy-client: add helpers to (de)register IPv4 Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 26/28] net: ethernet: ti: cpsw-proxy-client: add ndo_set_rx_mode member Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 27/28] net: ethernet: ti: cpsw-proxy-client: add helper to detach virtual ports Siddharth Vadapalli
2024-05-18 12:42 ` [RFC PATCH net-next 28/28] net: ethernet: ti: cpsw-proxy-client: enable client driver functionality Siddharth Vadapalli

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).