]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Add mailbox configuration options RELEASE-0.6
authorDaniel Dinca <danieldinca97@yahoo.com>
Wed, 17 Nov 2021 17:37:01 +0000 (19:37 +0200)
committerUnikraft <monkey@unikraft.io>
Tue, 30 Nov 2021 16:12:00 +0000 (16:12 +0000)
commit1443cd90ffd22b1d667a34f91402082d46df9623
treeb923dc9368b63518b774152965e28a2d0fc5553d
parent5f399bbec0bafbf5d5c1d976fc2588a5a7b99651
Add mailbox configuration options

This fixes a bug where some packets are dropped because
LWIP mailbox is bigger than the UDP and TCP mailboxes.

This introduces the "LWIP stackthread mbox size" where you
can now select the size for the input mailbox for the lwip thread.

The sizes for the UDP and TCP mailboxes are now always bigger or
equal to the LWIP input mailbox. You can select the factor by which
they are greater in the "Sockets API" submenu. (i.e if you choose
a factor of 2 for the UDP mailbox it will have the size 2*LWIP mailbox
size).

Signed-off-by: Daniel Dinca <danieldinca97@yahoo.com>
Reviewed-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Approved-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #13
Config.uk
include/lwipopts.h
mailbox.c