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 7FAE1A09E4; Thu, 22 Apr 2021 15:21:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEECF41D23; Thu, 22 Apr 2021 15:21:51 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 44B6A41CAF for ; Thu, 22 Apr 2021 15:21:50 +0200 (CEST) IronPort-SDR: V+E2DlmQW7GisSIJX3fFDtkZ0vOBlvx9qOhNHPj8X2g1A7SQmZs+aOAjJsYKw6PYuJQM2KFArx umFoRJ/cl6uA== X-IronPort-AV: E=McAfee;i="6200,9189,9962"; a="183368718" X-IronPort-AV: E=Sophos;i="5.82,242,1613462400"; d="scan'208";a="183368718" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2021 06:21:48 -0700 IronPort-SDR: CV6iAk8/88A7BLOC4G1O6itz5vW30uGiiRPh48VcGu0OTmxA0qW6C2sOJIRxgYPZbnFok44dTG 4VZNu043a7fw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,242,1613462400"; d="scan'208";a="446269303" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 22 Apr 2021 06:21:48 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) 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; Thu, 22 Apr 2021 06:21:47 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 22 Apr 2021 21:21:45 +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.2106.013; Thu, 22 Apr 2021 21:21:45 +0800 From: "Zhang, Qi Z" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: "Yigit, Ferruh" , "Xing, Beilei" , "Guo, Jia" Thread-Topic: [dpdk-dev] [PATCH 2/2] net/i40e: remove redundant judgment Thread-Index: AQHXNla5z6ywlBR/KUmuFGFP5035uarAiBjw Date: Thu, 22 Apr 2021 13:21:45 +0000 Message-ID: References: <1618972394-14045-1-git-send-email-humin29@huawei.com> <1618972394-14045-3-git-send-email-humin29@huawei.com> In-Reply-To: <1618972394-14045-3-git-send-email-humin29@huawei.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 2/2] net/i40e: remove redundant judgment 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: dev On Behalf Of Min Hu (Connor) > Sent: Wednesday, April 21, 2021 10:33 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Xing, Beilei ; > Guo, Jia > Subject: [dpdk-dev] [PATCH 2/2] net/i40e: remove redundant judgment >=20 > From: Chengwen Feng >=20 > The vsi pointer is always valid, so it no need to judge it's validity. >=20 > Fixes: b6583ee40265 ("i40e: full VMDQ pools support") > Cc: stable@dpdk.org >=20 > Signed-off-by: Chengwen Feng > Signed-off-by: Min Hu (Connor) Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi