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 DF243A04C7; Tue, 15 Sep 2020 03:18:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C0DF61BFC4; Tue, 15 Sep 2020 03:18:01 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B83D6160 for ; Tue, 15 Sep 2020 03:18:00 +0200 (CEST) IronPort-SDR: lYLUYBiI9H94vxp+j+OsXC7bCD9CcB8trA2m1dQi6dG3TjOIneQ0jr+JDcWP1yjULHU/k1ZBCX VMdixy2MJpoQ== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="156576760" X-IronPort-AV: E=Sophos;i="5.76,427,1592895600"; d="scan'208";a="156576760" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 18:17:59 -0700 IronPort-SDR: ADYejqCZ+aX/e2VtQgq9YMvadGiDNe/7KPlA3FzdUdOTFZpg9i+Phk1yXvmi9tKohgEQ/opj66 MMj1ZbAbH1zw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,427,1592895600"; d="scan'208";a="306383205" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 14 Sep 2020 18:17:59 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 14 Sep 2020 18:17:58 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 14 Sep 2020 18:17:58 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 14 Sep 2020 18:17:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mfAY4KooRuD2ZFIPs15fvW8zqWLbFhzMqa1auuIDlsbuGsnTB1qDg+JpztJQmiakTCR5HpZX6X0rhCsAPePSn9F1DW7+tvAg/XzjABWLk8F7CqbaWchmEOdNUTf/7bju6zEgPYZMqMIAuyfxCklgXvCREAgM90ExPYa6NBw9G1DP6XrpLoV8lvPnDe3eXRoUkPKiqxbLBocK1OZoVzAi+HNZYKE8uGXSfYr0ulbCXxcvh0zglJ7/1SRnP9C1Ef4tVab0X0uo9V9f02ILN+1ZyCufRDbf94fX1Nwmo2p/54NvD3WGBti3r+4TBZGHXRo85rNkS9lLbACaPGU4mgHr8w== 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=DpamrvdoVsTFpEEpo2IvoDxq74vbzRzVy3oFVqFVOZk=; b=YlPnfkMSNOeI+bEOp6FsnDTak5gEitB90k6/rhua7IIep9SJnOuLFORoW20hhi0F5S/9G6iKmtavnnlri0JaJDpA8OudEhDXJ0cP3RvOnZc/OvQUzh0rMxgZg9dxvs6xAqFWs7KRhA3hPW4dc8nMNU2XOYUqL+msWsFgk0GOqwvF08s1AzVIwb/RjEMi1dzkwJ46J9bMQy0JlOy+K+jsaj2T7p4YpqS+o9iiOXhpk5zfM34BhxpbIV3QvbZ6WjQ0E/V5aJr8Ofgwadhsr0xGRz8p7cp+OpunuLwS8mYo0+FOPVK0ZwPGHREWyw0qUHD6zZmSBuTbmA+/LFj3wmCGRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DpamrvdoVsTFpEEpo2IvoDxq74vbzRzVy3oFVqFVOZk=; b=jlpnmi5B/YFheah7QY9wjSLfPJQB0cUum7HP1hNWHSLRdpq8cSs+D0opygfHj9d8L5Q5tsEnhlbSHq9Xb42RVMjnfXLrLn/O0PLwAqMX1EprRuwXA0LYat0YjQVuPH5lxWtkOhbFuBwnLY7ANnC56l3bRvyEE11DRGnAfWKc/sU= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN6PR11MB1908.namprd11.prod.outlook.com (2603:10b6:404:103::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.17; Tue, 15 Sep 2020 01:17:57 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::e4a8:91ab:e032:b8ae]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::e4a8:91ab:e032:b8ae%5]) with mapi id 15.20.3370.019; Tue, 15 Sep 2020 01:17:57 +0000 From: "Wang, Haiyue" To: "Rong, Leyi" , "Richardson, Bruce" , "Lu, Wenzhuo" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "Rong, Leyi" Thread-Topic: [dpdk-dev] [PATCH v1 2/2] net/ice: optimize Tx path on AVX512 vPMD Thread-Index: AQHWh0HU3JBgFlOubUOQ9vBh92asfKlo7WVg Date: Tue, 15 Sep 2020 01:17:56 +0000 Message-ID: References: <20200910065504.104217-1-leyi.rong@intel.com> <20200910065504.104217-3-leyi.rong@intel.com> In-Reply-To: <20200910065504.104217-3-leyi.rong@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ee3574c6-e4dd-4ab9-7e0e-08d859152dc9 x-ms-traffictypediagnostic: BN6PR11MB1908: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /1mtOIKojvv+Eu13muV2yyHgAEXMd+3m8ELd8NvMNGbZbVn/FGkMl4Z80YWNSCcc+1HTv9vsvuYO50xiK4WFYlzpqVqjqI+fji7mk191xYZBkQXuRdVZ7HA6wcyVSz3eIUbJNLvSEwMHeIghTLTAi3UCLszzhTNIIbsu0t6Uc3xZowt3iDy5J7w5/seITp1wDzeiH+Kf2+xbovm5tBFYnKTmRiRGD8/wmilvEx7puh5Z9oi4zZdwWiIUgNdHesi/z3b2Khx2NH6fM+Vk1aTBefNW9BAfAPJv0rXC/0X2fTDnHpBQJAzPpueutc0c/SG2K54zfqQAsB9D9n2hBJg6Bg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(346002)(376002)(366004)(396003)(26005)(7696005)(2906002)(71200400001)(4326008)(66476007)(76116006)(66446008)(66946007)(66556008)(64756008)(186003)(316002)(6506007)(53546011)(107886003)(6636002)(55016002)(5660300002)(83380400001)(110136005)(54906003)(52536014)(9686003)(33656002)(8936002)(478600001)(86362001)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 9HLzW53x4q/lnb14Uyh9ja9mhH5o4mboLPAiqNDsRU1QJApOO9AOiGdzhLgFls55uIaT3D5UOL59fQZLTvokS7lnlovfxwuZ/NasMuI36W3v5x6ud5EyviSNoly9Xqv9WfYCtxyu4hx5VPCdU/a9hoIK27d/XVtQrI1aqmdFL0+pJCatYYEm+TeFjkUONeMWv4zkm67AlK4jYqh5VZWk5BH4Tt2lOkLBoTyvwwhtFXgRjou7dZGINY0m2BKOttVfm+M2y+3FAQ9EnVQ9Ed5nnedCqcQKhhuoxnl5P3s+JmkbvlD3iOqGRfd+2tV0VZWPEpm/5D0wLrWhNkmq2c+Q0FW9qzehZx3IhAyhQzbT8Y2Yp1aAlt5Yd64kQwyaVAXWOJ674pMME2d9aPKCWNhPG01n9u1DKQ+Bx+yPUmktck1nY4eXuDwlXx4kCXrcM5cZs81/wWhYb0eQNMwgjOR9kXS0Zp4xo0BDRS4pyWcjcr7UbhlGdwYPqbMz7YeZOh5DiFxz1Hm9CFtJePwX8mIasNO7nAuKqRtKZZQ4mB6HEW6F6ygbz1VcZAeLGAMtCeW0R9jon9knTegw3s3Eiz1lLc2sjx8yp2W5aMVdlfStNuU8GCGjct+UWPW1xu0Tz4yLzR4zFqrqEsdo7zY+E/FZ+g== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee3574c6-e4dd-4ab9-7e0e-08d859152dc9 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2020 01:17:56.9530 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nkFFgi74VV3qNF4aVbgzFHYIu9J0PHyTo1VIF2O59OqJv3WnyUe9UfP1M/uwyl/T5RIQg32WbQqIQUBWwPPm9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1908 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1 2/2] net/ice: optimize Tx path on AVX512 vPMD 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: dev On Behalf Of Leyi Rong > Sent: Thursday, September 10, 2020 14:55 > To: Richardson, Bruce ; Lu, Wenzhuo ; Zhang, Qi Z > > Cc: dev@dpdk.org; Rong, Leyi > Subject: [dpdk-dev] [PATCH v1 2/2] net/ice: optimize Tx path on AVX512 vP= MD >=20 > Optimize Tx path by using AVX512 instructions and vectorize the > tx free bufs process. >=20 > Signed-off-by: Leyi Rong > Signed-off-by: Bruce Richardson > --- > drivers/net/ice/ice_rxtx.h | 4 + > drivers/net/ice/ice_rxtx_vec_avx512.c | 147 ++++++++++++++++++++++---- > drivers/net/ice/ice_rxtx_vec_common.h | 36 +++++-- > 3 files changed, 158 insertions(+), 29 deletions(-) >=20 > - _mm256_set_epi64x > + __m512i desc0_3 =3D > + _mm512_set_epi64 > (hi_qw3, > pkt[3]->buf_physaddr + pkt[3]->data_off, > hi_qw2, > - pkt[2]->buf_physaddr + pkt[2]->data_off); > - __m256i desc0_1 =3D > - _mm256_set_epi64x > - (hi_qw1, > + pkt[2]->buf_physaddr + pkt[2]->data_off, > + hi_qw1, > pkt[1]->buf_physaddr + pkt[1]->data_off, > hi_qw0, > pkt[0]->buf_physaddr + pkt[0]->data_off); 'buf_physaddr' will be remove in 20.11, we need to use 'buf_iova' instead. > -- > 2.17.1