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 C8324A00E6 for ; Thu, 8 Aug 2019 12:22:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F7A21BD43; Thu, 8 Aug 2019 12:22:10 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50053.outbound.protection.outlook.com [40.107.5.53]) by dpdk.org (Postfix) with ESMTP id 99B7E1BCB8 for ; Thu, 8 Aug 2019 12:22:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JKSwodQtaZ7zE69+ou2Nn6o+hcpE2phcTwmKmLvFdag=; b=mKunaBCAcA5TRQrE4Yc2dx85JcsdaKDZGnDUpzDUE7JEkS5P/cwmHG/QziDtqau/dyTkWawx1qvim8Ydt4eH6MEKTDLTBOhBFOgw2tbISc5+EUIZD3gBMc7nxbuQFKEl4NlC/rN42Tn5wSu0jwBGrpuQAQPcRgUACd9waeEZP2E= Received: from VI1PR08CA0127.eurprd08.prod.outlook.com (2603:10a6:800:d4::29) by VE1PR08MB4960.eurprd08.prod.outlook.com (2603:10a6:803:110::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.15; Thu, 8 Aug 2019 10:22:06 +0000 Received: from DB5EUR03FT064.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::207) by VI1PR08CA0127.outlook.office365.com (2603:10a6:800:d4::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2157.15 via Frontend Transport; Thu, 8 Aug 2019 10:22:06 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT064.mail.protection.outlook.com (10.152.21.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2052.18 via Frontend Transport; Thu, 8 Aug 2019 10:22:05 +0000 Received: ("Tessian outbound cc8a947d4660:v26"); Thu, 08 Aug 2019 10:22:03 +0000 X-CR-MTA-TID: 64aa7808 Received: from 327a9b6b633c.2 (cr-mta-lb-1.cr-mta-net [104.47.0.54]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id B9E868A6-3008-485D-BFC1-6FA20415B40B.1; Thu, 08 Aug 2019 10:21:58 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp2054.outbound.protection.outlook.com [104.47.0.54]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 327a9b6b633c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 08 Aug 2019 10:21:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F0VyGrGciq/AfOUItPycWMZDr+iTb0Qjl7IcPautpG03bk1gDSNagJ5MFITVQESvxgMdQwGeOmwvlJv873DmeiSFt/0AyO1WX97e2pXJ32n0ioue/uaIwbxJ5DymAiZPWvXmOqanYVI4+UA4OH/2BX5DFOIZoNKf5ddT8sLqdlaHSn20lmKnK05O9q5ix/SUSjtlPDpKr20WLURTx7UTOjgb0NhjWNnzrg8BQARdcvt/VKfzaOtWYOCOhLr6Vddkb2ywCfRbj86oweTXYl3pjALm3Wiyr1il7wECZzDcly3YQvwRhOB9ji61OKvSl4nmie7QLSUMa3KPSH8+bGRUyw== 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=JKSwodQtaZ7zE69+ou2Nn6o+hcpE2phcTwmKmLvFdag=; b=MXcfmjYGju3sEpR+wPl55EZRWSyKECDNUJWDQQkRPTW+Ql92WtZDV6XjGgZsCLtUXTwFoVz9WNvUoIWeR30wuFzGRy1nJ8W4V1+SmodEajipfnotrHCl8WpGrW5sgCPMfSwL13JfgcU8NDu3SIvHGwRpyQvaJvJS55DJxZuA2C+mF4Se6T+pZ+gxABalASbntIZClLrpsnfZDJSJNU5zuPSA3nbWyiczVJTsXGX9oNVYSFawThYnqDKhex6QgoZe+hgPH6jWFAhaqTUM8j+F65ODGO5N0cTu5ApoiN8K/dDFrKoswH65CspDW2uFjuX4bdFjQyD8GrhuEG5XlhhJUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JKSwodQtaZ7zE69+ou2Nn6o+hcpE2phcTwmKmLvFdag=; b=mKunaBCAcA5TRQrE4Yc2dx85JcsdaKDZGnDUpzDUE7JEkS5P/cwmHG/QziDtqau/dyTkWawx1qvim8Ydt4eH6MEKTDLTBOhBFOgw2tbISc5+EUIZD3gBMc7nxbuQFKEl4NlC/rN42Tn5wSu0jwBGrpuQAQPcRgUACd9waeEZP2E= Received: from AM0PR08MB3986.eurprd08.prod.outlook.com (20.178.118.90) by AM0PR08MB4481.eurprd08.prod.outlook.com (20.179.36.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.15; Thu, 8 Aug 2019 10:21:56 +0000 Received: from AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::9837:70f8:ce94:8324]) by AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::9837:70f8:ce94:8324%7]) with mapi id 15.20.2115.017; Thu, 8 Aug 2019 10:21:56 +0000 From: "Ruifeng Wang (Arm Technology China)" To: Bruce Richardson CC: "users@dpdk.org" , "Zhang, Qi Z" , "Gavin Hu (Arm Technology China)" , nd , Honnappa Nagarahalli Thread-Topic: Query on IXGBE vPMD barrier after descriptors load Thread-Index: AdVN0xj0z30o+NJxT06OgbgVkznbeA== Date: Thu, 8 Aug 2019 10:21:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 35ce0840-b711-48ad-8380-7278c077e211.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 5bdc6dc0-def6-4ccd-50ef-08d71bea42aa X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR08MB4481; X-MS-TrafficTypeDiagnostic: AM0PR08MB4481:|VE1PR08MB4960: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:5236;OLM:5236; x-forefront-prvs: 012349AD1C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(396003)(39860400002)(346002)(376002)(189003)(199004)(86362001)(25786009)(30864003)(6116002)(8676002)(966005)(3846002)(186003)(478600001)(4326008)(6306002)(71190400001)(74316002)(33656002)(53936002)(2906002)(102836004)(76116006)(7696005)(64756008)(52536014)(6506007)(6436002)(55236004)(66066001)(9686003)(66556008)(66476007)(66446008)(55016002)(66946007)(81166006)(99286004)(256004)(5660300002)(26005)(316002)(486006)(305945005)(14454004)(81156014)(54906003)(7736002)(6916009)(476003)(71200400001)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4481; H:AM0PR08MB3986.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: sFyF0zPBE+Ik+u/95QconHJ3AkUbj/VVafhf4XOQM2Lbo0P3YlhpHjvm1X1ZaAwlFvFQvI7OE5ELeWj+uLwKOM0kBZT375uPIFky9jivwuNJExDP3xIMVNNCeqZg16xwmi/dn4UJyjUukuJyJ4Vqehj2ffNhC3o+69u6uL5TKLZc9xedQagCFPdcMDbYUcM8Z0YrEEt3lHMQyu4qQfnDuAHKMLdP+kgMDXyVwlaTsjk+RQl9fTULNGSKDAvH+dxzMWuwF+j9efFaAKMeS/MsNmAWf6cIkdIzInXbaS1+3c5vUiEFpqpDCz2Oe8ndM9LIm3jd65c1LQKfKUpu3YTwV/nBcqgMQiau/PGVfrn/+fNOSTYVp+EBzXmzDZBfpzWpchY1q2YNCcmptWY3AnGvKH15CTjXDln7HfZAcTtuQiQ= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4481 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT064.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(136003)(346002)(376002)(396003)(2980300002)(199004)(189003)(356004)(186003)(478600001)(33656002)(336012)(26826003)(7696005)(86362001)(26005)(102836004)(5660300002)(55016002)(76130400001)(126002)(9686003)(486006)(476003)(99286004)(6506007)(70586007)(54896002)(71190400001)(6306002)(70206006)(52536014)(236005)(22756006)(2906002)(16586007)(316002)(61614004)(6116002)(3846002)(54906003)(606006)(66066001)(81156014)(81166006)(8936002)(25786009)(6862004)(966005)(74316002)(5000100001)(14454004)(63350400001)(7736002)(63370400001)(4326008)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4960; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: ee9c30ba-e29a-4306-975f-08d71bea3d4a X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(710020)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VE1PR08MB4960; X-MS-Exchange-PUrlCount: 2 NoDisclaimer: True X-Forefront-PRVS: 012349AD1C X-Microsoft-Antispam-Message-Info: 4nr/pdX0H6LEnbHOEvTDyUUy3Uqotu049Lul9AD3y0aCxzLCCzdLFI63OvWNg27Hr6X7flSwz9gaPCezqNfZXWi3wJe47NR2njw80GffWYb88HA0ypS6IUxyaSPcOkHN28gcwHKfbuNRjMgKPUyolYDfQPPwcZY2kPuFFGBNeH3lRJ5a3BF+bv+/oOJW6IhPxWkeCQc0OZ4yORbuV7TJo8EO3xxsrwA9Pg0x2ml4ZK+LzFj9+dbBKJ/tskUF7ypvDbiF6WVhnGeT8hT01If8tk/0+QOw6xHhFCb0RcwbjaZpOMI5dPCRz4REMRavgb4v+iGWV4CcUsNOu7cFXQSJsfYNhy+YGuzgYndPZlLIxRU0gdfA0KHEhXzGDJFCiiQuVdlRmgBJkVQU+YxtGtxOBoT70/6tfM0tRGrziEt5LcY= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2019 10:22:05.0419 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5bdc6dc0-def6-4ccd-50ef-08d71bea42aa X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4960 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Query on IXGBE vPMD barrier after descriptors load X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Bruce, When reading IXGBE vPMD code, I have doubt on the barrier used. Hope you c= an provide more info on this. In function _recv_raw_pkts_vec, there is a compiler_barrier after load of d= escs[0]: https://code.dpdk.org/dpdk/latest/source/drivers/net/ixgbe/ixgbe_rxtx_vec_= sse.c#L469 Could you give some hint about what sequence it is ensuring? Similar barrier for NEON vPMD on aarch64 platform impacts performance much. Regards, /Ruifeng