diff options
author | Arseniy Krasnov <avkrasnov@sberdevices.ru> | 2023-03-26 01:03:52 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-03-28 12:03:50 +0200 |
commit | b68ffb1b3bee3762f7579bdcc9ca3d415ed0b9b4 (patch) | |
tree | a4378811c95b1b4cdd513c91619d69834c6bc30d /net/unix/unix_bpf.c | |
parent | 4cee0fb9cc4b5477637fdeb2e965f5fc7d624622 (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 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions