netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/4][pull request] Intel Wired LAN Driver Updates 2022-12-07 (ice)
@ 2022-12-07 21:10 Tony Nguyen
  2022-12-07 21:10 ` [PATCH net 1/4] ice: Create a separate kthread to handle ptp extts work Tony Nguyen
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Tony Nguyen @ 2022-12-07 21:10 UTC (permalink / raw)
  To: davem, kuba, pabeni, edumazet; +Cc: Tony Nguyen, netdev

This series contains updates to ice driver only.

Anatolii adds an additional kthread worker for extended timestamp work as
AdminQ calls are disrupting timestamp work.

Dave adds replugging of aux device when channels are reconfigured so
updated resources can be redistributed.

Mateusz replaces unregister_netdev() call with call to clear rings as
there can be a deadlock with the former call.

Michal fixes a broken URL.

The following are changes since commit 87a39882b5ab3127700ac4b9277608075f98eda2:
  net: dsa: mv88e6xxx: accept phy-mode = "internal" for internal PHY ports
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 100GbE

Anatolii Gerasymenko (1):
  ice: Create a separate kthread to handle ptp extts work

Dave Ertman (1):
  ice: Correctly handle aux device when num channels change

Mateusz Palczewski (1):
  ice: Fix deadlock on the rtnl_mutex

Michal Wilczynski (1):
  ice: Fix broken link in ice NAPI doc

 .../device_drivers/ethernet/intel/ice.rst         |  2 +-
 drivers/net/ethernet/intel/ice/ice.h              |  2 ++
 drivers/net/ethernet/intel/ice/ice_ethtool.c      |  6 ++++++
 drivers/net/ethernet/intel/ice/ice_idc.c          |  3 +++
 drivers/net/ethernet/intel/ice/ice_lib.c          | 10 ++++------
 drivers/net/ethernet/intel/ice/ice_main.c         |  8 +++++++-
 drivers/net/ethernet/intel/ice/ice_ptp.c          | 15 ++++++++++++++-
 drivers/net/ethernet/intel/ice/ice_ptp.h          |  2 ++
 8 files changed, 39 insertions(+), 9 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: [PATCH net 1/4] ice: Create a separate kthread to handle ptp extts work
@ 2022-12-12 23:24 Kolacinski, Karol
  2022-12-13  2:43 ` Richard Cochran
  0 siblings, 1 reply; 18+ messages in thread
From: Kolacinski, Karol @ 2022-12-12 23:24 UTC (permalink / raw)
  To: richardcochran@gmail.com
  Cc: davem@davemloft.net, edumazet@google.com, G, GurucharanX,
	kuba@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com,
	Nguyen, Anthony L

>On 12/7/2022 4:27 PM, Richard Cochran wrote:
>> On Wed, Dec 07, 2022 at 01:10:37PM -0800, Tony Nguyen wrote:
>>> From: Anatolii Gerasymenko anatolii.gerasymenko@intel.com
>>>
>>> ice_ptp_extts_work() and ice_ptp_periodic_work() are both scheduled on
>>> the same kthread_worker pf.ptp.kworker. But, ice_ptp_periodic_work()
>>> sends messages to AQ and waits for responses. This causes
>>> ice_ptp_extts_work() to be blocked while waiting to be scheduled. This
>>> causes problems with the reading of the incoming signal timestamps,
>>> which disrupts a 100 Hz signal.
>>>
>>> Create an additional kthread_worker pf.ptp.kworker_extts to service only
>>> ice_ptp_extts_work() as soon as possible.
>> 
>> Looks like this driver isn't using the do_aux_work callback.  That
>> would provide a kthread worker for free.  Why not use that?

According to do_aux_work description, it is used to do 'auxiliary (periodic)
operations'.
ice_ptp_extts_work is not exactly periodic as the work is queued only when the
interrupt comes.

Thanks,
Karol

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-12-16 19:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07 21:10 [PATCH net 0/4][pull request] Intel Wired LAN Driver Updates 2022-12-07 (ice) Tony Nguyen
2022-12-07 21:10 ` [PATCH net 1/4] ice: Create a separate kthread to handle ptp extts work Tony Nguyen
2022-12-07 22:19   ` Saeed Mahameed
2022-12-07 23:22     ` Jacob Keller
2022-12-08  0:27   ` Richard Cochran
2022-12-09 17:07     ` Tony Nguyen
2022-12-07 21:10 ` [PATCH net 2/4] ice: Correctly handle aux device when num channels change Tony Nguyen
2022-12-07 22:25   ` Saeed Mahameed
2022-12-09 17:21     ` Ertman, David M
2022-12-09 19:28       ` Saeed Mahameed
2022-12-09 19:32         ` Jason Gunthorpe
2022-12-12 17:03           ` Ertman, David M
2022-12-12 23:53             ` Jason Gunthorpe
2022-12-16 19:08         ` [PATCH net 2/4] ice: git send-email --suppress-cc=all --to e1000-patches@eclists.intel.com Ertman, David M
2022-12-07 21:10 ` [PATCH net 3/4] ice: Fix deadlock on the rtnl_mutex Tony Nguyen
2022-12-07 21:10 ` [PATCH net 4/4] ice: Fix broken link in ice NAPI doc Tony Nguyen
  -- strict thread matches above, loose matches on Subject: below --
2022-12-12 23:24 [PATCH net 1/4] ice: Create a separate kthread to handle ptp extts work Kolacinski, Karol
2022-12-13  2:43 ` Richard Cochran

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).