From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 72A6CF94 for ; Tue, 21 Nov 2017 14:31:14 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 278F120BA4; Tue, 21 Nov 2017 08:31:14 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:31:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=oESy4ogxgZx0yy1FU NR9FUcW2dlxqB+wsfjuFl/CN6I=; b=HpKLJk5VRq5jTyw9elDGvfx6n7tDq3YYu tFbHSLpfhD4FUpygDnRdUvW68WV3AwunkC2KSq76HWaqgwM+LvCvL+i2yNeKqYI7 n+uatdcZUPzcRIldKMOiV8d+tYE5i7e0IT/9ra1SGO0ocOtx6KuAXY6pqVouhmVx Eof8yzmR3HUDFvBuPoCFd5gjCbLwPlOAOwNA4T4HADcmFNAp8LWY2/7hEDPeNnQG 4GpRdiR3c+mJaFMRBto0ViXk7H3ikuBlj2EQjdcvvVcn7NWgMEqtqZZYbScJo9D5 T1STjB21DyT6red4rYMyPsG0vCz7ayOBshO3ROrzPxZV6HrEZOBng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=oESy4ogxgZx0yy1FUNR9FUcW2dlxqB+wsfjuFl/CN6I=; b=QvIVHE34 YPjs6JeFQajHWfKkvrqE3Ry4hIJAMFacWaCVoVwUvZ6bvoXu+V6C2OP9PvAMrSIF NBgGzZ3iy1muotIO0jhV3LgQGcPPEs4UA9eZgsiNUjxqRGPS5YaT+slSyWUQX+zW V3yfQqApN08WveHTvIe79lshC7xLjM6CA7zfCvWxY0in+wzrKEeEWx9i9TYU6ND9 7iBUCiBSsWtDriqe+THpV1CXGCbI9kcHdmb7e8mXg1wEroq1s6xwZXfpH4+Itcn7 Q4in5sLQxhWVpdKyop3Sd6HqEWGDnPyjStBq9QluLyM0PeCxBmHs3MQ6JepfJn4r q9nQellfPuYwRg== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id AE8D2248B4; Tue, 21 Nov 2017 08:31:11 -0500 (EST) From: Yuanhan Liu To: Rami Rosen Cc: Ferruh Yigit , dpdk stable Date: Tue, 21 Nov 2017 21:18:46 +0800 Message-Id: <1511270333-31002-184-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/kni: remove driver struct forward declaration' has been queued to stable release 17.08.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: Tue, 21 Nov 2017 13:31:14 -0000 Hi, FYI, your patch has been queued to stable release 17.08.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 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 29371433630742f6ee50a8717ac03563f316d1d5 Mon Sep 17 00:00:00 2001 From: Rami Rosen Date: Sat, 4 Nov 2017 14:03:49 +0200 Subject: [PATCH] net/kni: remove driver struct forward declaration [ upstream commit cbc3661f8b496f73ec20b8f5354fa6c299eaa53f ] This patch removes the forward declaration of eth_kni_drv in rte_eth_kni.c; this forward declaration was made unnecessary by commit 050fe6e9ff970ff92d842912136be8f9f52e171f ("drivers/net: use ethdev allocation helper for vdev"), which removes the usage of eth_kni_drv in the eth_kni_create() method. Fixes: 050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev") Signed-off-by: Rami Rosen Acked-by: Ferruh Yigit --- drivers/net/kni/rte_eth_kni.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/kni/rte_eth_kni.c b/drivers/net/kni/rte_eth_kni.c index 72a2733..fbe067a 100644 --- a/drivers/net/kni/rte_eth_kni.c +++ b/drivers/net/kni/rte_eth_kni.c @@ -356,8 +356,6 @@ static const struct eth_dev_ops eth_kni_ops = { .stats_reset = eth_kni_stats_reset, }; -static struct rte_vdev_driver eth_kni_drv; - static struct rte_eth_dev * eth_kni_create(struct rte_vdev_device *vdev, struct eth_kni_args *args, -- 2.7.4