Skip to content

Conversation

@Ryzee119
Copy link
Contributor

@Ryzee119 Ryzee119 commented Sep 9, 2025

Some minor fixes for nvnetdrv backend.

nvnetdrv: Add sanity check on RX ring size
I was experimenting with lowering memory footprint and transfers would stall if I set this to below ~45.
This turns about to be exactly how many packets is required to contain a 64k TCP window and because we are 100% zero-copy here LWIP can hold these buffers until the window is finished which can drain the RX ring entirely causing the transfer to stall. (This can still happen when there is multiple TCP windows open at once - this needs some investigation)

nvnetdrv: Fix double free on tcpip input failure
We already setup the custom_free_function, which releases the buffer for us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant