]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_ethdev.c
net: replace IPv4/v6 constants with uppercase name
[dpdk.git] / drivers / net / bnxt / bnxt_ethdev.c
index b0244d6d19ea652121ae977838c4fdb7395425ed..6d2a6721a55ef0ea12a4d5ecf95880292a7c8e5e 100644 (file)
@@ -1796,8 +1796,8 @@ bnxt_match_and_validate_ether_filter(struct bnxt *bp,
        int match = 0;
        *ret = 0;
 
-       if (efilter->ether_type == RTE_ETHER_TYPE_IPv4 ||
-               efilter->ether_type == RTE_ETHER_TYPE_IPv6) {
+       if (efilter->ether_type == RTE_ETHER_TYPE_IPV4 ||
+               efilter->ether_type == RTE_ETHER_TYPE_IPV6) {
                PMD_DRV_LOG(ERR, "invalid ether_type(0x%04x) in"
                        " ethertype filter.", efilter->ether_type);
                *ret = -EINVAL;