summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/kni.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ip_pipeline/kni.c')
-rw-r--r--examples/ip_pipeline/kni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ip_pipeline/kni.c b/examples/ip_pipeline/kni.c
index e3d0b37..e9262e0 100644
--- a/examples/ip_pipeline/kni.c
+++ b/examples/ip_pipeline/kni.c
@@ -86,7 +86,7 @@ kni_change_mtu(uint16_t port_id, unsigned int new_mtu)
if (!rte_eth_dev_is_valid_port(port_id))
return -EINVAL;
- if (new_mtu > ETHER_MAX_LEN)
+ if (new_mtu > RTE_ETHER_MAX_LEN)
return -EINVAL;
/* Set new MTU */