Fix the vmxnet3 code to just use it's own name when forming zone name. Signed-off-by: Stephen Hemminger <sthem...@microsoft.com> --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/vmxnet3/vmxnet3_rxtx.c b/drivers/net/vmxnet3/vmxnet3_rxtx.c index 36513693..8df4c8ea 100644 --- a/drivers/net/vmxnet3/vmxnet3_rxtx.c +++ b/drivers/net/vmxnet3/vmxnet3_rxtx.c @@ -849,9 +849,8 @@ ring_dma_zone_reserve(struct rte_eth_dev *dev, const char *ring_name, char z_name[RTE_MEMZONE_NAMESIZE]; const struct rte_memzone *mz; - snprintf(z_name, sizeof(z_name), "%s_%s_%d_%d", - dev->driver->pci_drv.driver.name, ring_name, - dev->data->port_id, queue_id); + snprintf(z_name, sizeof(z_name), "vmxnet3_%s_%d_%d", + ring_name, dev->data->port_id, queue_id); mz = rte_memzone_lookup(z_name); if (mz) -- 2.11.0