summaryrefslogtreecommitdiff
path: root/components/net/lwip-2.0.2/src/include
diff options
context:
space:
mode:
authorliuxianliang <[email protected]>2021-03-31 13:37:19 +0800
committerliuxianliang <[email protected]>2021-03-31 13:37:19 +0800
commit154d73a4e76f954ad67d94455e6000a3d168fbf6 (patch)
treea2014e6e0ed23cf5124e34a0357f508e565b548e /components/net/lwip-2.0.2/src/include
parent6d89a9f120e2154399ca6123750dca0a78e9512d (diff)
[fix] iperf speed test have been stable.
Diffstat (limited to 'components/net/lwip-2.0.2/src/include')
-rw-r--r--components/net/lwip-2.0.2/src/include/netif/ethernetif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/lwip-2.0.2/src/include/netif/ethernetif.h b/components/net/lwip-2.0.2/src/include/netif/ethernetif.h
index 244bafdd1b..d294c36813 100644
--- a/components/net/lwip-2.0.2/src/include/netif/ethernetif.h
+++ b/components/net/lwip-2.0.2/src/include/netif/ethernetif.h
@@ -27,6 +27,7 @@ struct eth_device
rt_uint16_t flags;
rt_uint8_t link_changed;
rt_uint8_t link_status;
+ rt_uint8_t rx_notice; /* avoid send the same mail to mailbox */
/* eth device interface */
struct pbuf* (*eth_rx)(rt_device_t dev);