mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-27 05:15:22 +00:00
Scale down the TX path of the GMAC driver by waiting for a packet to be fully sent before returning from the send function. This has a small performance impact, but has a few advantages: - It allows the Ethernet code to modify the packet afterward, fixing PTP support on this board (see PR #12563). - It returns an error to the IP stack in case of a transmit failure. - It doesn't require net_buf to be thread safe. This change can be reverted by changing GMAC_MULTIPLE_TX_PACKETS from 0 to 1. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
eth_dw_priv.h | ||
eth_dw.c | ||
eth_e1000_priv.h | ||
eth_e1000.c | ||
eth_enc28j60_priv.h | ||
eth_enc28j60.c | ||
eth_mcux.c | ||
eth_native_posix_adapt.c | ||
eth_native_posix_priv.h | ||
eth_native_posix.c | ||
eth_sam_gmac_priv.h | ||
eth_sam_gmac.c | ||
eth_smsc911x_priv.h | ||
eth_smsc911x.c | ||
eth_stellaris_priv.h | ||
eth_stellaris.c | ||
eth_stm32_hal_priv.h | ||
eth_stm32_hal.c | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.e1000 | ||
Kconfig.enc28j60 | ||
Kconfig.mcux | ||
Kconfig.native_posix | ||
Kconfig.sam_gmac | ||
Kconfig.smsc911x | ||
Kconfig.stellaris | ||
Kconfig.stm32_hal | ||
phy_sam_gmac.c | ||
phy_sam_gmac.h |