On 2016/4/26 12:12, Max Filippov wrote:
Hi Zhou,
On Tue, Apr 26, 2016 at 6:35 AM, Zhou Jie wrote:
open_eth_start_xmit has a huge stack usage of 65536 bytes approx.
Moving large arrays to heap to reduce stack usage.
It's an exception, not the rule when full 65536 byte long buffer might be
ne
Hi Zhou,
On Tue, Apr 26, 2016 at 6:35 AM, Zhou Jie wrote:
> open_eth_start_xmit has a huge stack usage of 65536 bytes approx.
> Moving large arrays to heap to reduce stack usage.
It's an exception, not the rule when full 65536 byte long buffer might be
needed. Can we do a little better change an
open_eth_start_xmit has a huge stack usage of 65536 bytes approx.
Moving large arrays to heap to reduce stack usage.
Signed-off-by: Zhou Jie
---
hw/net/opencores_eth.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/net/opencores_eth.c b/hw/net/opencores_eth.c
index c60