linux/drivers/staging/octeon
Ayush Mukkanwar 2191a8dfd1 staging: octeon: replace pr_warn with dev_warn in fill and rx paths
Add struct platform_device parameter to cvm_oct_fill_hw_memory,
cvm_oct_mem_fill_fpa, cvm_oct_rx_refill_pool and
cvm_oct_rx_initialize to support device-aware logging. Replace
pr_warn with dev_warn using &pdev->dev.
To avoid passing these parameters through global state, introduce
struct octeon_ethernet_platform to hold per-device state including
the rx_refill_work and the oct_rx_group array. This ensures all
receive group state and workers are correctly associated with the
platform device.
Define struct oct_rx_group and struct octeon_ethernet_platform in
octeon-ethernet.h so they are shared across compilation units.

Signed-off-by: Ayush Mukkanwar <ayushmukkanwar@gmail.com>
Link: https://patch.msgid.link/20260511150931.93382-4-ayushmukkanwar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-05-21 11:20:45 +02:00
..
ethernet-defines.h staging: octeon: Indent with tabs instead of spaces 2020-07-23 20:34:34 +02:00
ethernet-mdio.c staging: octeon: Don't bother filling in ethtool driver version 2024-03-05 14:02:27 +00:00
ethernet-mdio.h net: phy: mdio-octeon: Cleanup module loading dependencies 2020-07-07 12:47:11 -07:00
ethernet-mem.c staging: octeon: replace pr_warn with dev_warn in fill and rx paths 2026-05-21 11:20:45 +02:00
ethernet-mem.h staging: octeon: replace pr_warn with dev_warn in fill and rx paths 2026-05-21 11:20:45 +02:00
ethernet-rgmii.c Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-rx.c staging: octeon: replace pr_warn with dev_warn in fill and rx paths 2026-05-21 11:20:45 +02:00
ethernet-rx.h staging: octeon: replace pr_warn with dev_warn in fill and rx paths 2026-05-21 11:20:45 +02:00
ethernet-sgmii.c Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-spi.c staging: octeon: cleanup unnecessary parentheses in ethernet-spmi.c 2021-03-10 09:25:26 +01:00
ethernet-tx.c staging: octeon: remove BUG() call 2026-03-18 16:48:40 +01:00
ethernet-tx.h staging: octeon: Fix return type of cvm_oct_xmit and cvm_oct_xmit_pow 2022-09-24 13:07:31 +02:00
ethernet-util.h Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet.c staging: octeon: replace pr_warn with dev_warn in fill and rx paths 2026-05-21 11:20:45 +02:00
Kconfig Revert "staging/octeon: Mark Ethernet driver as BROKEN" 2020-02-12 13:50:33 -08:00
Makefile Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
octeon-ethernet.h staging: octeon: replace pr_warn with dev_warn in fill and rx paths 2026-05-21 11:20:45 +02:00
octeon-stubs.h staging: octeon: convert cvmx_pip_port_status_t from typedef to plain struct 2026-05-04 16:21:34 +02:00
TODO staging: octeon: delete my name from TODO contact 2023-05-08 16:09:33 +02:00