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 0DFBCA034C for ; Sun, 30 Jan 2022 03:56:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED84341141; Sun, 30 Jan 2022 03:56:08 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 9728740041; Sun, 30 Jan 2022 03:56:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643511365; x=1675047365; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=2M0kz4cyPZTHv8djJH9Rku6mHY0w3h10pX1dwoeUkw8=; b=HaLy1RR6ZOPe+BlYMewwQFaPbtdO9GliyAoJyKuuQ0lqeQwnybrza7fa RPAMvAHxDN0zU4tremmu8/F/kPX8+J0A1YEmAYq+VPjocTrLgNWGhrgjD ln5VekhQ57TVK9XwP3Mf+lNpim/oPZhpMGiK+TGDUZsSioW868gPnpz/P 5zGHPEzRAtBQKLT8jPNR39Uol0vcVPuBLJ/TnmnbthudpaPH/blG+uOBh WNtxjKnhgnEn5C6XK3cctPrHCZjJp5+T7QzfGvSO3cvyA4bS+P4NQcuxt 9On8Reey3942IhTocLQByYpLxFk+cAEV1osdSSdwAyLGRm9LqgOxd0U36 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10242"; a="244909972" X-IronPort-AV: E=Sophos;i="5.88,327,1635231600"; d="scan'208";a="244909972" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2022 18:56:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,327,1635231600"; d="scan'208";a="533863893" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga007.fm.intel.com with ESMTP; 29 Jan 2022 18:56:04 -0800 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) 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.2308.20; Sat, 29 Jan 2022 18:56:03 -0800 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.2308.20; Sun, 30 Jan 2022 10:56:01 +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.2308.020; Sun, 30 Jan 2022 10:56:01 +0800 From: "Zhang, Qi Z" To: "Wang, Haiyue" , Yunjian Wang , "dev@dpdk.org" CC: "dingxiaoxiong@huawei.com" , "xudingke@huawei.com" , "stable@dpdk.org" Subject: RE: [PATCH v2 1/1] net/ixgbe: check ixgbe filter init failure Thread-Topic: [PATCH v2 1/1] net/ixgbe: check ixgbe filter init failure Thread-Index: AQHX+LkzkLFKk4jmfkmc5tKv6cwyW6xKi6BwgDCMswA= Date: Sun, 30 Jan 2022 02:56:01 +0000 Message-ID: References: <68c35e56d29ee7d8dcd7b9734ea067c0111a120c.1640344520.git.wangyunjian@huawei.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 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 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 > -----Original Message----- > From: Wang, Haiyue > Sent: Thursday, December 30, 2021 1:33 PM > To: Yunjian Wang ; dev@dpdk.org > Cc: dingxiaoxiong@huawei.com; xudingke@huawei.com; stable@dpdk.org > Subject: RE: [PATCH v2 1/1] net/ixgbe: check ixgbe filter init failure >=20 > > -----Original Message----- > > From: Yunjian Wang > > Sent: Friday, December 24, 2021 19:27 > > To: dev@dpdk.org > > Cc: Wang, Haiyue ; dingxiaoxiong@huawei.com; > > xudingke@huawei.com; Yunjian Wang ; > > stable@dpdk.org > > Subject: [PATCH v2 1/1] net/ixgbe: check ixgbe filter init failure > > > > The function ixgbe_fdir_filter_init() and ixgbe_l2_tn_filter_init() > > could return errors, the return value need to be checked and returned. > > > > Fixes: 080e3c0ee989 ("net/ixgbe: store flow director filter") > > Fixes: d0c0c416ef1f ("net/ixgbe: store L2 tunnel filter") > > Cc: stable@dpdk.org > > > > Signed-off-by: Yunjian Wang > > --- > > v2: update code suggested by Haiyue Wang > > --- > > drivers/net/ixgbe/ixgbe_ethdev.c | 32 > > +++++++++++++++++++++++--------- > > 1 file changed, 23 insertions(+), 9 deletions(-) > > >=20 > Thanks! >=20 > Acked-by: Haiyue Wang Applied to dpdk-next-net-intel. Thanks Qi >=20 > > -- > > 2.27.0