net/iavf: enable Rx timestamp on flex descriptor
[dpdk.git] / drivers / net / iavf / iavf_rxtx_vec_common.h
index 1fd37b7..a59cb2c 100644 (file)
@@ -231,6 +231,9 @@ iavf_rx_vec_queue_default(struct iavf_rx_queue *rxq)
        if (rxq->proto_xtr != IAVF_PROTO_XTR_NONE)
                return -1;
 
+       if (rxq->offloads & RTE_ETH_RX_OFFLOAD_TIMESTAMP)
+               return -1;
+
        if (rxq->offloads & IAVF_RX_VECTOR_OFFLOAD)
                return IAVF_VECTOR_OFFLOAD_PATH;