]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: add support for out of order rx completion
authorRonak Doshi <doshir@vmware.com>
Wed, 8 Jun 2022 03:23:49 +0000 (20:23 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 9 Jun 2022 10:42:01 +0000 (12:42 +0200)
commitfc4e8de4033f5a340d508041472bbbfb7a2db634
tree5fcfd8fb5e8d20181ad2531c10ac8a7883934862
parente421e3eb7963adf20e084e0598256b6f0639da9b
vmxnet3: add support for out of order rx completion

Currently, vmxnet3 processes rx completions in-order i.e. no
out of order completion descriptor is expected. With UPT, if
hardware supports LRO, then hardware can report out of order
rx completions. This patch enhances vmxnet3 to add this support.
This supports gets effective only when the corresponding feature
bit is set.

Also, minor enhancements are done for performance.

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_drv.c
drivers/net/vmxnet3/vmxnet3_int.h