Re: [vpp-dev] Clock time in pcap

2021-04-16 Thread Dave Barach
Sent: Friday, April 16, 2021 4:18 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Clock time in pcap Hi Dave, Thanks! for the response. My proposed changes are in pcap_add_packet, which is called from dispatch_pcap_trace and pcap_add_buffer after aquiring spin lock. So, I think it's MT-safe

Re: [vpp-dev] Clock time in pcap

2021-04-16 Thread srinimurthy43
Hi Dave, Thanks! for the response. My proposed changes are in pcap_add_packet, which is called from  dispatch_pcap_trace and pcap_add_buffer after aquiring spin lock. So, I think it's MT-safe. Thanks, Srini -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [vpp-dev] Clock time in pcap

2021-04-15 Thread Dave Barach
add the supplied constant, then store as (sec,usec). HTH... Dave From: vpp-dev@lists.fd.io On Behalf Of srinimurth...@gmail.com Sent: Thursday, April 15, 2021 9:55 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Clock time in pcap Hello Team, I observe that timestamp captured in pcap collec

[vpp-dev] Clock time in pcap

2021-04-15 Thread srinimurthy43
Hello Team, I observe that timestamp captured in pcap collected on VPP with below command captures the time since VPP started rather than the clock time. "pcap trace rx tx max 1 intfc any file rxt.pcap" Further looking into code(version 20.05), I observe that time since VPP restarted is