Re: [vpp-dev] one question IP checksum

2018-10-23 Thread John Lo (loj) via Lists.Fd.Io
: [vpp-dev] one question IP checksum Thanks a lot, I think I got a better understanding cause of your help. As you said, the outer udp checksum is optional and often left as 0, is there any issue if I use VXLAN-GPE and send packet to ip4-input-nochecksum node which will skip the inner ip checksum

Re: [vpp-dev] one question IP checksum

2018-10-22 Thread Zhang Yuwei
: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of John Lo (loj) via Lists.Fd.Io Sent: Monday, October 22, 2018 11:56 PM To: Zhang, Yuwei1 ; vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] one question IP checksum Hi Yuwei, I did not suggest one can create VXLAN

Re: [vpp-dev] one question IP checksum

2018-10-22 Thread John Lo (loj) via Lists.Fd.Io
wei1 Sent: Monday, October 22, 2018 4:50 AM To: John Lo (loj) ; vpp-dev@lists.fd.io Subject: RE: [vpp-dev] one question IP checksum Hi John, thanks for your instructions, I tried to use your method with below steps: 1) Create tunnel: vppctl create vxlan tunnel src 10.0.0.1 dst 10.0.0.2 vni 24 en

Re: [vpp-dev] one question IP checksum

2018-10-22 Thread Zhang Yuwei
To: Zhang, Yuwei1 ; vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] one question IP checksum Hi Yuwei, I see that you are using VXLAN to carry L3 packets which seems to still have ethernet header. This is not standard usage of VXLAN so I am not aware of a way to achieve what

Re: [vpp-dev] one question IP checksum

2018-10-20 Thread John Lo (loj) via Lists.Fd.Io
. If underlay is IPv6, then UDP checksum would be required and VPP would set it on VXLAN encap. Regards, John From: Zhang, Yuwei1 Sent: Saturday, October 20, 2018 9:58 AM To: John Lo (loj) ; vpp-dev@lists.fd.io Cc: Yang, Zhiyong Subject: RE: [vpp-dev] one question IP checksum Thanks a lot for your

Re: [vpp-dev] one question IP checksum

2018-10-20 Thread Zhang Yuwei
m: John Lo (loj) [mailto:l...@cisco.com] Sent: Friday, October 19, 2018 11:04 PM To: Zhang, Yuwei1 ; vpp-dev@lists.fd.io Subject: RE: [vpp-dev] one question IP checksum The IP path after receiving a VXLAN packet is processing the outer IP header and not the inner one. The payload of VXLAN packet i

Re: [vpp-dev] one question IP checksum

2018-10-19 Thread John Lo (loj) via Lists.Fd.Io
@lists.fd.io Subject: [vpp-dev] one question IP checksum Hi Guys and VPP maintainers, When I run VPP in vxlan scenario, I found that when VPP receive a vxlan packets, after decapsulation, the packet will go into ip-input node instead of ip-input-nochecksum which means vpp will re-calculate

[vpp-dev] one question IP checksum

2018-10-18 Thread Zhang Yuwei
Hi Guys and VPP maintainers, When I run VPP in vxlan scenario, I found that when VPP receive a vxlan packets, after decapsulation, the packet will go into ip-input node instead of ip-input-nochecksum which means vpp will re-calculate the checksum and verify it. I think the outer UDP