vmxnet3: update to latest ToT

Bug #1882834 reported by Ronak Doshi
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This request is to port vmxnet3 patches to Ubuntu kernel. Below are the commits in order:

vmxnet3: prepare for version 4 changes
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=123db31d01219a4f794f3769e7bca6649d65ecb1

vmxnet3: add support to get/set rx flow hash
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=d3a8a9e5c3b334d443e97daa59bb95c0b69f4794

vmxnet3: add geneve and vxlan tunnel offload support
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=dacce2be33124df3c71f979ac47e3d6354a41125

vmxnet3: update to version 4
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=a31135e36eccd0d16e500d3041f23c3ece62096f

vmxnet3: use correct hdr reference when packet is encapsulated
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=36432797641ff0013be9252eecf7ad1ba73171a2

vmxnet3: allow rx flow hash ops only when rss is enabled
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=11e877b2a8cfd282a1b81f9d4c594b900889a5d8

This is a request to bring Ubuntu vmxnet3 driver up to date with ToT
Linux kernel. Could you apply these patches to ongoing releases?

Also, could you help verify if the below commits are present in vmxnet3 of ubuntu kernel? If not, then please apply these patches before above ones.

vmxnet3: set the DMA mask before the first DMA map operation
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=61aeecea40afb2b89933e27cd4adb10fc2e75cfd

vmxnet3: use DMA memory barriers where required
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=f3002c1374fb2367c9d8dbb28852791ef90d2bac

vmxnet3: turn off lro when rxcsum is disabled
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/drivers/net/vmxnet3?id=3dd7400b419409b1551f7f01764b1f3160feda90

Thanks

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1882834

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

These two patches can be found in Ubuntu Focal kernel:
vmxnet3: set the DMA mask before the first DMA map operation
https://kernel.ubuntu.com/git/ubuntu/ubuntu-focal.git/commit/?h=master-next&id=61aeecea40afb2b89933e27cd4adb10fc2e75cfd

vmxnet3: use DMA memory barriers where required
https://kernel.ubuntu.com/git/ubuntu/ubuntu-focal.git/commit/?h=master-next&id=61aeecea40afb2b89933e27cd4adb10fc2e75cfd

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

The last patch can be found in Focal as well:
vmxnet3: turn off lro when rxcsum is disabled
https://kernel.ubuntu.com/git/ubuntu/ubuntu-focal.git/commit/?h=master-next&id=3dd7400b419409b1551f7f01764b1f3160feda90

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :
Revision history for this message
Ronak Doshi (ronakdoshi) wrote :

Hello Team,

Thanks for the update. Could you confirm if above 6 patches are applied to Ubuntu kernel? If not can you please apply to ongoing ubuntu kernel release?

Along with those, could you help port the below patch too to the kernel where above patches are applied? The below one should be after the above 6 patches are applied.

vmxnet3: use correct tcp hdr length when packet is encapsulated
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=8a7f280f29a80f6e0798f5d6e07c5dd8726620fe

Let me know if any concerns.

Thanks,
Ronak

Revision history for this message
Ronak Doshi (ronakdoshi) wrote :

Hello Team,

Can you update the status of the above patches? Is this being worked on?

Can we apply below patch as well along with those mentioned above?

vmxnet3: fix cksum offload issues for non-udp tunnels
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=1dac3b1bc66dc68dbb0c9f43adac71a7d0a0331a

Thanks,
Ronak

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

Any updates ?

Thanks
Yuhua Zou

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.