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 10FF6A04B5; Thu, 29 Oct 2020 06:36:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2D2172EF; Thu, 29 Oct 2020 06:36:01 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 6C65372E7 for ; Thu, 29 Oct 2020 06:36:00 +0100 (CET) IronPort-SDR: qKWXTlIZ9imsIyurEr9kpXjGMUkrlu/LyYe2Zkl3QMoWfiurPc7XJI5aBecizPBrU09mrmFVhR lLAoXhlIWY8w== X-IronPort-AV: E=McAfee;i="6000,8403,9788"; a="156154581" X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="156154581" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2020 22:35:58 -0700 IronPort-SDR: NvuLOoYkYyP1dASjVPY7/tsl/IdFx3yz2Ydld1Y6LPJ0KNaabuBuBW4qZjYUlpX0HiINQFcWTE 3jvYEreBcrxg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="351293954" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 28 Oct 2020 22:35:58 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) 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; Wed, 28 Oct 2020 22:35:57 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX604.ccr.corp.intel.com (10.109.6.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 29 Oct 2020 13:35:55 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Thu, 29 Oct 2020 13:35:55 +0800 From: "Zhang, Qi Z" To: "Wang, Haiyue" , "dev@dpdk.org" CC: "Zhang, AlvinX" , "Yang, Qiming" , "Guo, Jia" Thread-Topic: [PATCH v2] net/ice: fix DCF Rx segmentation fault Thread-Index: AQHWrZJ5ogGMio3g90+/7HF+dXKM0qmuD1wA Date: Thu, 29 Oct 2020 05:35:55 +0000 Message-ID: <3465196c68254285aa53a26ab55a8712@intel.com> References: <20201028165545.20665-1-haiyue.wang@intel.com> <20201029011322.39392-1-haiyue.wang@intel.com> In-Reply-To: <20201029011322.39392-1-haiyue.wang@intel.com> Accept-Language: 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 x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/ice: fix DCF Rx segmentation fault 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: Wang, Haiyue > Sent: Thursday, October 29, 2020 9:13 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Wang, Haiyue > ; Zhang, AlvinX ; Yang, > Qiming ; Guo, Jia > Subject: [PATCH v2] net/ice: fix DCF Rx segmentation fault >=20 > The initialization of selecting the handler for scalar Rx path FlexiMD fi= elds > extraction into mbuf is missed, it will cause segmentation fault (core du= mped). >=20 > Also add the missed support to handle RXDID 16, which has RSS hash value = on > Qword 1. >=20 > Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling") >=20 > Reported-by: Alvin Zhang > Signed-off-by: Haiyue Wang Acked-by: Qi Zhang Applied to dpdk-next-net-intel after revert v1 Thanks Qi