netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/6] ice: lower CPU usage with GNSS
@ 2023-04-12  8:19 Michal Schmidt
  2023-04-12  8:19 ` [PATCH net-next v2 1/6] ice: do not busy-wait to read GNSS data Michal Schmidt
                   ` (7 more replies)
  0 siblings, 8 replies; 27+ messages in thread
From: Michal Schmidt @ 2023-04-12  8:19 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, Jesse Brandeburg, Karol Kolacinski, Tony Nguyen,
	Simon Horman, Michal Michalik, Arkadiusz Kubalewski, Petr Oros,
	Andrew Lunn

This series lowers the CPU usage of the ice driver when using its
provided /dev/gnss*.

v2:
 - Changed subject of patch 1. Requested by Andrew Lunn.
 - Added patch 2 to change the polling interval as recommended by Intel.
 - Added patch 3 to remove sq_cmd_timeout as suggested by Simon Horman.

Michal Schmidt (6):
  ice: do not busy-wait to read GNSS data
  ice: increase the GNSS data polling interval to 20 ms
  ice: remove ice_ctl_q_info::sq_cmd_timeout
  ice: sleep, don't busy-wait, for ICE_CTL_Q_SQ_CMD_TIMEOUT
  ice: remove unused buffer copy code in ice_sq_send_cmd_retry()
  ice: sleep, don't busy-wait, in the SQ send retry loop

 drivers/net/ethernet/intel/ice/ice_common.c   | 29 +++++--------
 drivers/net/ethernet/intel/ice/ice_controlq.c | 12 +++---
 drivers/net/ethernet/intel/ice/ice_controlq.h |  3 +-
 drivers/net/ethernet/intel/ice/ice_gnss.c     | 42 +++++++++----------
 drivers/net/ethernet/intel/ice/ice_gnss.h     |  3 +-
 5 files changed, 36 insertions(+), 53 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-04-20 21:07 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12  8:19 [PATCH net-next v2 0/6] ice: lower CPU usage with GNSS Michal Schmidt
2023-04-12  8:19 ` [PATCH net-next v2 1/6] ice: do not busy-wait to read GNSS data Michal Schmidt
2023-04-14 17:29   ` Kubalewski, Arkadiusz
2023-04-17 11:58   ` Simon Horman
2023-04-20 20:59   ` [Intel-wired-lan] " Mekala, SunithaX D
2023-04-12  8:19 ` [PATCH net-next v2 2/6] ice: increase the GNSS data polling interval to 20 ms Michal Schmidt
2023-04-14 17:28   ` Kubalewski, Arkadiusz
2023-04-17 11:58   ` Simon Horman
2023-04-20 20:59   ` [Intel-wired-lan] " Mekala, SunithaX D
2023-04-12  8:19 ` [PATCH net-next v2 3/6] ice: remove ice_ctl_q_info::sq_cmd_timeout Michal Schmidt
2023-04-14 17:29   ` Kubalewski, Arkadiusz
2023-04-17 11:52   ` Simon Horman
2023-04-20 20:59   ` [Intel-wired-lan] " Mekala, SunithaX D
2023-04-12  8:19 ` [PATCH net-next v2 4/6] ice: sleep, don't busy-wait, for ICE_CTL_Q_SQ_CMD_TIMEOUT Michal Schmidt
2023-04-14 17:29   ` Kubalewski, Arkadiusz
2023-04-17 12:01   ` Simon Horman
2023-04-20 21:07   ` [Intel-wired-lan] " Mekala, SunithaX D
2023-04-12  8:19 ` [PATCH net-next v2 5/6] ice: remove unused buffer copy code in ice_sq_send_cmd_retry() Michal Schmidt
2023-04-14 17:29   ` Kubalewski, Arkadiusz
2023-04-17 12:02   ` Simon Horman
2023-04-20 20:59   ` [Intel-wired-lan] " Mekala, SunithaX D
2023-04-12  8:19 ` [PATCH net-next v2 6/6] ice: sleep, don't busy-wait, in the SQ send retry loop Michal Schmidt
2023-04-14 17:29   ` Kubalewski, Arkadiusz
2023-04-17 12:03   ` Simon Horman
2023-04-20 20:59   ` [Intel-wired-lan] " Mekala, SunithaX D
2023-04-14 17:29 ` [PATCH net-next v2 0/6] ice: lower CPU usage with GNSS Kubalewski, Arkadiusz
2023-04-20 20:59 ` [Intel-wired-lan] " Mekala, SunithaX D

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