summaryrefslogtreecommitdiff
path: root/app/test/virtual_pmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/virtual_pmd.c')
-rw-r--r--app/test/virtual_pmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c
index 15ce644..55c2bdb 100644
--- a/app/test/virtual_pmd.c
+++ b/app/test/virtual_pmd.c
@@ -566,7 +566,7 @@ virtual_ethdev_create(const char *name, struct rte_ether_addr *mac_addr,
eth_dev->data->dev_link.link_speed = ETH_SPEED_NUM_10G;
eth_dev->data->dev_link.link_duplex = ETH_LINK_FULL_DUPLEX;
- eth_dev->data->mac_addrs = rte_zmalloc(name, ETHER_ADDR_LEN, 0);
+ eth_dev->data->mac_addrs = rte_zmalloc(name, RTE_ETHER_ADDR_LEN, 0);
if (eth_dev->data->mac_addrs == NULL)
goto err;