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 E5FCBA0521; Tue, 3 Nov 2020 15:24:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 767FCCADA; Tue, 3 Nov 2020 15:24:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id F0B2ACAD9 for ; Tue, 3 Nov 2020 15:23:59 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A3EK7hv016392; Tue, 3 Nov 2020 06:23:57 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pfpt0220; bh=XPeYMuTQL6ZGFI9ezEk+1rfg4+crKsYfTuNC+zXhvt4=; b=iKL0zSRQcwMfI97bQz2dGzt7WRou8mSw2rtFrJQSWKWFaS36zpBxspijpAF/xlIWG22n mcgoKpt1znq63q5jC3N4GaDBghX1ukNLLh3IX+uCgfJwcRx1q1STgc0Wjl+OtpcQ+ytw tXo14KxaUyhLMIdfTBIbJ9hcWgHLNEQgXXkZ46HLLhTHRyWtxu+U9y5a8goZ7NIF4tzM etppV086A3owUhAykYkfDEt/eRQFnvGjg2hy7w7qHPuigL0fC0gOrAw+j6i+Ck8Znci+ 5w3EzV5upydCHLqQ+EikEJpqIkdcxNhdAYZJsXzOikdymTjaOH+jAL57wIUWKZjR7of/ ZA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 34h7enw8h3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 03 Nov 2020 06:23:56 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 3 Nov 2020 06:23:55 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.51) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 3 Nov 2020 06:23:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C4C551QmQsXpydGn8czYtpmSQ7W/zpGO7+MNEgKJhKP5Ze0HK4Ke+q8m8aTsEmhW2+cxV+Ibome9nZd6K5Ed11/KGig2qa2b/I+rzK7GRAHBd4rGjHmCT4OANIqwyG+ugEq6nbLSzUfewymqxJM1d6vJgHIHmYXCYJM1z1pUmUdO6G+4wjhYLpH3pd4yIPlGTMesbT341X3YWo7sy4/WDpfe0RQvUuNJ3h0eokG7dNr/ff7RaZdpLFMy2gdXwcC09CauqmouCHMUJsfRYOF1TNyaMqqXBjmEqknBR6p0SX33R+yOsybA0NoDenEfBzd2kF/q5Z10Q9BDiMS401IRwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XPeYMuTQL6ZGFI9ezEk+1rfg4+crKsYfTuNC+zXhvt4=; b=gY6ywbSw5EMxjBtWVNG7gwsU4U8VEiLBbUaqMwKEuFvAqzu9sA7EyJb/L2183bn4bO8sIu1i2AXWIazDfOa9yvJjKm+/5dPMrq6g3n5uAzKWhYdOh1SbAMVsUa/muqV8cxRwel07+HwzbomWWW94grWJ6SJRe7ipuDl/jWuBxhXwlWLx8UCu4Fk1FQchwhKMLKbDxRvpOIFYO3IR6o62z0UwR/0L/1Cs1wdGYOflc0TEjI0opJGARourS5uGmOeaDRAffcbic7vUXPLRRj489ewX5qXG58hr0+R7JlnjUCfgFszg/SMtWFf9RkRl+ddWscGKNrpIUYkHhBiZh2X6ig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XPeYMuTQL6ZGFI9ezEk+1rfg4+crKsYfTuNC+zXhvt4=; b=duW2g40K3XuktZLwzbDUaqIcIOgtkXwAfFHa7eoFzytIB82Tlz/08PB3zXo+JkCptVl78ALuYcscAGBbuLt0xrNOKUSA0Sqk6mbpLepQW8OomKswAe20hTwQ5nPuYModzFI3Cv09soZ4p336ut8SrRxK8a1SgZ/UcafPh/DXIh8= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=marvell.com; Received: from CO6PR18MB3842.namprd18.prod.outlook.com (2603:10b6:5:341::16) by MW3PR18MB3452.namprd18.prod.outlook.com (2603:10b6:303:58::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Tue, 3 Nov 2020 14:23:53 +0000 Received: from CO6PR18MB3842.namprd18.prod.outlook.com ([fe80::b960:6770:a1:2a19]) by CO6PR18MB3842.namprd18.prod.outlook.com ([fe80::b960:6770:a1:2a19%7]) with mapi id 15.20.3499.032; Tue, 3 Nov 2020 14:23:53 +0000 Date: Tue, 3 Nov 2020 19:53:34 +0530 From: Harman Kalra To: Thomas Monjalon CC: , , , , , , , , Nithin Dabilpuram , Kiran Kumar K Message-ID: <20201103142332.GA174397@outlook.office365.com> References: <20201029092751.3837177-1-thomas@monjalon.net> <20201103105235.GA65452@outlook.office365.com> <1730016.d2bl2iErz5@thomas> <4833682.80VyEUGGPT@thomas> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4833682.80VyEUGGPT@thomas> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [1.6.215.26] X-ClientProxiedBy: BM1PR01CA0085.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::25) To CO6PR18MB3842.namprd18.prod.outlook.com (2603:10b6:5:341::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from outlook.office365.com (1.6.215.26) by BM1PR01CA0085.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Tue, 3 Nov 2020 14:23:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 13f92bfb-4d81-4b95-b511-08d88004179c X-MS-TrafficTypeDiagnostic: MW3PR18MB3452: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 83URNlbjAfTNkkv5I1AsQCYJjC2nPzyHCe34ty18E4te7ZbsDFidIvws5GPozmLMuxVyjniAAeIRE5Tl94WLUr9wUO1a48uAe4IAt0AwwE9p3S6ePl1leaFAihGLzAextszzL+oY8DkLkuZI3957Zrqnji8d66ghbIK4xILSQ6tecOF1WwaRSa3NssePgVvkUahMX1MpGARc0t9kpTKuvzExmubsBbJO/ZdVxc3U5fv97ZUN5aqczXUPl4BkpaXyJOfC/u6EiiY4bMzWKKVGS83JrhkQOPb0X3tm7kAsZBCXEJBZ+K+1/udUfoDn+I8K5ro+JpkGSiL+2EaqdJtizfh7luicS8/CioQbASg2v2RgyWqb4m2f0iDzmfe1CGeK3lvAdkwoLtOKFe45R0AL1pNYvPyCrytdwDtN06lSuecu24Si3i0bKPUreOkQYlwzHWEhJmiqlkIaWixGRiV8+LyqK8uyb6NPbVq0IWDF4RM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3842.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(366004)(396003)(346002)(39860400002)(7696005)(52116002)(1076003)(8936002)(6916009)(9686003)(86362001)(107886003)(8676002)(55016002)(5660300002)(83380400001)(66556008)(66476007)(66946007)(966005)(186003)(33656002)(16526019)(316002)(956004)(6666004)(1006002)(26005)(6506007)(478600001)(4326008)(2906002)(54906003)(36456003)(42976004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: PlQPaWXJB3andVxYWjxPPx212W5a5KmlIPPqOpsIRsm6Fyg+cFA4tjAd5Lz3lbpQwm1bMSBroPwaNP7M0qLucjKOlyrpDXFTOH7lNv1f4avxD4ZKFLyw0yloWk99tQQ4itfL5Kxpy9p/kJ2cn4BRAB1Ja4z7x8Y0P6jn6n1+dnQEMay5aA5n/3FBgyy08LcjsQ4I2T3TeRhybbV3+Jv8PN4vwtRh9c1HwcaL5Gty2xWUcGDcqVptvYqxEU4DiTBcLLA6/pyMljOFEW2hfeWjVFbNAEJHnh2Cxw3E0sqLpyVSoi9mo7l2jbaTWcFij0Q9igQv73fa46cwgihTGXXqCWxFM2r3NFvYQ5pdoBl8vi/QXdmsl0QoVYahRjdCPMsgkkhRy/0+tEt26R1r+n10EJRKhw1HbigML3Od4/4cW0Xfnb2FAxwWJteAl2FBEbmQyTp6KTsj5o209KNUOKkSLDfQ9F0UAL+8jDD1OwaxEEtCrFnhAfZSu8tetzT/Fwk+LRthn3pmHdjvQTAwB6tGTzJ0k1lOPe+65mNjz+p14HmNBl2LZB9lRMeMItg3YTRc/kEPe3evvCPa6xRFtMSaYr4QDXDRCVwX3IzzunX92UsBwLaarB7+YGizB3Z5g5VLbwEq71qkyu0xbD1TnCyQfA== X-MS-Exchange-CrossTenant-Network-Message-Id: 13f92bfb-4d81-4b95-b511-08d88004179c X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3842.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2020 14:23:53.8450 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bmNQylIRtDyXDXqFtbCoXnh7u5QjCUz4+fE7d8DJnJFMS2OOv7gqPK2LvKV6MaG9w7tuYVgMLvJn/6MdtW7Qrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR18MB3452 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-03_08:2020-11-03, 2020-11-03 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [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" 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 >