]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ev.c
net/sfc: move TxQ state to multi-process shared location
[dpdk.git] / drivers / net / sfc / sfc_ev.c
index 5965e2350c8001988ba830ce52cad817eb949390..0ca502ea290891e962caf3ce0c296e53b71478e8 100644 (file)
@@ -355,7 +355,9 @@ sfc_ev_txq_flush_done(void *arg, __rte_unused uint32_t txq_hw_index)
        SFC_ASSERT(txq != NULL);
        SFC_ASSERT(txq->hw_index == txq_hw_index);
        SFC_ASSERT(txq->evq == evq);
-       sfc_tx_qflush_done(txq);
+       RTE_SET_USED(txq);
+
+       sfc_tx_qflush_done(sfc_txq_info_by_dp_txq(dp_txq));
 
        return B_FALSE;
 }