From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f196.google.com (mail-wj0-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 9F35710CC4 for ; Wed, 21 Dec 2016 16:10:25 +0100 (CET) Received: by mail-wj0-f196.google.com with SMTP id j10so32513319wjb.3 for ; Wed, 21 Dec 2016 07:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=pa6rz4hv0pX41gyci0pwcFmHOb4JnxjjqIjCI2n+DR0=; b=Ldg6QVSSs6t2YBDxYIWRBDkyHR7zu4QFOjGFhfoQ8RPSt7whvYIwAHA9QohsJNJNOJ H76h6PjnC+DyYskiwu0Q7SHeN43sr4ilF5NS1jKeANtpiwg5E+Nd3aTMBNSKFJtw9Z1R HK4sTWWkCtS1/l5E851pvXO6Vf3YmSZkiRVo/lxJqPXsHKuKFIHfG9xmcd3vUw2PIE+D vB0mbyM/jqbuMkWMydsGN0EV7m2AmjEYC6GmaBU5D/IpktPfvabxfVBQhlF6SG14C67O uVEb3O0LB6kYy/kxR5BUkYErziK8iwJ3KkoCj3ykp0zvuTygCbJ66yE62iMKT6FAPtX4 sp2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=pa6rz4hv0pX41gyci0pwcFmHOb4JnxjjqIjCI2n+DR0=; b=NEChWpjCQfWzqTQAmJVdeD2D3YUy/mhjPzbCnpYLob9SGkRbaQ1HeYW24uiuxyAHq4 exFf6XKno3joMmz4MSh0/McvsBShHgDug43mOXrBNsmIYb2tcybTURe+tyCqrp4Pctgf DKJX/DzGWkMtV9nScTvJZXT2cYwepc9k7FDw3/YYu9roTWplX7LR6XWuuYhY88oxuGaF U+CJOSk/0taeRWj8Sg1xueCqlDeymwgu8tF8KpMCGCq7csG4fbSvAxZA1gvCJtPT2OGx /OS89PDP3OQ8kDXgKEdeQoG1Yvujlb15W8kWSiDzBh0BEdf5sgMD+gvn0DCEEXOKUvZT 3Ubg== X-Gm-Message-State: AIkVDXLG+aRvagRIL071w6DdicvfOXOLvWAvqNspBi7s+VKY6Gr6mN2H+nOwkbN996kdqg== X-Received: by 10.194.72.100 with SMTP id c4mr4703406wjv.188.1482333025402; Wed, 21 Dec 2016 07:10:25 -0800 (PST) Received: from weierstrass.local.net ([91.200.109.169]) by smtp.gmail.com with ESMTPSA id 135sm27627375wmh.14.2016.12.21.07.10.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Dec 2016 07:10:24 -0800 (PST) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: shreyansh.jain@nxp.com, david.marchand@6wind.com, stephen@networkplumber.org Date: Wed, 21 Dec 2016 16:09:40 +0100 Message-Id: <1482332986-7599-18-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482332986-7599-1-git-send-email-jblunck@infradead.org> References: <1482332986-7599-1-git-send-email-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v4 17/23] vmxnet3: use eth_dev->data->drv_name instead of pci_drv name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 15:10:26 -0000 Signed-off-by: Jan Blunck --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index 8bb13e5..20a7966 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c @@ -138,7 +138,7 @@ gpa_zone_reserve(struct rte_eth_dev *dev, uint32_t size, const struct rte_memzone *mz; snprintf(z_name, sizeof(z_name), "%s_%d_%s", - dev->driver->pci_drv.driver.name, dev->data->port_id, post_string); + dev->data->drv_name, dev->data->port_id, post_string); mz = rte_memzone_lookup(z_name); if (!reuse) { -- 2.7.4