* [dpdk-users] 82599ES 10-Gigabit NIC can't use timesync?
@ 2021-06-08 10:18 Linyih Teng
2021-06-11 8:49 ` David Marchand
0 siblings, 1 reply; 3+ messages in thread
From: Linyih Teng @ 2021-06-08 10:18 UTC (permalink / raw)
To: users
Hello,
I'm trying to capture rx/tx timestamp using *rte_eth_timesync_rx/tx_read()*
functions but it always returns EINVAL. Does the* 82599ES* NIC(with
*igb_uio*) support the timesync function to capture Tx/Rx timestamp?
My system and hardware info are below:
linux-headers-5.4.0-72-generic/bionic-updates,bionic-security,now
5.4.0-72.80~18.04.1 amd64
DPDK-20.08
82599ES NIC bind with igb_uio
Thanks,
Lin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] 82599ES 10-Gigabit NIC can't use timesync?
2021-06-08 10:18 [dpdk-users] 82599ES 10-Gigabit NIC can't use timesync? Linyih Teng
@ 2021-06-11 8:49 ` David Marchand
2021-06-11 12:20 ` Wang, Haiyue
0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2021-06-11 8:49 UTC (permalink / raw)
To: Linyih Teng; +Cc: users, Wang, Haiyue
On Fri, Jun 11, 2021 at 10:34 AM Linyih Teng <tenglinyih@gmail.com> wrote:
>
> I'm trying to capture rx/tx timestamp using *rte_eth_timesync_rx/tx_read()*
> functions but it always returns EINVAL. Does the* 82599ES* NIC(with
> *igb_uio*) support the timesync function to capture Tx/Rx timestamp?
Did you call rte_eth_timesync_enable() and pass a valid timespec ?
I would take testpmd as a reference and check it works with
RTE_LIBRTE_IEEE1588 enabled.
Cc: ixgbe maintainer.
--
David Marchand
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] 82599ES 10-Gigabit NIC can't use timesync?
2021-06-11 8:49 ` David Marchand
@ 2021-06-11 12:20 ` Wang, Haiyue
0 siblings, 0 replies; 3+ messages in thread
From: Wang, Haiyue @ 2021-06-11 12:20 UTC (permalink / raw)
To: David Marchand, Linyih Teng; +Cc: users
> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Friday, June 11, 2021 16:50
> To: Linyih Teng <tenglinyih@gmail.com>
> Cc: users <users@dpdk.org>; Wang, Haiyue <haiyue.wang@intel.com>
> Subject: Re: [dpdk-users] 82599ES 10-Gigabit NIC can't use timesync?
>
> On Fri, Jun 11, 2021 at 10:34 AM Linyih Teng <tenglinyih@gmail.com> wrote:
> >
> > I'm trying to capture rx/tx timestamp using *rte_eth_timesync_rx/tx_read()*
> > functions but it always returns EINVAL. Does the* 82599ES* NIC(with
> > *igb_uio*) support the timesync function to capture Tx/Rx timestamp?
>
> Did you call rte_eth_timesync_enable() and pass a valid timespec ?
>
> I would take testpmd as a reference and check it works with
> RTE_LIBRTE_IEEE1588 enabled.
> Cc: ixgbe maintainer.
>
Quick start:
http://git.dpdk.org/tools/dts/tree/test_plans/ptpclient_test_plan.rst
>
> --
> David Marchand
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-11 12:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 10:18 [dpdk-users] 82599ES 10-Gigabit NIC can't use timesync? Linyih Teng
2021-06-11 8:49 ` David Marchand
2021-06-11 12:20 ` Wang, Haiyue
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).