linux/drivers/net/ethernet/marvell
Breno Leitao ec24c06eb3 net: marvell: prestera: allocate dummy net_device dynamically
Embedding net_device into structures prohibits the usage of flexible
arrays in the net_device structure. For more details, see the discussion
at [1].

Un-embed the net_device from the private struct by converting it
into a pointer. Then use the leverage the new alloc_netdev_dummy()
helper to allocate and initialize dummy devices.

[1] https://lore.kernel.org/all/20240229225910.79e224cf@kernel.org/

Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Elad Nachman <enachman@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-04-24 12:00:16 +01:00
..
mvpp2 net: mvpp2: clear BM pool before initialization 2024-01-24 12:27:33 -08:00
octeon_ep octeon_ep: support firmware notifications for VFs 2023-12-19 12:00:53 +01:00
octeon_ep_vf octeon_ep_vf: Improve help text grammar 2024-02-22 18:56:53 -08:00
octeontx2 octeontx2-pf: Add support for offload tc with skbedit mark action 2024-04-22 10:14:14 +01:00
prestera net: marvell: prestera: allocate dummy net_device dynamically 2024-04-24 12:00:16 +01:00
Kconfig octeon_ep_vf: Add driver framework and device initialization 2024-02-12 09:01:52 +00:00
Makefile octeon_ep_vf: Add driver framework and device initialization 2024-02-12 09:01:52 +00:00
mv643xx_eth.c net: ethernet: marvell: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
mvmdio.c net: mvmdio: Support setting the MDC frequency on XSMI controllers 2023-12-05 20:10:16 -08:00
mvneta.c ethtool: replace struct ethtool_eee with a new struct ethtool_keee on kernel side 2024-01-31 12:30:47 +00:00
mvneta_bm.c net: ethernet: marvell: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
mvneta_bm.h
pxa168_eth.c net: ethernet: marvell: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
skge.c
skge.h
sky2.c net: move skb ref helpers to new header 2024-04-11 19:29:22 -07:00
sky2.h sky2: Make sure there is at least one frag_addr available 2023-10-02 08:03:52 +01:00