summaryrefslogtreecommitdiff
path: root/drivers/net/kni/rte_eth_kni.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/kni/rte_eth_kni.c')
-rw-r--r--drivers/net/kni/rte_eth_kni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/kni/rte_eth_kni.c b/drivers/net/kni/rte_eth_kni.c
index 1cb1f06..42a4533 100644
--- a/drivers/net/kni/rte_eth_kni.c
+++ b/drivers/net/kni/rte_eth_kni.c
@@ -20,7 +20,7 @@
#define MAX_KNI_PORTS 8
#define KNI_ETHER_MTU(mbuf_size) \
- ((mbuf_size) - ETHER_HDR_LEN) /**< Ethernet MTU. */
+ ((mbuf_size) - RTE_ETHER_HDR_LEN) /**< Ethernet MTU. */
#define ETH_KNI_NO_REQUEST_THREAD_ARG "no_request_thread"
static const char * const valid_arguments[] = {