X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Fvirtual_pmd.c;h=39ecf8014e54658a402718c79752a60eaa55ffbe;hb=83eb33fe2ded208f403affe12615593b2396cc6c;hp=f1635629f24df67481ea1a6199696fa098ec7c0d;hpb=2fed8601cdfc9f9a8ae3e2deab756b65e429e042;p=dpdk.git diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index f1635629f2..39ecf8014e 100644 --- a/app/test/virtual_pmd.c +++ b/app/test/virtual_pmd.c @@ -565,8 +565,6 @@ virtual_ethdev_create(const char *name, struct ether_addr *mac_addr, if (dev_private == NULL) goto err; - memset(dev_private, 0, sizeof(*dev_private)); - snprintf(name_buf, sizeof(name_buf), "%s_rxQ", name); dev_private->rx_queue = rte_ring_create(name_buf, MAX_PKT_BURST, socket_id, 0);