]> git.droids-corp.org - dpdk.git/blobdiff - examples/ethtool/ethtool-app/ethapp.c
net/ice/base: remove unused DDP package macros
[dpdk.git] / examples / ethtool / ethtool-app / ethapp.c
index ce7f715f8187c348c32423ef339410acdb244993..b6b967118e4c76d01539e0d5f7a40572e2c40c65 100644 (file)
@@ -530,8 +530,8 @@ pcmd_mtu_callback(void *ptr_params,
        new_mtu = atoi(params->opt);
        new_mtu = strtoul(params->opt, &ptr_parse_end, 10);
        if (*ptr_parse_end != '\0' ||
-                       new_mtu < ETHER_MIN_MTU ||
-                       new_mtu > ETHER_MAX_JUMBO_FRAME_LEN) {
+                       new_mtu < RTE_ETHER_MIN_MTU ||
+                       new_mtu > RTE_ETHER_MAX_JUMBO_FRAME_LEN) {
                printf("Port %i: Invalid MTU value\n", params->port);
                return;
        }