From patchwork Mon Oct 19 12:26:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Walsh X-Patchwork-Id: 81359 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C04C2A04DC; Mon, 19 Oct 2020 14:26:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 376E4BC9E; Mon, 19 Oct 2020 14:26:34 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 3BD2CBC9C for ; Mon, 19 Oct 2020 14:26:33 +0200 (CEST) IronPort-SDR: 41LaTjuPI1c3rX887AphCQIacUlD893Iqh0mfiT17TMI0L4TScojLK2bY0z7GTJBYSwakR1ou0 kR1dIzucLYew== X-IronPort-AV: E=McAfee;i="6000,8403,9778"; a="153955281" X-IronPort-AV: E=Sophos;i="5.77,394,1596524400"; d="scan'208";a="153955281" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2020 05:26:27 -0700 IronPort-SDR: FXkMl/giOQ1lccACvS9OjNYvck4fGLX+48KsWBxEuN6fY2ZcRKKH/D0uw3Z3/K5v/LqEBW6sl4 6caVKc1/1IFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,394,1596524400"; d="scan'208";a="352963479" Received: from silpixa00400466.ir.intel.com ([10.237.213.98]) by fmsmga002.fm.intel.com with ESMTP; 19 Oct 2020 05:26:25 -0700 From: Conor Walsh To: jia.guo@intel.com, haiyue.wang@intel.com, ferruh.yigit@intel.com, mohammad.abdul.awal@intel.com, declan.doherty@intel.com Cc: dev@dpdk.org, Conor Walsh Date: Mon, 19 Oct 2020 12:26:18 +0000 Message-Id: <20201019122620.749625-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/2] net/ixgbe fix unchecked return value and rte_panic 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" This patchset resolves a coverity issue where the return value of rte_eth_switch_domain_alloc() was not being checked and also removes a use of rte_panic within ixgbe_pf_host_init(). Conor Walsh (2): net/ixgbe: fix unchecked return value net/ixgbe: remove rte_panic drivers/net/ixgbe/ixgbe_ethdev.c | 6 ++++-- drivers/net/ixgbe/ixgbe_ethdev.h | 2 +- drivers/net/ixgbe/ixgbe_pf.c | 23 ++++++++++++++++++----- 3 files changed, 23 insertions(+), 8 deletions(-)