From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6D493A0546 for ; Tue, 6 Apr 2021 14:23:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D9314067C; Tue, 6 Apr 2021 14:23:08 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id EEA3F4067C for ; Tue, 6 Apr 2021 14:23:06 +0200 (CEST) IronPort-SDR: JXvWHiHXaQDmX6n4r0TIr5aU+atWQYgT/iXn7eQmQ3OUO6LiYvbBbVDDTX99SOlVBKvQqt4BnX mv1CZnB1lVig== X-IronPort-AV: E=McAfee;i="6000,8403,9945"; a="173130970" X-IronPort-AV: E=Sophos;i="5.81,309,1610438400"; d="scan'208";a="173130970" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2021 05:23:01 -0700 IronPort-SDR: 2T7DAxzGz/Sgw5DWkHL74GkYjjW1c2qWBHAfnTMw3wk+/ij7VGpjBmftWgO2qVHYQt0x7pS0yu Zhv74brb59uw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,309,1610438400"; d="scan'208";a="418336808" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga007.jf.intel.com with ESMTP; 06 Apr 2021 05:23:00 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 6 Apr 2021 05:22:59 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Tue, 6 Apr 2021 05:22:59 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.106) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Tue, 6 Apr 2021 05:22:43 -0700 Received: from MN2PR11MB3550.namprd11.prod.outlook.com (2603:10b6:208:ee::21) by MN2PR11MB3805.namprd11.prod.outlook.com (2603:10b6:208:f4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26; Tue, 6 Apr 2021 12:22:42 +0000 Received: from MN2PR11MB3550.namprd11.prod.outlook.com ([fe80::8824:3385:f40b:a60d]) by MN2PR11MB3550.namprd11.prod.outlook.com ([fe80::8824:3385:f40b:a60d%4]) with mapi id 15.20.3999.033; Tue, 6 Apr 2021 12:22:42 +0000 From: "Coyle, David" To: "Lu, Wenzhuo" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 3/3] net/i40e: fix segment fault in AVX512 Thread-Index: AQHXJSXTVU8KrNj90EOnkP13zaLPwKqndKXQ Date: Tue, 6 Apr 2021 12:22:42 +0000 Message-ID: References: <1617074128-50681-1-git-send-email-wenzhuo.lu@intel.com> <1617082176-51391-1-git-send-email-wenzhuo.lu@intel.com> <1617082176-51391-4-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1617082176-51391-4-git-send-email-wenzhuo.lu@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows 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: [51.37.107.209] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ad9faf4b-f421-48fa-8158-08d8f8f6ad2c x-ms-traffictypediagnostic: MN2PR11MB3805: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LzfIwe0yH2ZyGYctfOvRfwxKL0G3+xTFvSD/dPFuU5p3ue/iRLGw2pUH+LjnCwXSGuzVXaRbUkTJWLmndKLOsNH0C/s60P3iJlo68YnknFOhRsHhzPVot0+1/akofSu9RSVnd283Cz6wFAqrkFwqE1SPS6v7w3JfnVnOQ6iOlhbSbvfBsTDVM0jkuG0jbSYUIYMktG/g7Bm1NDDmMuR8QR7U7aOC99lsjfoi9SwAv4yFaKl+ONpzY2gtB+TTYNEeRCSmTm2+bdIcSnAm38Rxm3hOfb862WOE6rt6nJTJE3evAtgtVuq/G1sa4mPJ0DH5QdrdY4Wzr7to5+k6bXKdEfZpOLavqv9tj5gAygxci1CbFja0/Sn1mBJiAu+jrI86jGEigmYjqsdUIloqAP0l2U/mD7AezF60gMAYhnpKmZl3fxnWGj/m3tmHmotoxuh5uQ2bzDxFRomPzUjJuDCP0ugwrZNDqpw5HeaWKKcaGss4PbWtKzdAx8iz4B4S114pRFhj/ZHABtvZIln48IUqWQ709n3B+TVBFfw48MOtLr4eDV6HBDbzuX7WAZJ9+rkYFRQAJWsQA+BBPGg3QRCq+c+N5zj+8nCsUKkfwBhkAcdIHSlbrwEFEW9GXX4K7uCIU1jDwQv3shXIJUMCa5/0hscf0SFbGpChK0dx5uidPjY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3550.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(366004)(39860400002)(376002)(136003)(346002)(33656002)(55016002)(4326008)(38100700001)(8936002)(2906002)(54906003)(53546011)(26005)(9686003)(71200400001)(450100002)(64756008)(76116006)(478600001)(86362001)(5660300002)(66556008)(186003)(6506007)(110136005)(83380400001)(52536014)(7696005)(66946007)(66446008)(4744005)(316002)(66476007)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?WaqpfD/9W/h44jgmS3frjnKEpGb59D0FzYMVpZfTtccOXXESYl8lIxHWAQEo?= =?us-ascii?Q?lfon7QXJxrcKu27jqip7HMIP1Lfz+J+ojMJ3tFUqC7na/tkBzprKi0N0CIO7?= =?us-ascii?Q?ZLWcfflq/rDgnq3Bse+3WiTBQiO6ukUf6Z7pYRqf40YMfqvDe6UMPQXSDzk/?= =?us-ascii?Q?rX+SKd7n2HB0MlmiTvuqiheIE64EEUqKl6GlpLIhxgTXRDGR2pyk7EiQ/1WV?= =?us-ascii?Q?mmyblqxfpFlEzl+FQkleTkXCkfVZNcZZH9Ulk+s5rN3DUzgcppn81LYgfdo+?= =?us-ascii?Q?eFcKNGnQ1vsDLVOAGBqyH1ev1biOtWhQ1q5QXNvexsQXTl4cQIMiZOhPE3iB?= =?us-ascii?Q?2+evqiKGO4/RD6vuZQwB+Lv3jfY+wxqwXfSp3ZocQWaQl2hDlzO2eiIV1HIr?= =?us-ascii?Q?CtU3FJvS1gzCopl73PeF9qw077Ol94VIO3/4D3FL+KEQL57mdL9b8+Ps35q/?= =?us-ascii?Q?PtXVfdjxQWdGx92oMk5ZbGietow+1pKPmTwkJBRC4OyF/QwCb3PqgttRJnDE?= =?us-ascii?Q?ulGchiUM98UlTw194yTRARwCUtHcGc9/oOO8ryInwYe/tsrKVIsASrmRPK0r?= =?us-ascii?Q?wjtvpI2LtriR0+hPT/IjyznYo8Z83QKjcUtzRvv/cGuh3ILqCQuMmBPVQwH2?= =?us-ascii?Q?5wA/Q+ZkIiQTRQ6xQDGwVxntbSZL8nBwk+agpm8YcRih/0KSw031Pmmlw8FA?= =?us-ascii?Q?JBvxtf+WN+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uwxVvp/dNAyriFqtry1tdi38F1K73QNhUIw4eu+gKNzZul/Un5ZcJ4fgr1yseTph6ZENr/Lg== 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=P5TJe5xGh8PB35EPMOVGeZECmzfbpkvJl6R5sJL8n1w=; b=noLCDlGID/GPhA9e2gt/nTITyP4cJVyEYiUNQsLHfWXeMbJCaLIM8HBPMUdgq2D5pYrL5yHAH1D9TEUvOfJvKLZYcSHgre2j+fC4ftHrMwrnjs0gH2JWUDPzChN9fzORq8u42lr17rR0VooFGGLI837vF9s9J9+sCryQXTzCA/H7NcxQiNL2roff8jN6Z2AooaIppOqeWCG1iuRjSbdMm344/UOyzTg9x8C5AEO6h1/NsJrYE4Oon2Wtufjhp/+2iA1jwym9Gry6nj3otNzlzRgZaLXoBrStou9vA3hgdBnUoyG4AdlzL37ExzeoEMnOydJEIVgnB7mMjtFigLu+Tg== 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=P5TJe5xGh8PB35EPMOVGeZECmzfbpkvJl6R5sJL8n1w=; b=SMojAhCY0YKjfLqA1PGncPCkvt3xXBwcfQG6tiWjJkUBVSb+B6byv9L3jzGdodPFWyoDyhCJJSvgON5x60BoxPQ5FoI0aG31XlfKvldLdqdU6nnjBl6QV56OufZ3SEVX0ZeJEmE/40BM6uu+bTTd7G7pAYS2Pp0odXjwLKV0hEk= x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: MN2PR11MB3550.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: ad9faf4b-f421-48fa-8158-08d8f8f6ad2c x-ms-exchange-crosstenant-originalarrivaltime: 06 Apr 2021 12:22:42.2694 (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: Iu9QbOzpcKzm8AMrDe8tpXTNkxI2FSHvO70Qe9LDj9t4E54PCiPtuPndv7iMPTgv1snW8xzppi3/eyynOzpI/g== x-ms-exchange-transport-crosstenantheadersstamped: MN2PR11MB3805 x-originatororg: intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3 3/3] net/i40e: fix segment fault in AVX512 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: dev On Behalf Of Wenzhuo Lu > Sent: Tuesday, March 30, 2021 6:30 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH v3 3/3] net/i40e: fix segment fault in AVX512 > > Fix segment fault when failing to get the memory from the pool. > > Fixes: e6a6a138919f ("net/i40e: add AVX512 vector path") > Cc: stable@dpdk.org > > Reported-by: David Coyle > Signed-off-by: Wenzhuo Lu > --- > drivers/net/i40e/i40e_rxtx_vec_avx2.c | 117 +------------------ > drivers/net/i40e/i40e_rxtx_vec_avx512.c | 5 +- > drivers/net/i40e/i40e_rxtx_vec_common.h | 201 > ++++++++++++++++++++++++++++++++ > 3 files changed, 207 insertions(+), 116 deletions(-) > The patch fixes the seg fault, but note I have only tested the default '#if= ndef RTE_LIBRTE_I40E_16BYTE_RX_DESC ' path Tested-by: David Coyle