Re: [vpp-dev] Query regarding packet validation checks in ip6_local

2021-11-05 Thread pankajmalhotra83
Hi Ole, The problem I am facing is a bit different. It is not that it is failing for me in any scenario, but the implementation seems a little confusing and hence I posted this query for clarification. I'll try explaining my test scenario. The documentation for VPP Configuration File -

[vpp-dev] Query regarding packet validation checks in ip6_local

2021-11-02 Thread pankajmalhotra83
Hi, In file vnet/ip/ip6_forward.c(VPP 21.01), function ip6_local_inline(), the node's packet processing has the following check: if (PREDICT_FALSE (need_csum)) { flags = ip6_tcp_udp_icmp_validate_checksum (vm, b[0]); good_l4_csum = flags & VNET_BUFFER_F_L4_CHECKSUM_CORRECT; error =

[vpp-dev] VPP RX Checksum Offload query

2021-10-27 Thread pankajmalhotra83
Hi, I have enabled the TCP/UDP Checksum Offload feature using the enable-tcp-udp-checksum in the startup.conf file. The feature gets enabled and the received locally destined IPV6 UDP/TCP packets at dpdk-input node have the bits corresponding to PKT_RX_IP_CKSUM_GOOD and PKT_RX_L4_CKSUM_GOOD set