Google Virtual NIC (GVE) PMD

Guo, Junfeng junfeng.guo at intel.com
Tue Jan 31 07:52:30 CET 2023



> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at amd.com>
> Sent: Wednesday, January 18, 2023 23:32
> To: Levend Sayar <levendsayar at gmail.com>; Guo, Junfeng
> <junfeng.guo at intel.com>
> Cc: dev at dpdk.org; Jeroen de Borst <jeroendb at google.com>; Rushil
> Gupta <rushilg at google.com>; Jordan Kimbrough <jrkim at google.com>
> Subject: Re: Google Virtual NIC (GVE) PMD
> 
> On 1/18/2023 1:47 PM, Levend Sayar wrote:
> > Hi all.
> >
> > PMD for Google Virtual NIC says it is capable of IPV4 TX checksum
> > offloading.
> >
> >
> https://github.com/DPDK/dpdk/blob/main/drivers/net/gve/gve_ethdev.c
> #L285
> >
> <https://github.com/DPDK/dpdk/blob/main/drivers/net/gve/gve_ethdev.
> c#L285>
> >
> > But according to my tests on Google Cloud, it is not doing that ipv4
> > checksum tx offload.
> > I only managed to send a packet via DPDK if I calculate the checksum
> myself.
> >
> > Do you have any idea about that?

Thanks for the feedback!

I tried to use this loopback typo in csum fwd mode based on this doc:
"https://doc.dpdk.org/dts/test_plans/checksum_offload_test_plan.html"
During the dpdk ports forwarding, the received pkts at tester side can have
correct csum after setting with 'csum set ip hw 0'.

Also, on GCP, the gateway between VMs will correct the wrong L3 chksum
values by default when passing the pkts.

Could you please provide more details for your test cases? 
So that we can have more information to verify this. Thanks!


> >
> 
> cc'ed gve maintainers.

Thanks Ferruh for the forwarding!



More information about the dev mailing list