From: Jakub Kicinski <kuba@kernel.org>
To: Jiawen Wu <jiawenwu@trustnetic.com>
Cc: <andrew+netdev@lunn.ch>, <davem@davemloft.net>,
<edumazet@google.com>, <pabeni@redhat.com>,
<richardcochran@gmail.com>, <linux@armlinux.org.uk>,
<horms@kernel.org>, <jacob.e.keller@intel.com>,
<netdev@vger.kernel.org>, <vadim.fedorenko@linux.dev>,
<mengyuanlou@net-swift.com>
Subject: Re: [PATCH net-next v6 1/4] net: wangxun: Add support for PTP clock
Date: Wed, 12 Feb 2025 18:17:44 -0800 [thread overview]
Message-ID: <20250212181744.606e5193@kernel.org> (raw)
In-Reply-To: <03a901db7d22$24628cc0$6d27a640$@trustnetic.com>
On Wed, 12 Feb 2025 15:45:52 +0800 Jiawen Wu wrote:
> > Why not use the aux_work for this?
> > IIUC aux_work often has lower latency since it's a dedicated thread.
>
> I think this task for checking TX timestamp is immediate and continuous
> after the skbuff is sent, and can be stopped after polling a valid timestamp.
> But aux_work for detecting overflow and error cases is a periodic task that
> is always carried out. It looks a little bit clearer if they were separated, but
> I could also try to merge it into aux_work if I need to.
Give it a go, I think it will work better when machine is heavily
loaded and workqueues get blasted with other work items. But not
a hard requirement if it's difficult to get right.
next prev parent reply other threads:[~2025-02-13 2:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-08 3:13 [PATCH net-next v6 0/4] Support PTP clock for Wangxun NICs Jiawen Wu
2025-02-08 3:13 ` [PATCH net-next v6 1/4] net: wangxun: Add support for PTP clock Jiawen Wu
2025-02-12 0:07 ` Jakub Kicinski
2025-02-12 7:45 ` Jiawen Wu
2025-02-13 2:17 ` Jakub Kicinski [this message]
2025-02-13 12:45 ` Richard Cochran
2025-02-13 21:56 ` Jacob Keller
2025-02-08 3:13 ` [PATCH net-next v6 2/4] net: wangxun: Support to get ts info Jiawen Wu
2025-02-08 3:13 ` [PATCH net-next v6 3/4] net: wangxun: Implement do_aux_work of ptp_clock_info Jiawen Wu
2025-02-08 3:13 ` [PATCH net-next v6 4/4] net: ngbe: Add support for 1PPS and TOD Jiawen Wu
2025-02-12 0:07 ` [PATCH net-next v6 0/4] Support PTP clock for Wangxun NICs Jakub Kicinski
-- strict thread matches above, loose matches on Subject: below --
2025-01-21 2:20 Jiawen Wu
2025-01-21 2:20 ` [PATCH net-next v6 1/4] net: wangxun: Add support for PTP clock Jiawen Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250212181744.606e5193@kernel.org \
--to=kuba@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=jiawenwu@trustnetic.com \
--cc=linux@armlinux.org.uk \
--cc=mengyuanlou@net-swift.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=vadim.fedorenko@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.