linux/drivers/net/ethernet/broadcom
Vadim Fedorenko 889e6af877 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>
2025-11-17 19:30:12 -08:00
..
asp2 net: bcmasp: Add support for PHY-based Wake-on-LAN 2025-10-15 17:45:52 -07:00
bnge bng_en: Configure default VNIC 2025-09-22 17:51:28 -07:00
bnx2x bnx2x: convert to use ndo_hwtstamp callbacks 2025-11-17 19:30:12 -08:00
bnxt Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
genet net: bcmgenet: remove unused platform code 2025-10-15 09:09:41 -07:00
Kconfig net: b44: register a fixed phy using fixed_phy_register_100fd if needed 2025-11-04 18:46:13 -08:00
Makefile bng_en: Add PCI interface 2025-07-07 18:54:00 -07:00
b44.c net: b44: register a fixed phy using fixed_phy_register_100fd if needed 2025-11-04 18:46:13 -08:00
b44.h
bcm63xx_enet.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bcm63xx_enet.h
bcm4908_enet.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
bcm4908_enet.h
bcmsysport.c eth: bcmsysport: fix call balance of priv->clk handling routines 2024-12-30 17:33:46 -08:00
bcmsysport.h net: systemport: Move IO macros to header file 2024-10-28 15:54:37 -07:00
bgmac-bcma-mdio.c net: fill in MODULE_DESCRIPTION()s for Broadcom bgmac 2024-01-24 15:12:20 -08:00
bgmac-bcma.c net: fill in MODULE_DESCRIPTION()s for Broadcom bgmac 2024-01-24 15:12:20 -08:00
bgmac-platform.c net: ethernet: bgmac-platform: fix an OF node reference leak 2024-12-17 13:22:05 +01:00
bgmac.c net: phy: fixed_phy: remove irq argument from fixed_phy_register 2025-05-20 18:17:43 -07:00
bgmac.h bgmac: reduce max frame size to support just MTU 1500 2025-01-29 18:57:42 -08:00
bnx2.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bnx2.h bnx2: Drop redundant pci_enable_pcie_error_reporting() 2023-03-08 23:34:38 -08:00
bnx2_fw.h
cnic.c cnic: Fix use-after-free bugs in cnic_delete_task 2025-09-18 07:47:18 -07:00
cnic.h net: cnic: Convert tasklet API to new bottom half workqueue mechanism 2024-07-31 18:59:46 -07:00
cnic_defs.h
cnic_if.h cnic,bnx2,bnx2x: use UIO_MEM_DMA_COHERENT 2024-03-07 21:52:59 +00:00
sb1250-mac.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
tg3.c tg3: Fix num of RX queues being reported by ethtool 2025-11-10 17:11:32 -08:00
tg3.h tg3: spelling corrections 2025-06-27 10:25:57 +01:00
unimac.h