Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vhost-user: compare mode MODE_PASTA and not MODE_PASST | Laurent Vivier | 2024-06-13 | 1 | -1/+1 |
| | | | | | | | | | | As we are going to introduce the MODE_VU that will act like the mode MODE_PASST, compare to MODE_PASTA rather than to add a comparison to MODE_VU when we check for MODE_PASST. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com> | ||||
* | tcp: move buffers management functions to their own file | Laurent Vivier | 2024-06-13 | 1 | -0/+519 |
Move all the TCP parts using internal buffers to tcp_buf.c and keep generic TCP management functions in tcp.c. Add tcp_internal.h to export needed functions from tcp.c and tcp_buf.h from tcp_buf.c With this change we can use existing TCP functions with a different kind of memory storage as for instance the shared memory provided by the guest via vhost-user. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com> |