linux/drivers/net/ethernet/cavium/liquidio
Hangbin Liu 9c9211a3fc net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX
Since commit 94dd016ae5 ("bond: pass get_ts_info and SIOC[SG]HWTSTAMP
ioctl to active device") the user could get bond active interface's
PHC index directly. But when there is a failover, the bond active
interface will change, thus the PHC index is also changed. This may
break the user's program if they did not update the PHC timely.

This patch adds a new hwtstamp_config flag HWTSTAMP_FLAG_BONDED_PHC_INDEX.
When the user wants to get the bond active interface's PHC, they need to
add this flag and be aware the PHC index may be changed.

With the new flag. All flag checks in current drivers are removed. Only
the checking in net_hwtstamp_validate() is kept.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-12-14 12:28:24 +00:00
..
cn23xx_pf_device.c liquidio: Fix unintentional sign extension issue on left shift of u16 2021-07-15 10:27:33 -07:00
cn23xx_pf_device.h
cn23xx_pf_regs.h liquidio: Fix unintented sign extension of a left shift of a u16 2021-04-07 14:54:49 -07:00
cn23xx_vf_device.c
cn23xx_vf_device.h
cn23xx_vf_regs.h
cn66xx_device.c
cn66xx_device.h
cn66xx_regs.h cavium/liquidio: Fix duplicate argument 2021-04-14 14:02:56 -07:00
cn68xx_device.c liquidio: cn68xx: Remove duplicated include 2020-11-02 17:32:13 -08:00
cn68xx_device.h
cn68xx_regs.h
lio_core.c ethernet: Remove redundant 'flush_workqueue()' calls 2021-10-10 11:33:15 +01:00
lio_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
lio_main.c net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
lio_vf_main.c net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
lio_vf_rep.c
lio_vf_rep.h
liquidio_common.h net/liquidio: Delete non-working LIQUIDIO_PACKAGE check 2020-03-03 17:54:54 -08:00
liquidio_image.h
Makefile
octeon_config.h
octeon_console.c drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
octeon_device.c cavium/liquidio: Use DEFINE_SPINLOCK() for spinlock 2021-01-05 15:43:41 -08:00
octeon_device.h liquidio: remove unused inline functions 2020-04-25 20:42:57 -07:00
octeon_droq.c drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
octeon_droq.h
octeon_iq.h
octeon_mailbox.c drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
octeon_mailbox.h
octeon_main.h liquidio: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
octeon_mem_ops.c liquidio: Fix -Wmissing-prototypes warnings for liquidio 2020-09-18 14:52:56 -07:00
octeon_mem_ops.h
octeon_network.h liquidio: use list_empty_careful in lio_list_delete_head 2020-06-28 21:46:33 -07:00
octeon_nic.c
octeon_nic.h
request_manager.c liquidio: Replace vmalloc_node + memset with vzalloc_node and use array_size 2020-06-17 15:04:03 -07:00
response_manager.c
response_manager.h