From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AE547A0521; Tue, 3 Nov 2020 13:21:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EC5B1C974; Tue, 3 Nov 2020 13:21:10 +0100 (CET) Received: from wnew3-smtp.messagingengine.com (wnew3-smtp.messagingengine.com [64.147.123.17]) by dpdk.org (Postfix) with ESMTP id A547CC96C for ; Tue, 3 Nov 2020 13:21:08 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.west.internal (Postfix) with ESMTP id BB36E39C; Tue, 3 Nov 2020 07:21:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 03 Nov 2020 07:21:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= TPfXgcIOeueCn4CBYrfeWmLsxg/8CJX8a/nzHNd6k+w=; b=EKK9phVcTeqbfLrI 6JQMP4FWSV5s6dBoT2Iw9HjKMNL2y+DkpUFCVH442Xl13L26NR90Yvx0vZPs7i5a 74XC9LAbiMlO5ArCOQu9djfOJnSoB0Ak8GOCGAhGwTs3WVMD4Ps7EWK4jSMTsbT0 1DYp5M/w8QAWUia57F1F5P3eh+jbHgFPQFp7uu5YbV4iaPcH+Md0MmL9J1W9akK8 vFtEwRKtobYlEyn1UxvtnU5X3Dfrb3mcFGFDCsZQHQ3SwJ2kLbPjVFXgECKEUx+u o/X2RrF8Bjwtn/+7ZfRIPgDmxHd9NxBTG3wzy1z8/Oqgte3hcOp1GjKQhQlhksd2 Iym1/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=TPfXgcIOeueCn4CBYrfeWmLsxg/8CJX8a/nzHNd6k +w=; b=EZbfLTYrJ93Adm6iH3hQLYA+UehJKrINUDUbx1rU3/T7ewt+JfgR7sRY4 bHER4KLsEYHJAFC6zLesVb4egd21nJ4IrrIMmYsdDJvN4a1rFHIrYkrQzIuLmKwI 41Ss1cJ0KJ8N96A4LWJ/ejLiHI3DVYGQ/tk6+NOCBwvCQqE9XXUPrh7idBLvIWAl XTAQEz7ZjSfmqO94c+TR0q+fy6cd8EBUtyc2PYpDAPMhoE5uVS+Py/vIHzqxgAtj j2p8zP4/yaq5XoIE+Fwaquu60H1rdqX4OgJB9OOrHls0IAs3CbaDBkYjYT1nP6gx pBn6m6ZcpfxJlVhvr8ybidkd8lcbg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtfedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D31793280066; Tue, 3 Nov 2020 07:21:02 -0500 (EST) From: Thomas Monjalon To: Harman Kalra Cc: dev@dpdk.org, ferruh.yigit@intel.com, david.marchand@redhat.com, bruce.richardson@intel.com, olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru, jerinj@marvell.com, viacheslavo@nvidia.com, Nithin Dabilpuram , Kiran Kumar K Date: Tue, 03 Nov 2020 13:21:01 +0100 Message-ID: <4833682.80VyEUGGPT@thomas> In-Reply-To: <1730016.d2bl2iErz5@thomas> References: <20201029092751.3837177-1-thomas@monjalon.net> <20201103105235.GA65452@outlook.office365.com> <1730016.d2bl2iErz5@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 09/16] net/octeontx2: switch Rx timestamp to dynamic mbuf field X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.