]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_flow.c
net: add rte prefix to ether defines
[dpdk.git] / drivers / net / sfc / sfc_flow.c
index e1d981b4e6b45de5e5303a597bb6b1104ef52044..e4a9ba0ff9b0cbd627c7b4b21713952fc10fd5b3 100644 (file)
@@ -951,7 +951,7 @@ sfc_flow_parse_geneve(const struct rte_flow_item *item,
                return 0;
 
        if (mask->protocol == supp_mask.protocol) {
-               if (spec->protocol != rte_cpu_to_be_16(ETHER_TYPE_TEB)) {
+               if (spec->protocol != rte_cpu_to_be_16(RTE_ETHER_TYPE_TEB)) {
                        rte_flow_error_set(error, EINVAL,
                                RTE_FLOW_ERROR_TYPE_ITEM, item,
                                "GENEVE encap. protocol must be Ethernet "