net/bnxt: refactor mbuf pointer reset
[dpdk.git] / drivers / net / iavf / iavf_rxtx_vec_common.h
index 25bb502..46a1873 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef _IAVF_RXTX_VEC_COMMON_H_
 #define _IAVF_RXTX_VEC_COMMON_H_
 #include <stdint.h>
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
 #include <rte_malloc.h>
 
 #include "iavf.h"
@@ -224,6 +224,9 @@ iavf_rx_vec_queue_default(struct iavf_rx_queue *rxq)
        if (rxq->nb_rx_desc % rxq->rx_free_thresh)
                return -1;
 
+       if (rxq->proto_xtr != IAVF_PROTO_XTR_NONE)
+               return -1;
+
        return 0;
 }