[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf()
From: |
address@hidden |
Subject: |
Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf() |
Date: |
Thu, 25 Mar 2021 15:55:18 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
Am 25.03.2021 um 12:44 schrieb Trampas Stern:
> Rather than flushing cache you can create a non-cached section of RAM in
> the linker script and put buffers there.
But be aware that using non-cached buffers might be slow. While putting
the DMA descriptors into uncached memory is a good solution (you'll
normally only access a descriptor once unless its contents change),
putting data there will make the whole TX/RX frame processing in lwIP
slower and the flush/invalidate operations are orobably faster (except
for rare cases).
Being like that, it's a pity this problem still exists in vendor
drivers. I already rewrote the drivers for STM32 and ATSAM because of
that myself a wile ago (sadly, the result is not open source).
Regards,
Simon
- [lwip-users] Why does enabling Debug fix this tcp_sndbuf(), Osborne, David, 2021/03/24
- Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf(), address@hidden, 2021/03/24
- Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf(), Trampas Stern, 2021/03/24
- Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf(), Osborne, David, 2021/03/25
- Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf(), Trampas Stern, 2021/03/25
- Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf(),
address@hidden <=
- Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf(), Indan Zupancic, 2021/03/25
- Re: [lwip-users] Why does enabling Debug fix this tcp_sndbuf(), Trampas Stern, 2021/03/25
Message not available