Re: [vpp-dev] Question on checksum offload in veth+AF_XDP

2022-03-09 Thread Benoit Ganne (bganne) via lists.fd.io
arl Lei > Sent: mercredi 9 mars 2022 11:21 > To: vpp-dev@lists.fd.io > Subject: Fw: [vpp-dev] Question on checksum offload in veth+AF_XDP > > > > Begin forwarded message: > > Date: Wed, 9 Mar 2022 18:20:00 +0800 > From: Carl Lei > To: "Benoit Ganne (bganne)

Fw: [vpp-dev] Question on checksum offload in veth+AF_XDP

2022-03-09 Thread Carl Lei
Begin forwarded message: Date: Wed, 9 Mar 2022 18:20:00 +0800 From: Carl Lei To: "Benoit Ganne (bganne)" Subject: Re: [vpp-dev] Question on checksum offload in veth+AF_XDP Sorry, forgot to CC list. Hi Benoit, On Wed, 9 Mar 2022 09:45:58 + "Benoit Ganne (bganne)"

Re: [vpp-dev] Question on checksum offload in veth+AF_XDP

2022-03-09 Thread Benoit Ganne (bganne) via lists.fd.io
/clicmd_src_vnet_devices_af_packet.html With veth, AF_XDP and AF_PACKET should have similar performance anyway. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Carl Lei > Sent: mercredi 9 mars 2022 02:56 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Question on c

[vpp-dev] Question on checksum offload in veth+AF_XDP

2022-03-08 Thread Carl Lei
Hello list, I configured an address in the kernel on one side of veth and attached the other side to VPP using AF_XDP, then I found that kernel-sent packets into this veth pair would be forwarded by VPP without fixing checksums. Kernel seems to believe the veth has checksum offload features, well