From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f195.google.com (mail-wj0-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id D428769C6 for ; Fri, 23 Dec 2016 16:58:49 +0100 (CET) Received: by mail-wj0-f195.google.com with SMTP id kp2so40789226wjc.0 for ; Fri, 23 Dec 2016 07:58:49 -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 :in-reply-to:references; bh=Zzl3uCRd0bWl4UQ1z9uXRw0oiv0FeDxgtGMWbnICgP4=; b=s3Ctb7kgZMHTzPK8atviK6IPqDgdoqFGB0zj475kB845CxnTJrkDVEMNPpWQi/NesU cS5labYM4R9pU5yLNRGhR80NYraUGcp/K0SejFwtxtBwLLxdZ3l+eWJV29HhqRpUaEK9 T0Eh2tBKztdZ8dbwBQiPc57OudAxBl7ImqAgFADBlHVIrL1fdCvHj0/1IgLRzN//OPG+ YugPGKv/znvG51PUz1k3T4sAhYzkmn5fvL9ScQbBg320mGDyFGaQ6BxusnxbwZJG6alo myhn4dUWW1WXYYR/v0HuQ/uU1JciPEMPhKz4cQ8jDg4v82BOANxv3aGkdLKEKgjNi45i 3F5A== 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:in-reply-to:references; bh=Zzl3uCRd0bWl4UQ1z9uXRw0oiv0FeDxgtGMWbnICgP4=; b=qhotdKgdA1/4dlWystX9fZgDqYC1kI8NaHzHiHlmgOmcGVtHpDj9Css1dULG++xP59 aiJ+tq+Ekfb5YJcWWKVcPE3XCPshNRN1Bv6g9rlV5O11CGZUOrkN7UxxzxQFpYZq7pO3 gNr7WgYqDJveR3aV6zNz8Bq9cV8hBGpgCOPfyxtJYTk7k7D2igEs4Hvhdbs7RAvgEsrw Ag53ie9usQ33JCjVQpyVnF5Vb/lpCBfPsexGx9dDohKcA55Y79Tr4BlotM64a0uGhKlb 3N0LOJm8NTZTzhHZ6Y+iwwqxgdsmq4aBgnQsCHEtr0OS0l0GUgNSrnGa4Sgb78XsRHIZ JPZA== X-Gm-Message-State: AIkVDXIk8Mm1A25qzgrg32BgLiCeRiIrNFIT+t3IOWXih2dqXOiLcuXi2RW6qV3kTAtjLA== X-Received: by 10.194.127.40 with SMTP id nd8mr15624101wjb.43.1482508729458; Fri, 23 Dec 2016 07:58:49 -0800 (PST) Received: from weierstrass.local.net ([91.200.109.169]) by smtp.gmail.com with ESMTPSA id jm6sm41027072wjb.27.2016.12.23.07.58.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Dec 2016 07:58:48 -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: Fri, 23 Dec 2016 16:58:08 +0100 Message-Id: <1482508691-11408-18-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482508691-11408-1-git-send-email-jblunck@infradead.org> References: <1482508691-11408-1-git-send-email-jblunck@infradead.org> 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 v5 17/20] 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: Fri, 23 Dec 2016 15:58:50 -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 93c9ac9..9c8b65f 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