From: Jan Blunck Date: Fri, 23 Dec 2016 15:58:08 +0000 (+0100) Subject: net/vmxnet3: use driver name from ethdev X-Git-Tag: spdx-start~5220 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=36f8f62b7b6d62ef9a1d6506f69372a5ad31d6ab;p=dpdk.git net/vmxnet3: use driver name from ethdev Signed-off-by: Jan Blunck --- diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index 93c9ac956e..9c8b65f9dd 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) {