]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/iavf/iavf_rxtx_vec_avx2.c
net/sfc: reserve queues for port representors
[dpdk.git] / drivers / net / iavf / iavf_rxtx_vec_avx2.c
index f5646d645366f90a00ed9f8083be8c076298a33f..96c05d93199192da0574ca92c9c67b0fea31754f 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "iavf_rxtx_vec_common.h"
 
-#include <x86intrin.h>
+#include <rte_vect.h>
 
 #ifndef __INTEL_COMPILER
 #pragma GCC diagnostic ignored "-Wcast-qual"
@@ -1500,7 +1500,7 @@ iavf_xmit_fixed_burst_vec_avx2(void *tx_queue, struct rte_mbuf **tx_pkts,
 
        txq->tx_tail = tx_id;
 
-       IAVF_PCI_REG_WRITE(txq->qtx_tail, txq->tx_tail);
+       IAVF_PCI_REG_WC_WRITE(txq->qtx_tail, txq->tx_tail);
 
        return nb_pkts;
 }