From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by dpdk.org (Postfix) with ESMTP id 28ED6569C for ; Fri, 8 May 2015 04:41:13 +0200 (CEST) Received: by pdea3 with SMTP id a3so58166024pde.3 for ; Thu, 07 May 2015 19:41:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0qnM5v5t8nmwlJs5kjN7oJwHX6S43bL19GIF9KMdgbU=; b=fUKsVPYD0J/wGY57KwiKGsR3H9pKbTkqb6LQAXd7MOUyijBKvMU/DOyAUOoh20tj2m h5Be3KqA2IQ9cek6PCwIsh6rT+iRzgdqYD5KdFLOeIn+CoZzGLU1vba7+1imiNMSq3S/ 1XZVr+KRPmYDZKb2/PCynlOurjomo//UNSS+UlmfkazWBqYqkofL+ZTeI9w9gZhVwsmW R6NqWTTsuBjfIV3Go7OAy9WWODswfjc/nnEFVg7Edt3CYPogCzLeQOi9QOzNQCiMT4pY MEZdauN9SYPqH7LFcRzfea6wuhA44W8Xk1Ot6XGWINQcK+2jZlpUEbpq8BmHCWT+Q+SO xeZw== X-Gm-Message-State: ALoCoQnXds5V+r3ZkaQX9/Zrt9FuZl7lV4o/Ma350alvLJA/PQKpfoOS8ylSEC9DcVJBTXbBzZBL X-Received: by 10.66.119.136 with SMTP id ku8mr2785185pab.29.1431052870982; Thu, 07 May 2015 19:41:10 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id os7sm3450900pdb.51.2015.05.07.19.41.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 May 2015 19:41:10 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 7 May 2015 19:41:12 -0700 Message-Id: <1431052872-4739-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH] bond: initialize backpointer from pci device to driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 02:41:13 -0000 Add missing initialization of to pci_dev driver The link from pci_dev back to the ethernet driver was not being set. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_bond/rte_eth_bond_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_pmd_bond/rte_eth_bond_api.c b/lib/librte_pmd_bond/rte_eth_bond_api.c index e91a623..904b59f 100644 --- a/lib/librte_pmd_bond/rte_eth_bond_api.c +++ b/lib/librte_pmd_bond/rte_eth_bond_api.c @@ -260,6 +260,7 @@ rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id) pci_dev->numa_node = socket_id; pci_drv->name = driver_name; + pci_dev->driver = pci_drv; eth_dev->driver = eth_drv; eth_dev->data->dev_private = internals; -- 2.1.4