net/enic: flow API for NICs with advanced filters enabled
[dpdk.git] / drivers / net / enic / enic_main.c
index d026241..b4c6264 100644 (file)
@@ -1314,6 +1314,9 @@ static int enic_dev_init(struct enic *enic)
 
        vnic_dev_set_reset_flag(enic->vdev, 0);
 
+       LIST_INIT(&enic->flows);
+       rte_spinlock_init(&enic->flows_lock);
+
        /* set up link status checking */
        vnic_dev_notify_set(enic->vdev, -1); /* No Intr for notify */