linux/drivers/net/ethernet/intel
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
..
e1000 e1000: drop unnecessary constant casts to u16 2025-09-03 10:07:27 -07:00
e1000e Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2025-09-04 19:01:35 -07:00
fm10k net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
i40e Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-25 11:00:59 -07:00
iavf iavf: fix proper type for error code in iavf_resume() 2025-09-19 08:42:08 -07:00
ice ice: fix usage of logical PF id 2025-10-28 12:49:59 -07:00
idpf idpf: cleanup remaining SKBs in PTP flows 2025-10-13 17:44:47 -07:00
igb igb: use EOPNOTSUPP instead of ENOTSUPP in igb_get_sset_count() 2025-10-28 12:49:59 -07:00
igbvf igbvf: remove redundant counter rx_long_byte_count from ethtool statistics 2025-09-03 10:07:27 -07:00
igc igc: use EOPNOTSUPP instead of ENOTSUPP in igc_ethtool_get_sset_count() 2025-10-28 12:49:59 -07:00
ixgbe ixgbe: use EOPNOTSUPP instead of ENOTSUPP in ixgbe_ptp_feature_enable() 2025-10-28 12:49:59 -07:00
ixgbevf ixgbevf: fix mailbox API compatibility by negotiating supported features 2025-10-13 17:44:48 -07:00
libeth libeth: xsk: add XSkFQ refill and XSk wakeup helpers 2025-06-16 11:40:15 -07:00
libie Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-25 11:00:59 -07:00
e100.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
Kconfig ixgbe: fwlog support for e610 2025-09-11 12:10:52 -07:00
Makefile libie: fix linking with libie_{adminq,fwlog} when CONFIG_LIBIE=n 2025-09-16 16:18:45 -07:00