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 D34BCA0487 for ; Sun, 28 Jul 2019 18:24:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 15C4C1BF4C; Sun, 28 Jul 2019 18:24:20 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6E04F1BEE7 for ; Sun, 28 Jul 2019 18:24:18 +0200 (CEST) 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 x6SGN8xd027699; Sun, 28 Jul 2019 09:24:17 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=KF15LCKWosP3lw745GwkAC6G1dFt8aAs5ASuQyNRd40=; b=jVeGBNKIAQk7cBweDIu3au0qv65YTTNA+oGltD/F/2KF1TfoexEuEZ+ZdHlBa+mJt5rm LQCUPNABkcBXyLD89YojEn0AYfaRMoFEkUbwVS78AdzOcEExEqfvwjfoBS7e4mESZAuc MGzY7q2ZfEVQq9J9izJiV0mw8EjFC+fmQz1fEe5N5SMyW1jIh3vdF0RGU8I442V++fYk DcuyzyuLh2RHZO31sS4UA0itIKUsspwWgGnwq5DqZiNYz9mTkq8it1c/yOYIRf5lVc7A gh1AePggQBWP+US35jLUBj8ILhRA5Lxq6XqAOuC/mru+csTYcHs4ng0L90VtCHwQUSVb 1w== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2u0p4kv4jj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 28 Jul 2019 09:24:17 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 28 Jul 2019 09:24:15 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.56) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 28 Jul 2019 09:24:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mIwuHAk+xendHgTRD+PZT+Me1kvYcvLtWRqOqbWCptTq+LieGHvM9ELVaLp9uFz0Uiavu0jIYRLqr5H5jnIx5p0RlPfjKdH+wMKHAFqPAPZQJ4mHqaVeKB2iufy5EyQuBTYH0f1khFHF/tbxf5JV8yTbVINoEMXhhZuLgejE4XoLfMHzNNm2Vbpo+EaIzU5HGKxT4ehW8LYKG+hVKPwaIZSyYlwoc3vLbn4OPNphzwi+7t6GxKfpQkh+LA1F7ddneTtswR60KKAehed9a6BJQjzcP8x+AKgfPWK2jxni8moKkDLw5HOGskMiz//842i9CcP+fzA++D1FKKatWu3SyQ== 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=KF15LCKWosP3lw745GwkAC6G1dFt8aAs5ASuQyNRd40=; b=WC+O4Omne/+XB6aOHmo101zC5rIwN5Dz3iceIy4rpmhYjJKfpZFoPa+3a5WeLqFUmVdMPO4jS7tlIbQw/ev3n1C4QhRfo7FG4IPS+lHfPj1B8sJYVv8hojr0vSEGDFKpVx9JVcWXBNEOXrIjK4kRBPzuplyzTtklLMsLgrsernxEDVLvOTYQJtOMgFuAibNxEGNxLupVynBvPIOyhNzPkuF/QCgAR8bWp+T2cX0x8gF//TjNjBqiWCf7B/BPdmf2l6dY+ktUatFbnakU+RoJHUgqlx7fdyALS9crzH/zwcm52Fmx3kl3PGR/qsMwpyHJOGA6NqW1JyQm4549mm4nXQ== 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=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KF15LCKWosP3lw745GwkAC6G1dFt8aAs5ASuQyNRd40=; b=TN9U4QWPehvFOS5nhklIVOlx23waEW2GaK74Gn4D9cbqwVCxbz+rtDCr4TjEx4hy5jQJVfcRV96HmjSDGMZVksJ3MP8+CoTcIxxb/RFgg5Z/GRo3QjeTOZka5KBvD0OuxEETyLcknAXN3EgiZnGnsYFa31mxzAtxRs9ZN0u1VYg= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB3079.namprd18.prod.outlook.com (20.179.59.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.13; Sun, 28 Jul 2019 16:24:13 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2115.005; Sun, 28 Jul 2019 16:24:13 +0000 From: Jerin Jacob Kollanukkaran To: Harman Kalra , Nithin Kumar Dabilpuram , Kiran Kumar Kokkilagadda CC: "dev@dpdk.org" , Ferruh Yigit Thread-Topic: [PATCH v2] net/octeontx2: fix PTP enable via Rx ofload flags Thread-Index: AQHVRIMUAzsJEsIr9EOqYDIBj6pS2KbgOINw Date: Sun, 28 Jul 2019 16:24:13 +0000 Message-ID: References: <1564068596-1231-1-git-send-email-hkalra@marvell.com> <1564235652-29983-1-git-send-email-hkalra@marvell.com> In-Reply-To: <1564235652-29983-1-git-send-email-hkalra@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.230.107] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fb382005-ce2f-4e35-e7fe-08d713780745 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB3079; x-ms-traffictypediagnostic: BYAPR18MB3079: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 01128BA907 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39850400004)(396003)(346002)(376002)(366004)(136003)(13464003)(189003)(199004)(33656002)(52536014)(229853002)(14454004)(478600001)(3846002)(66556008)(8676002)(66476007)(76116006)(64756008)(2906002)(66446008)(6436002)(256004)(6116002)(8936002)(305945005)(7736002)(74316002)(186003)(4744005)(66066001)(5660300002)(81156014)(81166006)(6636002)(71200400001)(71190400001)(446003)(54906003)(7696005)(76176011)(25786009)(26005)(66946007)(6506007)(476003)(53546011)(486006)(86362001)(11346002)(68736007)(55016002)(9686003)(316002)(4326008)(53936002)(102836004)(6246003)(99286004)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB3079; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: klEuNYlB0Ft5E6NP0ihLJ4Zc4jc25o6cBjPR4T6SgVBF07rbU3gTW6Ax3hRMH2LVTUMZyVr8AZVSAiYKaQ4sES57AR9KowrlpUpdcX1+mpOIhl40g2ok7brtqeTn19nMjcgNuWlvhiLB8++aq78UP1uUV6+uJf0yeWdKcu2Hgkq1ns0TAo6NCxtdhkLVLtHSw1bQWDSdUyswlZ+d2qqiNFdQNd5PlJ/km1W6HnH1G+ZKaM25XiH1voAQtLLgaVXnyY+ZEgx4OvILRvE6tZknqR7Gdgjs4oLkRQTj1jDYNQUVLrkQ01o3/zAX/o58mrKrGCaX4MUNsfB7UAQQDOqTVoIHuXqcTiDNqo/78WnjF9qCr0ZRVEUpmoFlRpq93iy0NkYkJZQEbcKpBjKOUZoi+yVP9+dTHkLnr1H7EA2S2/Q= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: fb382005-ce2f-4e35-e7fe-08d713780745 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2019 16:24:13.2091 (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: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB3079 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-28_11:2019-07-26,2019-07-28 signatures=0 Subject: Re: [dpdk-dev] [PATCH v2] net/octeontx2: fix PTP enable via Rx ofload flags 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" > -----Original Message----- > From: Harman Kalra > Sent: Saturday, July 27, 2019 7:26 PM > To: Jerin Jacob Kollanukkaran ; Nithin Kumar > Dabilpuram ; Kiran Kumar Kokkilagadda > > Cc: dev@dpdk.org; Harman Kalra > Subject: [PATCH v2] net/octeontx2: fix PTP enable via Rx ofload flags >=20 > Earlier implementation for enabling ptp via RX offload flag was causing > segmentation fault as it was getting executed in the device configuration > stage where RX and TX queues were not configured. As in the ptp enable > process rx queues are used for mbuf setup while tx queues are used for > send descriptor setup. > Moving the logic in dev start as all the resources will be configured. >=20 > Fixes: b5dc3140448ee ("net/octeontx2: support base PTP") >=20 > Signed-off-by: Harman Kalra Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/master. Thanks