From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by dpdk.org (Postfix) with ESMTP id 8DDBB29CB for ; Fri, 14 Jul 2017 12:34:49 +0200 (CEST) Received: by mail-pf0-f194.google.com with SMTP id z6so10576708pfk.3 for ; Fri, 14 Jul 2017 03:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=d1AWGg6qmzFxFS+nh31Xc1eUoXOK1aXMz16gOnkywrc=; b=OjNF9+vgPPUq7zEsQErehEJwiNbPVQfEeezz6Dfcz1pUp1TfJz78C/I8YTs/tMPHdJ wUiQrUiUeX4YKTjXSb9/7jd+px4AAL+TTpJhe7a6KKZPKsY9xL5bSB9rrRm9Xb93xkZs oVxPZrxp0kkyVB0iSNxoJRXr3s0uUjYQjU1faqjBk86EshxIHoz5TRpMmn5vXuDZGyHy fRXmQJeIkrl8zEUXIpglw0S8DmnlKNOubFvekOPtK0xK5VGC7QWJg0ghcL+FilorSYUy +wCA7pDsqf1FU436hjXpkPCKVa3vp7pLbTYJk3XsaBGJWwMywtQe3x5wwQ+t0WVYkOzR U8XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=d1AWGg6qmzFxFS+nh31Xc1eUoXOK1aXMz16gOnkywrc=; b=lCLrmF4EY/HnnniNfMjXYyJf9Hn0zkw6ajWphuJ5uDpdDb1jBwHoiEPhfmPsRQ2bRU auhV7ux/Hh3fdxf0YsXeC/Zp/ffDYAvRY2uG3vcmaCFdWtUegSDLfLpSPydTly3ZXsTs bz61Vt7WVmFFDJC6FrnUlXiZreV49ogUl0q3zE9aHa3GSsL5HVgQpoH4ARU5ecJ1Vah0 Z5N6oE6FJZZJFiiFNGGf4N5y6Zqm86HuM/qzGSfaWd7cAtlqtV1PNEEAuzDbnkafjCbg LCgcJ8TWMxljo/Q9dL4JESC+Qkbsg8HeYXTvKEaVoFfoB3mFsVja2U+p5z6t03ep3dsC d/uA== X-Gm-Message-State: AIVw113XKzGX9NKRerkRFH4nvqxE/2UNFDTpZztvuzzZ/Nkh4uGASO6o eUGNkUpsW2VTDN+K X-Received: by 10.99.150.2 with SMTP id c2mr13882692pge.166.1500028488582; Fri, 14 Jul 2017 03:34:48 -0700 (PDT) Received: from localhost.localdomain ([180.158.48.171]) by smtp.gmail.com with ESMTPSA id y205sm15273553pfb.124.2017.07.14.03.34.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Jul 2017 03:34:47 -0700 (PDT) From: Yuanhan Liu To: Herakliusz Lipiec Cc: Helin Zhang , dpdk stable Date: Fri, 14 Jul 2017 18:33:25 +0800 Message-Id: <1500028450-25989-1-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-stable] patch 'net/i40e: add return value checks' has been queued to LTS release 16.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 10:34:49 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/19/17. So please shout if anyone has objections. Thanks. --yliu --- >>From e7e697ecd01775ea3a9eed35dc6f8ad94a41963d Mon Sep 17 00:00:00 2001 From: Herakliusz Lipiec Date: Tue, 9 May 2017 15:37:34 +0100 Subject: [PATCH] net/i40e: add return value checks [ upstream commit 799c5c602df35495e300613f7e9b7b54db7f38cf ] Coverity issue: 1379362 Coverity issue: 1379365 Fixes: 71d35259ff67 ("i40e: tear down flow director") Signed-off-by: Herakliusz Lipiec Acked-by: Helin Zhang --- drivers/net/i40e/i40e_fdir.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c index 335bf15..e78610b 100644 --- a/drivers/net/i40e/i40e_fdir.c +++ b/drivers/net/i40e/i40e_fdir.c @@ -294,8 +294,12 @@ i40e_fdir_teardown(struct i40e_pf *pf) vsi = pf->fdir.fdir_vsi; if (!vsi) return; - i40e_switch_tx_queue(hw, vsi->base_queue, FALSE); - i40e_switch_rx_queue(hw, vsi->base_queue, FALSE); + int err = i40e_switch_tx_queue(hw, vsi->base_queue, FALSE); + if (err) + PMD_DRV_LOG(DEBUG, "Failed to do FDIR TX switch off"); + err = i40e_switch_rx_queue(hw, vsi->base_queue, FALSE); + if (err) + PMD_DRV_LOG(DEBUG, "Failed to do FDIR RX switch off"); i40e_dev_rx_queue_release(pf->fdir.rxq); pf->fdir.rxq = NULL; i40e_dev_tx_queue_release(pf->fdir.txq); -- 2.7.4