net/dpaa: fix event queue detach
[dpdk.git] / drivers / net / sfc / sfc_flow_tunnel.c
index 463b01c..af5941c 100644 (file)
@@ -21,7 +21,7 @@ sfc_flow_tunnel_is_supported(struct sfc_adapter *sa)
        SFC_ASSERT(sfc_adapter_is_locked(sa));
 
        return ((sa->priv.dp_rx->features & SFC_DP_RX_FEAT_FLOW_MARK) != 0 &&
-               sa->mae.status == SFC_MAE_STATUS_SUPPORTED);
+               sa->mae.status == SFC_MAE_STATUS_ADMIN);
 }
 
 bool
@@ -433,7 +433,7 @@ sfc_flow_tunnel_get_restore_info(struct rte_eth_dev *dev,
        ft = &sa->flow_tunnels[ft_id];
 
        if (ft->refcnt == 0) {
-               sfc_err(sa, "tunnel offload: get_restore_info: tunnel=%u does not exist",
+               sfc_dbg(sa, "tunnel offload: get_restore_info: tunnel=%u does not exist",
                        ft_id);
                rc = ENOENT;
                goto fail;