]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_rxr.c
net/bnxt: fix missing timestamp flag in mbuf
[dpdk.git] / drivers / net / bnxt / bnxt_rxr.c
index 9e70c8604123be6b719b88479ce516d4290986b4..6a5d8c12ce7cb3216856c7c1bef22e8bb93c101b 100644 (file)
@@ -459,7 +459,7 @@ static int bnxt_rx_pkt(struct rte_mbuf **rx_pkt,
 
        if ((rxcmp->flags_type & rte_cpu_to_le_16(RX_PKT_CMPL_FLAGS_MASK)) ==
             RX_PKT_CMPL_FLAGS_ITYPE_PTP_W_TIMESTAMP)
-               mbuf->ol_flags |= PKT_RX_IEEE1588_PTP;
+               mbuf->ol_flags |= PKT_RX_IEEE1588_PTP | PKT_RX_IEEE1588_TMST;
 
        if (agg_buf)
                bnxt_rx_pages(rxq, mbuf, &tmp_raw_cons, agg_buf);