On Tue, Nov 03, 2020 at 01:21:01PM +0100, Thomas Monjalon wrote: > External Email > > ---------------------------------------------------------------------- > 03/11/2020 12:22, Thomas Monjalon: > > 03/11/2020 11:52, Harman Kalra: > > > With the following changes, ptpclient and testpmd(ieee1588 mode) is > > > crashing for us. I am debugging the issue and will update soon. > > > ------------------ > > > Steps to reproduce: > > > 1. Testpmd: > > > ./dpdk-testpmd -c 0xffff01 -n 4 -w 0002:05:00.0 -- -i > > > --port-topology=loop > > > testpmd> set fwd ieee1588 > > > testpmd> set port 0 ptype_mask 0xf > > > testpmd> start > > > > > > I am sending ptp packets using scapy from the peer: > > > >>> p = Ether(src='98:03:9b:67:b0:d0', dst='FA:62:0C:27:AD:BC', > > > >>> type=35063)/Raw(load='\x00\x02') > > > >>> sendp (p, iface="p5p2") > > > > > > I am observing seg fault even for 1 packet. > > > > Where is the crash? Could you provide a backtrace? > > Is the field well registered? > > Sorry Harman, without any more explanation, we must move forward. > I am going to send a v4 without any change for octeontx2. > It should be merged today for -rc2. >
Hi Thomas, I have fixed the issue and sent a patch on top of your changes, kindly apply it: https://patches.dpdk.org/patch/83611/ Once you will squash both the patches, I will abondon my patch. Thanks Harman >