]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit2c5a5748105a6bb901579d365c6f93e79f282b69
tree5fcfd8fb5e8d20181ad2531c10ac8a7883934862
parent543fb67405410cc548a72d7a9a4087688d2f56ac
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