Time stamp was carried in the packet meta data, but not
place in the mbuf. The new time stamp field is the proper
destination.
Remove the setting of data offset since this is done by
rte_pktmbuf_free()
Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
Acked-by: John Miller <john.miller@atomicrules.com>
mbuf->port = meta->port;
mbuf->pkt_len = meta->pkt_len;
mbuf->data_len = meta->pkt_len;
- mbuf->data_off = RTE_PKTMBUF_HEADROOM;
+ mbuf->timestamp = meta->timestamp;
mbuf->udata64 = meta->user_data;
if (ARK_RX_DEBUG) { /* debug sanity checks */
mbuf->pkt_len = 63;
meta->pkt_len = 63;
}
+ /* seqn is only set under debug */
mbuf->seqn = cons_index;
}