[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251113191325.3929680-1-vadim.fedorenko@linux.dev>
Date: Thu, 13 Nov 2025 19:13:23 +0000
From: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
To: Manish Chopra <manishc@...vell.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Vadim Fedorenko <vadim.fedorenko@...ux.dev>
Cc: Richard Cochran <richardcochran@...il.com>,
Simon Horman <horms@...nel.org>,
Jacob Keller <jacob.e.keller@...el.com>,
Kory Maincent <kory.maincent@...tlin.com>,
netdev@...r.kernel.org
Subject: [PATCH net-next v4 0/2] convert drivers to use ndo_hwtstamp callbacks part 4
This patchset is a subset of part 3 patchset to convert bnx2x and qede
drviers to use ndo callbacks instead ioctl to configure and report time
stamping. These drivers implemented only SIOCSHWTSTAMP command, but
converted to also provide configuration back to users. Some logic is
changed to avoid reporting configuration which is not in sync with the
HW in case of error happened.
v3 -> v4:
- improve tx_type checks to the slightly more resilient variant
- restore netif_running() check in qede driver
v2 -> v3:
- keep bnx2x driver's logic as is. Improvements will be sent as
follow-ups
v1 -> v2:
- remove unused variable in qede patch
Vadim Fedorenko (2):
bnx2x: convert to use ndo_hwtstamp callbacks
qede: convert to use ndo_hwtstamp callbacks
.../net/ethernet/broadcom/bnx2x/bnx2x_main.c | 67 ++++++++++------
drivers/net/ethernet/qlogic/qede/qede_main.c | 22 +-----
drivers/net/ethernet/qlogic/qede/qede_ptp.c | 76 ++++++++++++-------
drivers/net/ethernet/qlogic/qede/qede_ptp.h | 6 +-
4 files changed, 98 insertions(+), 73 deletions(-)
--
2.47.3
Powered by blists - more mailing lists