diff options
| author | 2025-11-16 09:46:09 +0000 | |
|---|---|---|
| committer | 2025-11-17 19:30:12 -0800 | |
| commit | 889e6af87734389068fd924431f2141ddacad65e (patch) | |
| tree | c5d01c04f346a37ab615b75ab56194d63d26a8a1 /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | Merge branch 'selftests-mptcp-counter-cache-stats-before-timeout' (diff) | |
| download | wireguard-linux-889e6af87734389068fd924431f2141ddacad65e.tar.xz wireguard-linux-889e6af87734389068fd924431f2141ddacad65e.zip | |
bnx2x: convert to use ndo_hwtstamp callbacks
The driver implemented SIOCSHWTSTAMP ioctl command only, but at the same
time it has configuration stored in a private structure. Implement both
ndo_hwtstamp_set and ndo_hwtstamp_get callback using stored info.
ndo_hwtstamp_set callback implements a check for unsupported 1-step
timestamping. The same check is removed from bnx2x_configure_ptp_filters
function as it's not needed anymore. Another call site of
bnx2x_configure_ptp_filters has hwtstamp_ioctl_called guard.
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20251116094610.3932005-2-vadim.fedorenko@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions
