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 2258EA0546 for ; Tue, 6 Apr 2021 14:21:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC8D74067C; Tue, 6 Apr 2021 14:21:00 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 0DDC74067C for ; Tue, 6 Apr 2021 14:20:58 +0200 (CEST) IronPort-SDR: oVHioeO72nAHhx1w6PIex//dChsuLtQADtB6oGMhUMxAUYGTVIE/pL2b4vz62iirl/Qa/X0cul tib5gCdvnPKA== X-IronPort-AV: E=McAfee;i="6000,8403,9946"; a="254385323" X-IronPort-AV: E=Sophos;i="5.81,309,1610438400"; d="scan'208";a="254385323" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2021 05:20:57 -0700 IronPort-SDR: Rr/OWcw0zz7EZRVtFai0f7yjhovkYhzE8l4u8ioMtbPN8RYc6ioqvKw0Fg/hVbwcrPGh4lGysf BLxjeuHy4dnw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,309,1610438400"; d="scan'208";a="421193762" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 06 Apr 2021 05:20:57 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx606.amr.corp.intel.com (10.18.126.86) 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:20:57 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) 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:20:57 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.107) 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:20:54 -0700 Received: from MN2PR11MB3550.namprd11.prod.outlook.com (2603:10b6:208:ee::21) by BL1PR11MB5542.namprd11.prod.outlook.com (2603:10b6:208:31d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Tue, 6 Apr 2021 12:20:46 +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:20:46 +0000 From: "Coyle, David" To: "Lu, Wenzhuo" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 1/3] net/iavf: fix segment fault in AVX512 Thread-Index: AQHXJSXV8KFFoqaPV0yvFIAvJD/jg6qnc6kA Date: Tue, 6 Apr 2021 12:20:46 +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-2-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1617082176-51391-2-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: b712a667-05b1-4773-70c9-08d8f8f66806 x-ms-traffictypediagnostic: BL1PR11MB5542: 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: GjQFQTdK4IUzAOMrUcYdSu+yxI+hxeL51vQwdU8KxJjBUtwrN1hJi1pjA61fKoz6kOMLlRYi5Ykshk98J26OdQp60o6Sr8ZLkHvMsQnVp6gG0bTiM7Vsc5s+VKve53qPeAijtrNLEL4y99ecgk6G+t6pG0O1Zyva7ekACKaWpDa2rACEwdYnJBOpW4aWWZRa7xc0ZFlkFGp5jcJjBWzoy+aCgL4bfwdHkVGjAP7az6pQ3Z9wdkU/iQOJe4qSFD/JcBTSOuVXEugoWZ0LNauv1CX7NBfE5VHzSNdn2uFi7yxCvk9hLTTdM3ORFg3Adqz5Kj/N+Nt0ACm7OdNdCAfkK1L+icWzhNtN2sFoqcfWB7s0KEp7n5eYERsXEo7M4oIz6IQgqxuevi3Da25rXLwBxfxQ7CwdK2Za4JvAbdEdCgAm6rgfvHNCLRfvpyfH1Xl0MNrkT/t5RM9kj5eA92pVS7ELDmtBCIEtzcHy3w+9Bw47FJtSKJCtSg/mvJqf8YnlK01ag26VqGZRLmpgoL73/wqoFv/OjZL/B7bK501KDNXcf+sFZUZTP90haRnhSHh+FqYzsvrzqKTLQwjo+pcGhc96Qij5i2zzRNepIl/kZk09FjjJOMTwD3k8zohDdrCFbG2YjQrnCOufy47fMerXdXQ2y0vNFZk42ujrw5g8Bt4= 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:(136003)(39860400002)(346002)(366004)(376002)(396003)(450100002)(4326008)(8676002)(54906003)(6506007)(316002)(53546011)(9686003)(110136005)(186003)(8936002)(26005)(55016002)(86362001)(478600001)(66946007)(7696005)(66556008)(66446008)(64756008)(33656002)(5660300002)(83380400001)(66476007)(76116006)(52536014)(71200400001)(38100700001)(4744005)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Zkp3ecH/v1BC1NqtmNvwBKhIzftlyxdr7oZY8ByjEJuPe0eQTLbwppEIysu0?= =?us-ascii?Q?fucX49un7yzfU4wX60rToHWXdHMmsNRBab7+GD+GAyfYq+CwDdLjmTQ0zq3f?= =?us-ascii?Q?+Tl6Hy7SPxI8yUUwxq4lgZ5iCwTSmBRs/HgDLAhulHaCd+v/ShgUoqQvN6wx?= =?us-ascii?Q?d7U+nR1NKh9vK9S+JJopuXUic63nVUbLoL/awLqZ4btIcvQ+VcIuf0eAy6lw?= =?us-ascii?Q?ZvBvmZPPfi3+V82hghfYCK0zuHKFIh/lbPiJLXhov6R/W+/w5EETVV2PphJ0?= =?us-ascii?Q?7h1lrxXzGYhgpwXC1SksjmEbK+LwowuPckpKiy93RoRM2emyYcwfwvf5eFeb?= =?us-ascii?Q?2ukftM3kCqxCWeeKQi6qJ0FKAyicKk+Vk1W8IIFdoMM/xQqDnxteTaOUND0R?= =?us-ascii?Q?juP9TDp4MRS6Q+nyZ7BzFClKdI6GD6/U63T9KtxZbre6ufL4XoOXbDmRwxx/?= =?us-ascii?Q?Zr/H1v7o3U1sJdTJZjkzBosMlM8Wrm2C5hcXIAxlwXU0ElPprD5SJ4Z75+3j?= =?us-ascii?Q?FdmIb4VaOjglcTXuXpu2C6I+q4sYZauzycFcCaKm65mBYEdtC8u3zJsF6ckD?= =?us-ascii?Q?VoyLsxW7Bl3B/dNJyx2H5+xkVjTYx9fCEvFo5YaE342W6wd3N6XbsgIkI06T?= =?us-ascii?Q?v/vctVw9RDdvB8RJQ16+JWTtypfcc4vzjBHB9mCWshjYG9hGieMHJDvka1mW?= =?us-ascii?Q?1r3f+KBSN4lI/6d5lX437IJgY63JfoZAPC5MK+rs1vdV3TtszcBA9bYSS6u3?= =?us-ascii?Q?NyKRs3sUjnUdnpmkU4/0FBdj/zk1U3hR1NffJCD73VbYOML3VokCzQqK+PeE?= =?us-ascii?Q?SoHY98PA8nZsYNfvB//sA/Jh4V/oYrpuK5Wzv50pqV//3VdsXP30l3460WfX?= =?us-ascii?Q?G2CLI4EN3GPyoukIZtLMwRx3xZDnm7Qz7Q8LWVPkLxO09IIL/fc/RZw8drrB?= =?us-ascii?Q?Z7h7g/WpLD6VreRbFtzgfdgpJQxBN/kZKGcUWkfaWhWdGoRIYvr4YmW3f0+v?= =?us-ascii?Q?DPVYN7D9f1gzhvIEj5vtBZ3R98LAqguVK8SEmDbl3wGvT9/WkBRSZQl7v9yp?= =?us-ascii?Q?Aisyuh+2fqjwdPEYzOAnqm7uhi+hxz9I+S8FQGFLe3I3cCB/C+ItoNZaPLqz?= =?us-ascii?Q?ig/r2FLGwGLG0a20LoFsMLJT/2OLhmeUdCsbS9B4KphjW9tyuufFvq8Mej+w?= =?us-ascii?Q?LnKaoRKO4Y6AajItBdAtXvytqVb14/+1gbLyFhcukpdQpQ648O/4M6/5hrvU?= =?us-ascii?Q?kV+WVwc4KOn79U9yx4x63zYsOZrlY38IelDGXAD22xk1ZnS2HXVGlmZgyxN6?= =?us-ascii?Q?yj7W/UozvvrX7f1MSLmIBiC8?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzdqaL8uQ4p1lRxvs2UFf/TbWEQuiska1gcClRTmq2k+jcth0QvfjsGNVIGPmwqLwUxZbGJ3G/pSZNXWD67cZIepygY6SICMvl3RjAvEO88M742Q4aZqUL7Avu8rNNhB7nc9GWvnqX3wEqC9WyUuKu0VZIggQTmj3sqmoBL/oGIVZKCmUOvgDa7Pnnu3BZ9i8XrIWFmFHpkpsx7uT0v7WY5qcaLkslhRPegccmaOEWLwAAhGbzrlA5qadGyvqhKUjxKBEKYy6jritUy1x1VD1ZAen9MqPp1qp24f6xyHewDgccP/2EF44l71JoYIrcey7I+4YngG3CObVlcnAGz4vQ== 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=MBOzjhwnDdIP4f8+Om7viOoXrNhdQ34UaY3CrU4Gh1s=; b=CfGimHKyLJ2guHf6iWKfz+cTVJl5xcm8PmTY+VjpjknEDKBWmY1jo3q0JdeOaiKMizokgF32rjMJFw6LLmDHD+tB+SvlwRQCcQqWkh14UuHnj5nqLf2LCRvuhUibvl8OzKSITyaZpMUUrDP9fJDPpSyxPm2a2+U6Mt0xhiUab6fUjofyK6KW5kCX8WMWQbZkBFNYFexhlRzikSZ29nomgT0NoJJIOfkPTaARH7LqWwsK8DEJDaVOZ0/FjWkuL5ukoADJ+VPVI8e1FNKx6pxv+YjWteglb42xAtGzw3K6a4xhTGMaL+YWCz2/O3NyA9d6pLFPrGGwXMH9PvbuvWjXiQ== 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=MBOzjhwnDdIP4f8+Om7viOoXrNhdQ34UaY3CrU4Gh1s=; b=GymfLzMWjOj1PTkitHq3vLfiNqU6lo65W/0iJbBPhuqI3zkDiB8YpnEBXy97WDuMmA8HFOJuPLr5EpFfRw/8x4Mp+TcbMvWeOHglrrhoxmopf+28cObTJQAJHEwFCMAZ6xHu2bp1gfKLMoGB81g47Cwh6bHrPlICqlxaSdBSjUI= x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: MN2PR11MB3550.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: b712a667-05b1-4773-70c9-08d8f8f66806 x-ms-exchange-crosstenant-originalarrivaltime: 06 Apr 2021 12:20:46.2361 (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: 0eh0YmvXqbJIZg5f6hHZlDZ8oQK0bXHpB2Zh4zNCTugGYXYqOXht99NGJ/+4XDwrHhQUYotcI5j6dTYYlpjL+w== x-ms-exchange-transport-crosstenantheadersstamped: BL1PR11MB5542 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 1/3] net/iavf: 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 1/3] net/iavf: fix segment fault in AVX512 > > Fix segment fault when failing to get the memory from the pool. > > Fixes: 31737f2b66fb ("net/iavf: enable AVX512 for legacy Rx") > Cc: stable@dpdk.org > > Reported-by: David Coyle > Signed-off-by: Wenzhuo Lu > --- > drivers/net/iavf/iavf_rxtx_vec_avx2.c | 120 +------------------ > drivers/net/iavf/iavf_rxtx_vec_avx512.c | 5 +- > drivers/net/iavf/iavf_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_IAVF_16BYTE_RX_DESC' path Tested-by: David Coyle