]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: limit number of TXDs used for TSO packet
authorRonak Doshi <doshir@vmware.com>
Wed, 8 Jun 2022 03:23:51 +0000 (20:23 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 9 Jun 2022 10:42:01 +0000 (12:42 +0200)
commit0e9ed29ad23aadfee00f572aac7c323e78313bc7
treedff457a43ea46de54480e1def5ec75e550a1ff5d
parentc0905317f0f26cde967fc6c235f6406ca827493f
vmxnet3: limit number of TXDs used for TSO packet

Currently, vmxnet3 does not have a limit on number of descriptors
used for a TSO packet. However, with UPT, for hardware performance
reasons, this patch limits the number of transmit descriptors to 24
for a TSO packet.

Signed-off-by: Ronak Doshi <doshir@vmware.com>
Acked-by: Guolin Yang <gyang@vmware.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/vmxnet3/vmxnet3_defs.h
drivers/net/vmxnet3/vmxnet3_drv.c