Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55E81C432BE for ; Sun, 29 Aug 2021 13:13:18 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id CF43E60F45 for ; Sun, 29 Aug 2021 13:13:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CF43E60F45 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E73C440142; Sun, 29 Aug 2021 15:13:16 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 368BB40042; Sun, 29 Aug 2021 15:13:15 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10090"; a="215031080" X-IronPort-AV: E=Sophos;i="5.84,361,1620716400"; d="scan'208";a="215031080" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2021 06:13:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,361,1620716400"; d="scan'208";a="475052990" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP; 29 Aug 2021 06:13:13 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) 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.2242.10; Sun, 29 Aug 2021 06:13:13 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sun, 29 Aug 2021 21:13:11 +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.2242.010; Sun, 29 Aug 2021 21:13:11 +0800 From: "Zhang, Qi Z" To: "Wang, Jie1X" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ice: fix queue config in DCF Thread-Index: AQHXmLe6QiCKj9ZHAkq5wXDU+3SnKquKfYLA Date: Sun, 29 Aug 2021 13:13:11 +0000 Message-ID: <9b4073137d34477da6349746fe229d11@intel.com> References: <20210820135458.317056-1-jie1x.wang@intel.com> <20210824151317.129271-1-jie1x.wang@intel.com> In-Reply-To: <20210824151317.129271-1-jie1x.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 queue config in DCF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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, Jie1X > Sent: Tuesday, August 24, 2021 11:13 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Wang, Jie1X ; > stable@dpdk.org > Subject: [PATCH v2] net/ice: fix queue config in DCF >=20 > When DCF configures rx_queues, it may cause the pointer of rx_queues to g= o > out of bounds. >=20 > This patch expands the scope of the judgment condition to fix this issue. >=20 > Fixes: 4b0d391f0eab ("net/ice: add queue config in DCF") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jie Wang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi