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 2BC80A0487 for ; Sun, 28 Jul 2019 18:52:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C21741BF35; Sun, 28 Jul 2019 18:52:50 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 5CBEA1BF33 for ; Sun, 28 Jul 2019 18:52:48 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6SGob8C027227; Sun, 28 Jul 2019 09:52:47 -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=mi7v8+jwHRWSMIBf+ucmEnSliDevufzqC72N8MsjvXE=; b=ALpO6mX1u5qXPDmU7Cqzh9Epui6ufREpghRrELmEEoF0jOZNry69RhPzLtmKsZeD009I mIwRa/ceuQl61GiKWsbRwR6SN4O3TK5ImsYkkySx0lEWh78UqGWVmOnTxjZt78Qm9p7U Jmyqod8S2xsDnbhoc5qmd8oEwZEhcRNKzEv6jrvogZcQaNy6ePMboqMOmcIeXi0fK8CG LOyqxwGX2QuBCH9D8JQepPCc4HeCzNhJM5n42pLd7P7q/O044tbBCklfuaDJ9MHmjp5S ZbCm25Cqo1KEroJk8YsCSrRHeHOybzmoQVjK3MsZxjli2pwRPfzAgK5LkLod9rj3DlSu Nw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2u0kypvwc3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 28 Jul 2019 09:52:47 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 28 Jul 2019 09:52:45 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (104.47.32.50) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 28 Jul 2019 09:52:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kblrwc91D3u/1S7OXkK/ETkU1kUjPzC0ecdtoiZEDjHb6wnwlCGKt0u98/AbK4NCw17Bl17mH1nhQtCSMxK0wwkndtKx+lpV/KlyjFxXB2cXixgUtd0rmZKb/J49QbqDQOP8Lb5FKbZmJ2YGe+c/EP/jv7gf0Y+6ioaefZGh0xE+v+ZTt4PsSiaQ16YiMZTF85CePuuKehCPw7tvoxrRP3KyHP0bhiTsTTPv+qxKQNy1i0v0cVoso+V1r+QYxfLlJO7SMfTJXNlQsafaddJtZ6vvmenDv6I/vYpfDMKRtq9jSuSZzAOyuq8ynN4mtH7SNylVK9t4RqHe1DoJj94kNg== 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=mi7v8+jwHRWSMIBf+ucmEnSliDevufzqC72N8MsjvXE=; b=lDvEE28jfDLvkiA+JzAMBTsszpNVq5Fy0YSw2vP6uY8r+BCs1MOhM9MaLdGnL9lHuyZgDwsib+AUqo5eVLO8T5QlsPs2eM8q00D94BR/7gBNzsbm78Q1hXwzd6Y2rHdTyBG/z77r2ey2HPy8j2lWzEQrOBlBwrt7Y1LYX8MtaBLDCRtQRQI1j6tB58n7CzEYZxiymeKjFTRf5nPC1fSvoKIQIzedbBO226qH63VEdDeCytHcNUs3sDKe6FZpnu0duOzv5eA0lWHTVctfl23OmMIBb7O39iFu8b4ZclDOAHIVCf5seRrFm8tBhazt+LL1fsHlFbgIyKj7ciyobKqhdg== 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=mi7v8+jwHRWSMIBf+ucmEnSliDevufzqC72N8MsjvXE=; b=hRgqKiS8oCO78JilMti5Ax/VBTjvW4VyH7OeQILXszcfRzzyXR4VQXFrmlnixEbrrBhM57v8HfLSgics3FTk6JI3oZpPwFBaFjpCEiZ5Aa4D5BrTLNqEDOl4FShKNGns2CQwLZsGGEVkuytv5TjutImdpMnQidSTabDEQTnFb5w= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB3064.namprd18.prod.outlook.com (20.179.58.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.10; Sun, 28 Jul 2019 16:52:43 +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:52:43 +0000 From: Jerin Jacob Kollanukkaran To: Harman Kalra , Pavan Nikhilesh Bhagavatula , Nithin Kumar Dabilpuram , Kiran Kumar Kokkilagadda CC: "dev@dpdk.org" , Ferruh Yigit Thread-Topic: [PATCH v3 1/2] net/octeontx2: fix ptp performance issue Thread-Index: AQHVRSQvjdFgpfiPVkOen6s6yLzu9abgPzcw Date: Sun, 28 Jul 2019 16:52:42 +0000 Message-ID: References: <1564304876-13274-1-git-send-email-hkalra@marvell.com> In-Reply-To: <1564304876-13274-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: 12e77d03-22fc-439a-5aa9-08d7137c0238 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB3064; x-ms-traffictypediagnostic: BYAPR18MB3064: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 01128BA907 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(39850400004)(366004)(396003)(346002)(376002)(13464003)(199004)(189003)(53546011)(6506007)(6436002)(186003)(110136005)(26005)(6636002)(76176011)(54906003)(2906002)(316002)(256004)(486006)(86362001)(55016002)(66066001)(71200400001)(71190400001)(446003)(11346002)(476003)(229853002)(8936002)(6116002)(52536014)(33656002)(53936002)(68736007)(9686003)(305945005)(74316002)(6246003)(7736002)(4744005)(478600001)(25786009)(102836004)(99286004)(7696005)(5660300002)(76116006)(64756008)(66446008)(66556008)(66476007)(66946007)(4326008)(8676002)(14454004)(81156014)(81166006)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB3064; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: 8ILCFZ+KkxIED/fmBZD+fOrtI+Ih4ml6FjGmbn9rOoYp9WU+WVr7k28t4miXbkzjxVZmXGRZ98V4C7S7Y9/kimU8FGh2VvDSlyqGPluHv/WUpHiYFB2Bjt6HG3w0RHVbGoKFgfjgkkCK82R32QgsjDXbngSmhy6zuloE/2oYq2BpSdQq9IZTMqLjuc9n4UjvnnrmTHNKRs39mMta+l2OOeFVI4PSelrj8laijOtUFdXliSYSMypP0hveVvoRIbHv1vcPBmS2p4g3EPYifdrT6m/Hah+ZwayHI1lSht65FhO431EK0pi0K6jNlfHqh9bO1p22mLjSFbc4rXLAOPjF77rTYPTZX7ndFPbOFi6fJezi0Ca/6YbAkev3aOdjae0UF4Yf7qm5ZCP3Hwao5mhV3dhq4c5w1k6qTktg+tEMy1s= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 12e77d03-22fc-439a-5aa9-08d7137c0238 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2019 16:52:42.8415 (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: BYAPR18MB3064 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 v3 1/2] net/octeontx2: fix ptp performance issue 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: Sunday, July 28, 2019 2:40 PM > To: Pavan Nikhilesh Bhagavatula ; Jerin Jacob > Kollanukkaran ; Nithin Kumar Dabilpuram > ; Kiran Kumar Kokkilagadda > > Cc: dev@dpdk.org; Harman Kalra > Subject: [PATCH v3 1/2] net/octeontx2: fix ptp performance issue >=20 > A huge drop in per core MPPS value was observed when PTP stack is > enabled. The reason behind the bottleneck is HW serialises the transfer o= f all > SQEs, which seeks timestamp capture, on the same send DMA path. Hence > only those packets which requires timestamp capture should set SETTSTAMP > in send mem alg. > With this patch timestamping would be done only for those packets with > PKT_TX_IEEE1588_TMST set. >=20 > Fixes: fb3ae0951abd ("net/octeontx2: support Tx") > Fixes: 8980a153006b ("event/octeontx2: support PTP for SSO") >=20 > Signed-off-by: Harman Kalra Acked-by: Jerin Jacob Series applied to dpdk-next-net-mrvl/master. Thanks.