]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/dpaa2/dpaa2_rxtx.c
net/bnxt: consolidate template table processing
[dpdk.git] / drivers / net / dpaa2 / dpaa2_rxtx.c
index 86cb9526846a5cfee50b1269a93c223bc1e9a0b8..4dd1d5f5786c86bd7a2c3765817802cf038e5d3f 100644 (file)
@@ -108,7 +108,7 @@ dpaa2_dev_rx_parse_new(struct rte_mbuf *m, const struct qbman_fd *fd,
        m->hash.rss = fd->simple.flc_hi;
        m->ol_flags |= PKT_RX_RSS_HASH;
 
-       if (dpaa2_enable_ts) {
+       if (dpaa2_enable_ts[m->port]) {
                m->timestamp = annotation->word2;
                m->ol_flags |= PKT_RX_TIMESTAMP;
                DPAA2_PMD_DP_DEBUG("pkt timestamp:0x%" PRIx64 "", m->timestamp);