openwrt-mirror/target/linux/realtek/files-6.12/drivers/net/ethernet
Markus Stockhausen 60bdae3ab3 realtek: ethernet: drop open coding
There is some open coding in the ethernet driver. Drop
that and use kernel helpers instead.

- Use napi_gro_receive() instead of local skb list
- Use skb_put_data() instead of skb_put() plus memcpy()
- Use netdev_alloc_skb_ip_align() instead of manual alignment

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20030
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-17 19:22:37 +02:00
..
rtl838x_eth.c realtek: ethernet: drop open coding 2025-09-17 19:22:37 +02:00
rtl838x_eth.h realtek: carve out mdio bus from ethernet driver 2025-09-07 11:37:59 +02:00