> -----Original Message----- > From: Feifei Wang <[email protected]> > Sent: Wednesday, November 18, 2020 14:29 > To: Jerin Jacob <[email protected]>; Ruifeng Wang <[email protected]>; > Guo, Jia > <[email protected]>; Wang, Haiyue <[email protected]> > Cc: [email protected]; [email protected]; feiwan02 <[email protected]> > Subject: [PATCH v1 3/4] net/ixgbe: implement good checksum flag for NEON > vector > > From: feiwan02 <[email protected]> > > Add CKSUM_GOOD flag to distinguish a good checksum from an unknown one > in neon vertor RX function. > > Test Results: > NICs: 82599(igb) > Dirver: ixgbe(vector) > Packet: IPv4_checksum = correct value && UDP_checksum = correct value > > $:./app/dpdk-testpmd -c 0x3 -w 0002:f9:00.0 -- -i --port-topology=chained > test-pmd> set fwd rxonly > test-pmd> set verbose 1 > test-pmd> start > > With this patch: > testpmd> port 0/queue 0: received 1 packets > src=00:00:00:00:00:02 - dst=00:00:00:00:00:01 - type=0x0800 - length=70 - > nb_segs=1 > ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD > > Without this patch: > testpmd> port 0/queue 0: received 1 packets > src=00:00:00:00:00:02 - dst=00:00:00:00:00:01 - type=0x0800 - length=70 - > nb_segs=1 > ol_flags: PKT_RX_L4_CKSUM_UNKNOWN PKT_RX_IP_CKSUM_UNKNOWN >
How about to merge "1 & 2" and "3 & 4"? Then you will have the above test result. ;-) > Signed-off-by: Feifei Wang <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]> > --- > 2.17.1

