aboutsummaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorArseniy Krasnov <avkrasnov@sberdevices.ru>2023-03-26 01:03:52 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-03-28 12:03:50 +0200
commitb68ffb1b3bee3762f7579bdcc9ca3d415ed0b9b4 (patch)
treea4378811c95b1b4cdd513c91619d69834c6bc30d /lib/clz_tab.c
parent4cee0fb9cc4b5477637fdeb2e965f5fc7d624622 (diff)
virtio/vsock: allocate multiple skbuffs on tx
This adds small optimization for tx path: instead of allocating single skbuff on every call to transport, allocate multiple skbuff's until credit space allows, thus trying to send as much as possible data without return to af_vsock.c. Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions