[dpdk-dev] [PATCH v4] examples/l3fwd: ipv4 and udp/tcp cksum verification through software

Stephen Hemminger stephen at networkplumber.org
Fri Jun 30 23:50:17 CEST 2023


On Thu, 4 Nov 2021 11:11:02 +0000
"Walsh, Conor" <conor.walsh at 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.nadeem at 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


More information about the dev mailing list