On Tue, 14 Sep 2021 23:08:27 +0500 Usama Nadeem <usama.nad...@emumba.com> wrote:
> + > + if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_UDP_CKSUM) > + local_port_conf.rxmode.offloads |= > + DEV_RX_OFFLOAD_UDP_CKSUM; > + > + else > + printf("WARNING: UDP Checksum offload not > available.\n"); > + > + if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_TCP_CKSUM) > + local_port_conf.rxmode.offloads |= > + DEV_RX_OFFLOAD_TCP_CKSUM; > + > + else > + printf("WARNING: TCP Checksum offload not > available.\n"); Why does l3fwd care about L4 checksum offload? The application should really be just a simple L3 router. But it seems to have become a test for ptype and depends on TCP/UDP.