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 BEE5AA052E; Sat, 7 Mar 2020 16:04:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 195761BF90; Sat, 7 Mar 2020 16:04:14 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80072.outbound.protection.outlook.com [40.107.8.72]) by dpdk.org (Postfix) with ESMTP id CFC5923D for ; Sat, 7 Mar 2020 16:04:12 +0100 (CET) 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=IRiDC97eio2tLf8vOh6FFnngh1lyNMUictmphgsBn+k=; b=s5tVNlwaYuILVPqM3HXUSEtZjxHia1IAT32CBZ6No5j9z9+6teILscX4tv5lF7n1wIfRdORcZ6xLcAmCpQheNCXL6tqbnpMuWNjy2mEB9mtXcsGxjh1Kd5aHgn1CyZzqL1CDWaIs19kehSC65pUY+cpsTj3GWVf1gVx4wx0JS24= Received: from AM6PR10CA0061.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::38) by AM0PR08MB4497.eurprd08.prod.outlook.com (2603:10a6:208:146::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Sat, 7 Mar 2020 15:04:10 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:80:cafe::8f) by AM6PR10CA0061.outlook.office365.com (2603:10a6:209:80::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.15 via Frontend Transport; Sat, 7 Mar 2020 15:04:10 +0000 Authentication-Results: spf=pass (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=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.11 via Frontend Transport; Sat, 7 Mar 2020 15:04:10 +0000 Received: ("Tessian outbound 846b976b3941:v42"); Sat, 07 Mar 2020 15:04:09 +0000 X-CR-MTA-TID: 64aa7808 Received: from e7442536d03f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 524AABFC-D2EC-4CE0-8B59-FA573B023CB5.1; Sat, 07 Mar 2020 15:04:04 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e7442536d03f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sat, 07 Mar 2020 15:04:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DV04npD4ux0mX2isWoWZFaANv5MievL7xT1AKLC3+JzwxbntAlfAEtW/pLEspTZPXCIfKWIkp84rdQ0Xnx51wQVcvWImgza/5xU0v20FXgEyWD5DKYjga4s6oFP4aCk9+09LJIfldSI4tlIXeftvTt27VDX9YaNT/uDVUvDL+k4tJoPmT/pIsZrSV0J9x5ark/BCJz3mR+9DeyfCyziUI+9DQzz1XMi8iohUXoTQ+aDYlRz2At6a7brf6airbtPNaCFbJJkX79lhJH8+9wiR+ibOvj9SCZW0ZbzwXDJbnONxXmlSuchVqgbu/XjduSQoUictC05sppkuqjfXFeUHmA== 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=IRiDC97eio2tLf8vOh6FFnngh1lyNMUictmphgsBn+k=; b=l+9u+HIxfVn9sHGRIaRK06tmiieLNGhYNexS1KQ46ySkDqqkHK0wUbe18ze7AgS69UYjqbL/FbuKEn5/Jpdqpw9VAsN8nRixUHk1l1aOwf++TLm7ph/NP6H0jAtrWJe9tn6CQy4ztgobxphsbBo+Hg7OqOPXfDGK8ND6Y2H6H8Wz1S9C9Tb+qeN8qj5Mz4W+/SAINUoa3kOYPIyhnXAkAtByCcjzXlOlohRl9+cabKxq9CjA2keFI0VwyejQf62xRRWN7gziR3xmbgLB43qL+QApW8gIPAf/RGiN0I9tqFy3nOdzex3aHs8d+usHECJVevJOX3VrQ4nebs7Oc2mD1Q== 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=IRiDC97eio2tLf8vOh6FFnngh1lyNMUictmphgsBn+k=; b=s5tVNlwaYuILVPqM3HXUSEtZjxHia1IAT32CBZ6No5j9z9+6teILscX4tv5lF7n1wIfRdORcZ6xLcAmCpQheNCXL6tqbnpMuWNjy2mEB9mtXcsGxjh1Kd5aHgn1CyZzqL1CDWaIs19kehSC65pUY+cpsTj3GWVf1gVx4wx0JS24= Received: from VI1PR08MB5376.eurprd08.prod.outlook.com (10.255.196.79) by VI1SPR01MB0373.eurprd08.prod.outlook.com (20.179.28.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.16; Sat, 7 Mar 2020 15:03:57 +0000 Received: from VI1PR08MB5376.eurprd08.prod.outlook.com ([fe80::a0e2:2a9f:be7b:4b15]) by VI1PR08MB5376.eurprd08.prod.outlook.com ([fe80::a0e2:2a9f:be7b:4b15%3]) with mapi id 15.20.2793.013; Sat, 7 Mar 2020 15:03:57 +0000 From: Gavin Hu To: Jerin Jacob CC: dpdk-dev , nd , David Marchand , "thomas@monjalon.net" , "jerinj@marvell.com" , "Ye, Xiaolong" , Honnappa Nagarahalli , Ruifeng Wang , Phil Yang , Joyce Kong , Steve Capper , nd Thread-Topic: [dpdk-dev] [PATCH v1 3/3] net/i40e: auto-vectorization to speed up Tx free Thread-Index: AQHV84soocG1OCQQjECKlmfogws5f6g9OpwQ Date: Sat, 7 Mar 2020 15:03:56 +0000 Message-ID: References: <20200306050427.66114-1-gavin.hu@arm.com> <20200306050427.66114-4-gavin.hu@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 06a471a3-ca8b-4bd9-b969-2e95e4663933.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 274e1c2a-7d33-4a86-3996-08d7c2a8ca84 X-MS-TrafficTypeDiagnostic: VI1SPR01MB0373:|VI1SPR01MB0373:|AM0PR08MB4497: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:4941;OLM:4941; x-forefront-prvs: 03355EE97E X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(376002)(396003)(39860400002)(346002)(199004)(189003)(86362001)(6506007)(53546011)(55236004)(7696005)(66946007)(5660300002)(9686003)(55016002)(478600001)(52536014)(66476007)(64756008)(66446008)(66556008)(76116006)(316002)(8936002)(8676002)(2906002)(186003)(54906003)(81156014)(81166006)(26005)(33656002)(4326008)(6916009)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1SPR01MB0373; H:VI1PR08MB5376.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: FYSvZMPZhMVZ6JxfkJbGSqCh7lV8bs31nJWGt7YSOC78nADX3kc9EiM06t6Kt8fXSz0MvCMF1P+8u9YLTtshWWVOKL0IcQeoFKzyAl5kyik2zfHk9AvNvkji74uJ7IdMjjMyOWuJknePWn48KZ1PcVvqPsFgQezBy41B9qASMXh6dYQGp9PB3mL07TToBzy83lTH8z/uuXjzfs3cSMttfF5pat+cbcHa8cRceAIQPwDR6cZdWpQLc8W74Z2Ys1tCE6qT9fI3HHxJpcP0Gi6W9C61t/uhNs4X6xzyPmrQjpdy6POF1jlo7ays2z4eekFx2GrrFIXFqvKXR+g7Ap+yu9h8ME7Sg/hhBU7xx+/4LaO2fTWKigeNn9t9NpHgdc0M/V1EJtFQoQB4YsuIXkEgvSvc4soYkmTGqZyVcRpOZ3FziAePTZz2cMpG5y5vsjab x-ms-exchange-antispam-messagedata: nVOjVYc7dGP0e5Tr6scp295ZnyE/dF5UCrvAyTFRXnBcv7FE0Ix71b1QmuEJIV374tgOhGzmvd/Mp3ZWMGBKgY2tKiTG7NA9XSzApNMJJWFyZiyDB83KHCZ6PoSwahfauhc0uFEclOhYKUO9k2vjKA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1SPR01MB0373 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT025.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)(376002)(346002)(39860400002)(136003)(396003)(199004)(189003)(6862004)(336012)(55016002)(26826003)(81166006)(70586007)(478600001)(9686003)(186003)(81156014)(8936002)(7696005)(70206006)(8676002)(86362001)(54906003)(6506007)(2906002)(36906005)(316002)(53546011)(52536014)(5660300002)(356004)(33656002)(4326008)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4497; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; 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: cf1dca16-0fca-44b5-8dff-08d7c2a8c29d X-Forefront-PRVS: 03355EE97E X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AD7EqPmPWej5Edks//4FFO/Iku7ufJ/b/mjjz6T/x5A8s8xmR+dOnazaypEjw5q1sJLgOPZYtmkuiTUBz9DOcssdaqirl3l+LbYdmoD76GHO6jo5Eea7KJCAHFOr4kmVsZCi6dCqXApCljTQuCkWaKGhgt+39SJFwVMY30A8LGkuavXR+hFjV6MsDkwMTYc2ahm5oc+Vvsfa3qMGaUePk+8YEYnFV3ccubarV1kXLmHC+Q2KdvTNvDzzFqwvwE9x71UB/wgEvQmWREGgwT56dHCySVP6oOYE8yRI3UPbJ5vE2Oj1nOKFVsKrccs4B5GAF9whT+hYl43GL/STygV+CpHP93CGpkQmZ2O+9zXvl3E0MQnTht4f6zXNA7wgPeYUICKg5LndUNEJsz9l6KvpFFaK6PbUHslV1TgzYazQDROFBfLAO2SX8YP6VV5iPTvq X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2020 15:04:10.3601 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 274e1c2a-7d33-4a86-3996-08d7c2a8ca84 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: AM0PR08MB4497 Subject: Re: [dpdk-dev] [PATCH v1 3/3] net/i40e: auto-vectorization to speed up Tx free 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" SGkgSmVyaW4sDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVyaW4g SmFjb2IgPGplcmluamFjb2JrQGdtYWlsLmNvbT4NCj4gU2VudDogRnJpZGF5LCBNYXJjaCA2LCAy MDIwIDM6NDUgUE0NCj4gVG86IEdhdmluIEh1IDxHYXZpbi5IdUBhcm0uY29tPg0KPiBDYzogZHBk ay1kZXYgPGRldkBkcGRrLm9yZz47IG5kIDxuZEBhcm0uY29tPjsgRGF2aWQgTWFyY2hhbmQNCj4g PGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20+OyB0aG9tYXNAbW9uamFsb24ubmV0Ow0KPiBqZXJp bmpAbWFydmVsbC5jb207IFllLCBYaWFvbG9uZyA8eGlhb2xvbmcueWVAaW50ZWwuY29tPjsgSG9u bmFwcGENCj4gTmFnYXJhaGFsbGkgPEhvbm5hcHBhLk5hZ2FyYWhhbGxpQGFybS5jb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