summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-03-28 13:03:54 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-03-28 13:03:54 +0300
commitd8b0c963e9191cbb43b6979835f31dc52f9fd095 (patch)
treeb1f15a04c52372e0f22431bf61ff69b1635112bf /drivers/net/ethernet/ti
parent4cee0fb9cc4b5477637fdeb2e965f5fc7d624622 (diff)
parente3ec366eb0d1d5f7cbe28e747c76180f7d45f00d (diff)
downloadlinux-d8b0c963e9191cbb43b6979835f31dc52f9fd095.tar.xz
Merge branch 'allocate-multiple-skbuffs-on-tx'
Arseniy Krasnov says: ==================== 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. Also this patchset includes second patch which adds check and return from 'virtio_transport_get_credit()' and 'virtio_transport_put_credit()' when these functions are called with 0 argument. This is needed, because zero argument makes both functions to behave as no-effect, but both of them always tries to acquire spinlock. Moreover, first patch always calls function 'virtio_transport_put_credit()' with zero argument in case of successful packet transmission. ==================== Link: https://lore.kernel.org/r/b0d15942-65ba-3a32-ba8d-fed64332d8f6@sberdevices.ru Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions