]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ev.c
net/ngbe: support MAC filters
[dpdk.git] / drivers / net / sfc / sfc_ev.c
index 71f706e4039463723cf08599ef94514e162feb77..ba4409369a3d573ae30be51be5f44b67e50e7f51 100644 (file)
@@ -598,7 +598,7 @@ sfc_ev_qpoll(struct sfc_evq *evq)
                }
 
                if (evq->dp_txq != NULL) {
-                       unsigned int txq_sw_index;
+                       sfc_sw_index_t txq_sw_index;
 
                        txq_sw_index = evq->dp_txq->dpq.queue_id;
 
@@ -983,7 +983,7 @@ sfc_ev_attach(struct sfc_adapter *sa)
                goto fail_kvarg_perf_profile;
        }
 
-       sa->mgmt_evq_index = 0;
+       sa->mgmt_evq_index = sfc_mgmt_evq_sw_index(sfc_sa2shared(sa));
        rte_spinlock_init(&sa->mgmt_evq_lock);
 
        rc = sfc_ev_qinit(sa, SFC_EVQ_TYPE_MGMT, 0, sa->evq_min_entries,