From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id B45C45B12 for ; Mon, 30 Jul 2018 18:15:33 +0200 (CEST) Received: from 1.general.paelzer.uk.vpn ([10.172.196.172] helo=lap.fritz.box) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1fkApP-00009D-MJ; Mon, 30 Jul 2018 16:15:23 +0000 From: Christian Ehrhardt To: Damjan Marion Cc: Qi Zhang , dpdk stable Date: Mon, 30 Jul 2018 18:11:31 +0200 Message-Id: <20180730161342.16566-46-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180730161342.16566-1-christian.ehrhardt@canonical.com> References: <20180730161342.16566-1-christian.ehrhardt@canonical.com> Subject: [dpdk-stable] patch 'net/i40e: do not reset device info data' has been queued to stable release 18.05.1 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: Mon, 30 Jul 2018 16:15:33 -0000 Hi, FYI, your patch has been queued to stable release 18.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/01/18. So please shout if anyone has objections. Thanks. Christian Ehrhardt --- >>From 115caaa254dcb464d2464409f058a1ec72509b80 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 6 Jun 2018 22:31:25 +0200 Subject: [PATCH] net/i40e: do not reset device info data [ upstream commit 2a4ed72338d7030ce1bbb0cee8aa213cdae6b54c ] At this point valid data is already set by rte_eth_get_device_info. device field becomes zero and consumer is not able to retrieve pci data. Fixes: 4861cde46116 ("i40e: new poll mode driver") Signed-off-by: Damjan Marion Acked-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev_vf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 804e44530..86b38d202 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -2182,7 +2182,6 @@ i40evf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) { struct i40e_vf *vf = I40EVF_DEV_PRIVATE_TO_VF(dev->data->dev_private); - memset(dev_info, 0, sizeof(*dev_info)); dev_info->max_rx_queues = vf->vsi_res->num_queue_pairs; dev_info->max_tx_queues = vf->vsi_res->num_queue_pairs; dev_info->min_rx_bufsize = I40E_BUF_SIZE_MIN; -- 2.17.1