]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_rxtx_vec_neon.h
net/hns3: fix timing of clearing interrupt source
[dpdk.git] / drivers / net / hns3 / hns3_rxtx_vec_neon.h
index e5c7d69caf2aefd3188f1ff2714c628004869f2c..74c848d5efcd40413eae70d64c10182469c04c2b 100644 (file)
@@ -84,7 +84,7 @@ hns3_xmit_fixed_burst_vec(void *__restrict tx_queue,
        txq->next_to_use = next_to_use;
        txq->tx_bd_ready -= nb_tx;
 
-       hns3_write_reg_opt(txq->io_tail_reg, nb_tx);
+       hns3_write_txq_tail_reg(txq, nb_tx);
 
        return nb_tx;
 }