linux/drivers/net/ethernet/intel/ixgbe
Kohei Enju f82acf6fb4 ixgbe: use EOPNOTSUPP instead of ENOTSUPP in ixgbe_ptp_feature_enable()
When the requested PTP feature is not supported,
ixgbe_ptp_feature_enable() returns -ENOTSUPP, causing userland programs
to get "Unknown error 524".

Since EOPNOTSUPP should be used when error is propagated to userland,
return -EOPNOTSUPP instead of -ENOTSUPP.

Fixes: 3a6a4edaa5 ("ixgbe: Hardware Timestamping + PTP Hardware Clock (PHC)")
Signed-off-by: Kohei Enju <enjuk@amazon.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2025-10-28 12:49:59 -07:00
..
devlink ixgbe: prevent from unwanted interface name changes 2025-08-12 13:24:09 -07:00
ixgbe.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-17 11:00:33 -07:00
ixgbe_82598.c ixgbe: spelling corrections 2025-07-03 09:39:04 -07:00
ixgbe_82599.c
ixgbe_common.c ixgbe: drop unnecessary casts to u16 / int 2025-09-03 10:07:27 -07:00
ixgbe_common.h
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_dcb_82598.c
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c
ixgbe_dcb_82599.h
ixgbe_dcb_nl.c
ixgbe_debugfs.c
ixgbe_e610.c ixgbe: fwlog support for e610 2025-09-11 12:10:52 -07:00
ixgbe_e610.h ixgbe: fwlog support for e610 2025-09-11 12:10:52 -07:00
ixgbe_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-04 13:33:00 -07:00
ixgbe_fcoe.c ixgbe: spelling corrections 2025-07-03 09:39:04 -07:00
ixgbe_fcoe.h
ixgbe_fw_update.c ixgbe: use libie adminq descriptors 2025-07-24 09:25:03 -07:00
ixgbe_fw_update.h
ixgbe_ipsec.c
ixgbe_ipsec.h
ixgbe_lib.c ixgbe: spelling corrections 2025-07-03 09:39:04 -07:00
ixgbe_main.c ixgbe: fix memory leak and use-after-free in ixgbe_recovery_probe() 2025-10-28 12:49:59 -07:00
ixgbe_mbx.c
ixgbe_mbx.h ixgbe: handle IXGBE_VF_FEATURES_NEGOTIATE mbox cmd 2025-10-13 17:44:49 -07:00
ixgbe_model.h
ixgbe_phy.c ixgbe: spelling corrections 2025-07-03 09:39:04 -07:00
ixgbe_phy.h
ixgbe_ptp.c ixgbe: use EOPNOTSUPP instead of ENOTSUPP in ixgbe_ptp_feature_enable() 2025-10-28 12:49:59 -07:00
ixgbe_sriov.c ixgbe: handle IXGBE_VF_FEATURES_NEGOTIATE mbox cmd 2025-10-13 17:44:49 -07:00
ixgbe_sriov.h ixgbe: check for MDD events 2025-07-03 09:39:03 -07:00
ixgbe_sysfs.c
ixgbe_txrx_common.h
ixgbe_type.h ixgbe: fwlog support for e610 2025-09-11 12:10:52 -07:00
ixgbe_type_e610.h ixgbe: fix ixgbe_orom_civd_info struct layout 2025-08-25 09:45:23 -07:00
ixgbe_x540.c ixgbe: drop unnecessary casts to u16 / int 2025-09-03 10:07:27 -07:00
ixgbe_x540.h
ixgbe_x550.c ixgbe: fix typos and docstring inconsistencies 2025-09-29 17:47:56 -07:00
ixgbe_x550.h ixgbe: add MDD support 2025-07-03 09:39:03 -07:00
ixgbe_xsk.c ixgbe: xsk: resolve the negative overflow of budget in ixgbe_xmit_zc 2025-08-20 18:46:30 -07:00
Makefile