DPDK usage discussions
 help / color / mirror / Atom feed
* Re: [dpdk-users] NIC rx timestamp
       [not found] <CAECc8jpE2uy3ZU8eABaxWzSTqoUFj3TzgqOie5gozFuwpC0tNQ@mail.gmail.com>
@ 2018-07-10 10:13 ` Raslan Darawsheh
  0 siblings, 0 replies; only message in thread
From: Raslan Darawsheh @ 2018-07-10 10:13 UTC (permalink / raw)
  To: Yuliang Li, users

You can try it with testpmd as following:

port stop all
port config all rx-timestamp on
port start all
start


you will get all packets as following if running in rxonly mode.
port 1/queue 1: received 1 packets
  src=00:16:3E:23:D0:6D - dst=7C:FE:90:12:23:15 - type=0x8100 - length=1496 - nb_segs=1 - RSS hash=0xf32d0b79 - RSS queue=0x1 - timestamp 189810534625590  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x1
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_UNKNOWN PKT_RX_IP_CKSUM_UNKNOWN PKT_RX_TIMESTAMP


Kindest regards,
Raslan Darawsheh

-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of Yuliang Li
Sent: Monday, July 9, 2018 6:56 PM
To: users@dpdk.org
Subject: [dpdk-users] NIC rx timestamp

Hi,

Is there any way to get the NIC (hardware) rx timestamp for every packet in dpdk?

Thanks,
--
Yuliang Li
PhD student
Department of Computer Science
Yale University

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-10 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAECc8jpE2uy3ZU8eABaxWzSTqoUFj3TzgqOie5gozFuwpC0tNQ@mail.gmail.com>
2018-07-10 10:13 ` [dpdk-users] NIC rx timestamp Raslan Darawsheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).