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 E6058A0546 for ; Tue, 6 Apr 2021 14:22:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8E18406A2; Tue, 6 Apr 2021 14:22:01 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 068E140F35 for ; Tue, 6 Apr 2021 14:21:59 +0200 (CEST) IronPort-SDR: D8pD4onaKY65kbsEIJai49UlC2p7eO06wjhNX7rfdKDj2X+MIN35yt/RnNY2Sc9aKjk1Wmf8F4 i5Q6yhGHTPrA== X-IronPort-AV: E=McAfee;i="6000,8403,9945"; a="190885011" X-IronPort-AV: E=Sophos;i="5.81,309,1610438400"; d="scan'208";a="190885011" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2021 05:21:58 -0700 IronPort-SDR: tGcb+BRrmE/jUe5jVzut0AU3e+cr1cNbInEDgm4GRNQmgsHvO98eQL51itFy6c7vXrqmNBw+Tc z08qcZcqpRpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,309,1610438400"; d="scan'208";a="609261569" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 06 Apr 2021 05:21:58 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX606.amr.corp.intel.com (10.22.229.19) 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:21:57 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX612.amr.corp.intel.com (10.22.229.25) 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:21:57 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) 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:21:57 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by edgegateway.intel.com (134.134.137.102) 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:21:57 -0700 Received: from MN2PR11MB3550.namprd11.prod.outlook.com (2603:10b6:208:ee::21) by BL1PR11MB5413.namprd11.prod.outlook.com (2603:10b6:208:30b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27; Tue, 6 Apr 2021 12:21:51 +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:21:51 +0000 From: "Coyle, David" To: "Lu, Wenzhuo" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 2/3] net/ice: fix segment fault in AVX512 Thread-Index: AQHXJSXSDu09KjWufk2PDKDS14m8kaqndFug Date: Tue, 6 Apr 2021 12:21:51 +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-3-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1617082176-51391-3-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: 5b623f71-d6a9-44e2-d4d6-08d8f8f68ef8 x-ms-traffictypediagnostic: BL1PR11MB5413: 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: fPpXYPKDOHuSMQa3zupWq7ZTWXmVzjz6gf7eCGv0QD78Kyn8RQ1/5l7mEM6sUj81sh4OL9JpimZFLjaAxO7xswwaqpYlDxvsUlcFz+oqJ/3ytpDdyD/ryPVTFSIi6z9/8BRGGzrK6W1bXnSVUBViIOzEyJSo/9iQki3ztIEjOpVWbLWmpMBWs80Ch/n5jxM9NV14dksz0g1hcH3hfgVtMUV1ZAm+qtRSSrh1NVdsTidcbq2vh6svB3qgU5xxFWib+VFf6fVyL7TmT9sYOrJNuPH4ql13++47Br7aIQ20q0KZ3f5aS4gIyifL/M4RLPWJla6+Y1JRjahDSwr9gvwUAfta8QNRXy5luuOT4Oc9sdMJqdOTQQY7g0o0+nmDuhxxWHzFyPn+WnZgi0WK/2Xqqg4/lfTPyiZrdsve915DubYENYAhkoODzFRj7/4yxTOMJEOkeKv38/Onc/k5p8K9JNAJr5bM/CSKfd8AJGhegI6fN48Ni8ikHVObLKpsuuUWAZ29npXtMDOBUmJXzcakcNuGSvV8c/DZoMqBPKeDmfvPd4Q+q+dew/RcJWV4tqKKgGZj5rxYxQmQ4y+JyXvYueAE6cMFQA6opuyY8xx+ABnvg4bwIc8nYGxHgeqW13lnokF4bGbsejnwVnvJOtSkBbcohuSr8mQySd/k4+ZA3ig= 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:(376002)(346002)(366004)(136003)(396003)(39860400002)(55016002)(76116006)(52536014)(33656002)(478600001)(110136005)(186003)(8676002)(64756008)(71200400001)(450100002)(66556008)(38100700001)(86362001)(9686003)(6506007)(83380400001)(54906003)(316002)(53546011)(8936002)(7696005)(66946007)(4744005)(5660300002)(4326008)(26005)(66446008)(2906002)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?AC+OWkYptJRVAxz4HhKAFGwgMn7+t7x+T1nX1wIpte/p2hMxMrYb7v5ey3jS?= =?us-ascii?Q?DHkkI7jh/6iX/GrdGuZta/twYthAu2mrpeiDuqZF/VREqCMy5don3lkiZprS?= =?us-ascii?Q?Du/6dp4S9jEjbVJ0ksQPTik00Js2IEJH6JFfthVrJ3A9ENKxPGDTM73ihFMs?= =?us-ascii?Q?e47XvQea+rZzs5euTHT3WB/QUf+lrgsKgGw+Rc+2UPM95MA/INN2DkOQGv8q?= =?us-ascii?Q?XMPsfQJso6iAGOyQNha9e2RoJ6BmdeoCtYZWQYbhkNA9OtO5D7OLleR+Qk6y?= =?us-ascii?Q?Z+wvB8nQBXJ3pU9qWrzf5llpyFPMg/X2tfVqYIotZpyFO22XQpon3B9o6M+1?= =?us-ascii?Q?Leha0O+ZK+P8hIIXSZki32ghSdEu9lXq8GwmFB6vd7edj6iXFtMWfXkD0rTQ?= =?us-ascii?Q?Xg/F2l4IEHtgQVbjNPRqRsG9qp5CWqVh/9PuLDbNpy4tklh5aVtPXbdyJ3wV?= =?us-ascii?Q?IlRXyylzDybe4UPZtdxovBvhgmXvrVgfDQeBTLnelHSpP37Wm4bNFdbHLAgG?= =?us-ascii?Q?MTr1iddPjrFBrGNcubtrNm0+awcs3ErstVHZNm+Ygu9TCII2G0iMvFj7UcR+?= =?us-ascii?Q?6Kpt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NuhF7ttV1mfx70Z+JSpf/RzaNsiuCGsFjP8O7Xg2lCdnHszJi65g035J37BINBO0XQlg1ywPxchRLoKAWCNBhtdwswwPjOgghBWRwzMns8hsNwdCVJKERG/7hkdMm4hDRIhMgq2Xu9aAL+CypGtvHVib6mFX1JIJvugGqtHAQ6ISUxWFfaWo72I1e9d7hZgVPA3sWHSJurm3OaPuPQRiBBwo9nu8hyV8RMvsQ== 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=b2aoOmboQxtl6PLrhnKsyv9JFfonwciMBq6x6A318zU=; b=aunXVRuLptpiFLTMT37oohdBtlE9OkjypiqwR+edsM3JOCCJRdFsTTIlZMNT3WFri0uMVF/SxSj7AWR0JF0T16UpsRq5ZQ4EhSNQ6p91GjRdRniJH228WQ0O0sfkbN/b4H0GX6YRRR8gHh2Ryjh9Jrei4aj7m1HZYMAbo5rXCuE31GeWZsBvz0W0rTpTr0ojrYlSWGJBbqpgfLVjaybRiZU5xicCW99A7CvXpad25kl1nV/vC3N7nLKbEQM76ub1i5gkGxx979UelNVJLuTUkKk7tstMDSdKRys0Nk/7vt7uj2gQ8IAV5GWZI1p1cs/3I9uzMMl1x3YcOeZdP8JN+A== 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=b2aoOmboQxtl6PLrhnKsyv9JFfonwciMBq6x6A318zU=; b=sgZiu9J/dcT7AvDBHThwKe9q4Kw1xgsJPHoAISHat38cPt+4IY/qgMfHF5QIDvpIkWLoXDzi+C67XPz2vgFU0VkCkEKJzB0RFq+57HeJzx+MDO2UDcq8Er6RO6i2pEAyG+t5VcHA9wQbBJxbhthWrODUXaP1jzvEcJYGmaPq4P8= x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: MN2PR11MB3550.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: 5b623f71-d6a9-44e2-d4d6-08d8f8f68ef8 x-ms-exchange-crosstenant-originalarrivaltime: 06 Apr 2021 12:21:51.5561 (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: Pi9BK/NydCownvzF9oSfhBCeE5WxjrzTENcck3HoC8LXXqCX2STPtSPYoE2GmeTtmaxK0ib1aVOvfLHsjMKHiQ== x-ms-exchange-transport-crosstenantheadersstamped: BL1PR11MB5413 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3 2/3] net/ice: 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 2/3] net/ice: fix segment fault in AVX512 > > Fix segment fault when failing to get the memory from the pool. > > Fixes: 7f85d5ebcfe1 ("net/ice: add AVX512 vector path") > Cc: stable@dpdk.org > > Reported-by: David Coyle > Signed-off-by: Wenzhuo Lu > --- > drivers/net/ice/ice_rxtx_vec_avx2.c | 120 +------------------- > drivers/net/ice/ice_rxtx_vec_avx512.c | 5 +- > drivers/net/ice/ice_rxtx_vec_common.h | 203 > ++++++++++++++++++++++++++++++++++ > 3 files changed, 209 insertions(+), 119 deletions(-) > The patch fixes the seg fault, but note I have only tested the default '#if= ndef RTE_LIBRTE_ICE_16BYTE_RX_DESC' path Tested-by: David Coyle