git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/iavf: enable Rx timestamp on flex descriptor
[dpdk.git]
/
drivers
/
net
/
iavf
/
iavf_rxtx_vec_common.h
diff --git
a/drivers/net/iavf/iavf_rxtx_vec_common.h
b/drivers/net/iavf/iavf_rxtx_vec_common.h
index
1fd37b7
..
a59cb2c
100644
(file)
--- a/
drivers/net/iavf/iavf_rxtx_vec_common.h
+++ b/
drivers/net/iavf/iavf_rxtx_vec_common.h
@@
-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;