]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: eth: refactor transmit function
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 30 Jan 2026 12:58:05 +0000 (13:58 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 1 Feb 2026 10:27:58 +0000 (11:27 +0100)
commit41300fd88a96037fc1931b424a27618a2a4474ad
tree652be412d29764d952542f24041ab793b674545d
parent1b2f8975f7ceb244accb87642ce6e52aa059ffa9
realtek: eth: refactor transmit function

Provide a new transmit function. It is cleaner and closer to
upstream than what we have now. The basic features are:

- Avoid memory moving and keep data in the SKBs
- Only protect really critcal parts by a lock as transmit
  queues will be only called once by the kernel

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21778
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h