net/ice/base: add non-word aligned IPv4 field support
[dpdk.git] / drivers / net / cxgbe / cxgbe_flow.c
index 4f23468..d3de689 100644 (file)
@@ -233,7 +233,7 @@ ch_rte_parsetype_ipv4(const void *dmask, const struct rte_flow_item *item,
                                          item, "ttl/tos are not supported");
 
        fs->type = FILTER_TYPE_IPV4;
-       CXGBE_FILL_FS(RTE_ETHER_TYPE_IPv4, 0xffff, ethtype);
+       CXGBE_FILL_FS(RTE_ETHER_TYPE_IPV4, 0xffff, ethtype);
        if (!val)
                return 0; /* ipv4 wild card */
 
@@ -262,7 +262,7 @@ ch_rte_parsetype_ipv6(const void *dmask, const struct rte_flow_item *item,
                                          "tc/flow/hop are not supported");
 
        fs->type = FILTER_TYPE_IPV6;
-       CXGBE_FILL_FS(RTE_ETHER_TYPE_IPv6, 0xffff, ethtype);
+       CXGBE_FILL_FS(RTE_ETHER_TYPE_IPV6, 0xffff, ethtype);
        if (!val)
                return 0; /* ipv6 wild card */