On Thu, 4 Nov 2021 11:11:02 +0000 "Walsh, Conor" <conor.wa...@intel.com> wrote:
> > checks if ipv4 and udptcp cksum offload capability available > > If not available, cksum is verified through software > > If cksum is corrupt, packet is dropped, rest of the packets > > are forwarded back. > > > > Bugzilla ID:545 > > Signed-off-by: Usama Nadeem <usama.nad...@emumba.com> > > --- > > Hi Usama, > > This should be done in a generic way that allows all the lookup methods to > support it not just LPM. > check_software_cksum should go in a common file and be called from LPM, FIB > and possibly EM. > > Thanks, > Conor. Agree. This is a real bug in l3fwd-XXX examples. It needs to be done in a more general way so that applications can use this design pattern as a template. Please submit a new version