From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id CEC7D28F3 for ; Wed, 23 May 2018 14:10:26 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id a15-v6so18781131wrm.0 for ; Wed, 23 May 2018 05:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NTD7BZXh4eSecQSxVZj8da9ftrfua/4Q/CKJZoWUAH8=; b=R6i9W00M3Uv7XYghRausH96hvRYP/2Ec+9X/3KP4g2AjD3zkVeCWXGSqJX29apebVh bqwiz5IJig6qpj6H/56aZO7/nmseQ2OI362urLSi0yg6/jrd9m6R+vwyeYMX0kXBx0CO osXk7IB5/jt06kTkoDMOUO4RH3LS4GTfs6j3NITs9b6Wb8U/5NaTsw9q0rt7M8Ivcxqt +bUw6fMxVcQjrzQQQKQi07O6+NehWf94T6FlO8RgAA98gDEgAdzA3ikM9WZhDzEafrIv kI/JZ/9LaTUazUGO9KtICYTtirSxmo0ZyfemYCztQ1DorXtL0NLz68HqbPUWvV/qImKx YGYg== 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:in-reply-to :references; bh=NTD7BZXh4eSecQSxVZj8da9ftrfua/4Q/CKJZoWUAH8=; b=YN8b1GnXa0vJvjDOnxOX93JpBgKyFS1E5LkzVwVaZu9Bx8Bczz7sZZQculwqhLQylK hMECPPQcJCqxmebFp9CRcq576Kziug3pcPW7PQgkKLY1E4Lnje1SHaRMa9loiEsuypX+ lQ9IQd6LBDjRBHOSoUwD0a493QdLhwJtHS2Bz0ezrXXNgBUo3NZvNMmuhJyQpzZX79AU Y9ne/f7AI+FK7CXnmiLqOZ6O0IUCiY0TYdRKX/Emb5wHxvterV/DnQBcmsiNvslS/aoO 14jz28EM3hweu54EUJSq7AbMwGgz7QvpYLzTs3bFhBF3XsUFpPzVoSXmiirogjl+Z2tH xu9g== X-Gm-Message-State: ALKqPwfh3cm39DtC3/kBM8JtmfHaW3m3p+BL9HrEayp68HUAM3nJi0y1 XiF+6kOMFUoJjLw2GrCBggY= X-Google-Smtp-Source: AB8JxZpxPBUzA0SdyBe37a0C0/7ph57FrIrw1zeAzCaiPRvuLeqT3l5bN+IlFEZvvYUmABG3vGL+fg== X-Received: by 2002:adf:b937:: with SMTP id k52-v6mr2315471wrf.116.1527077426513; Wed, 23 May 2018 05:10:26 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id o12-v6sm27013750wrf.31.2018.05.23.05.10.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:10:25 -0700 (PDT) From: luca.boccassi@gmail.com To: Xiaoyun Li Cc: Helin Zhang , dpdk stable Date: Wed, 23 May 2018 13:09:17 +0100 Message-Id: <20180523121010.8385-6-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/avf: fix traffic blocked on reset' has been queued to stable release 18.02.2 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: Wed, 23 May 2018 12:10:27 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 5157a77937b43944bdb1a5f1ea7448c2a9c59720 Mon Sep 17 00:00:00 2001 From: Xiaoyun Li Date: Thu, 17 May 2018 19:24:14 +0800 Subject: [PATCH] net/avf: fix traffic blocked on reset [ upstream commit f59917c840f0077406d393f0a4fb73fb977aee19 ] When resetting ports, traffic will be blocked. There is a mistake when getting hw info at avf_dev_stop. This causes the device stop without stopping queues. This patch fixes this issue. Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") Signed-off-by: Xiaoyun Li Acked-by: Helin Zhang --- drivers/net/avf/avf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/avf/avf_ethdev.c b/drivers/net/avf/avf_ethdev.c index 03f7ce408..3e06d1f03 100644 --- a/drivers/net/avf/avf_ethdev.c +++ b/drivers/net/avf/avf_ethdev.c @@ -475,7 +475,7 @@ avf_dev_stop(struct rte_eth_dev *dev) { struct avf_adapter *adapter = AVF_DEV_PRIVATE_TO_ADAPTER(dev->data->dev_private); - struct avf_hw *hw = AVF_DEV_PRIVATE_TO_HW(dev); + struct avf_hw *hw = AVF_DEV_PRIVATE_TO_HW(dev->data->dev_private); struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(dev); struct rte_intr_handle *intr_handle = dev->intr_handle; int ret, i; -- 2.14.2