linux/drivers/net/ethernet/intel/igc
Kohei Enju 21d08d1c4c igc: use EOPNOTSUPP instead of ENOTSUPP in igc_ethtool_get_sset_count()
igc_ethtool_get_sset_count() returns -ENOTSUPP when a given stringset is
not supported, 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: 36b9fea609 ("igc: Add support for statistics")
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
..
igc.h igc: don't fail igc_probe() on LED setup error 2025-09-16 14:01:53 -07:00
igc_base.c igc: return early when failing to read EECD register 2025-01-07 09:01:15 -08:00
igc_base.h igc: move TXDCTL and RXDCTL related macros 2025-06-11 08:52:14 -07:00
igc_defines.h igc: Add wildcard rule support to ethtool NFC using Default Queue 2025-07-18 09:02:28 -07:00
igc_diag.c igc: remove autoneg parameter from igc_mac_info 2024-11-13 10:30:21 -08:00
igc_diag.h
igc_dump.c
igc_ethtool.c igc: use EOPNOTSUPP instead of ENOTSUPP in igc_ethtool_get_sset_count() 2025-10-28 12:49:59 -07:00
igc_hw.h igc: Remove unused igc_read/write_pcie_cap_reg 2025-01-06 13:32:44 -08:00
igc_i225.c igc: drop unnecessary constant casts to u16 2025-09-03 10:07:27 -07:00
igc_i225.h
igc_leds.c
igc_mac.c net: Fix typos 2025-07-25 10:29:07 -07:00
igc_mac.h
igc_main.c igc: don't fail igc_probe() on LED setup error 2025-09-16 14:01:53 -07:00
igc_nvm.c igc: drop unnecessary constant casts to u16 2025-09-03 10:07:27 -07:00
igc_nvm.h igc: Remove unused igc_acquire/release_nvm 2025-01-06 13:32:44 -08:00
igc_phy.c igc: remove autoneg parameter from igc_mac_info 2024-11-13 10:30:21 -08:00
igc_phy.h
igc_ptp.c igc: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() 2025-07-03 09:38:33 -07:00
igc_regs.h igc: add support to get frame preemption statistics via ethtool 2025-04-18 09:17:14 -07:00
igc_tsn.c igc: Make the const read-only array supported_sizes static 2025-06-19 15:39:21 -07:00
igc_tsn.h igc: add preemptible queue support in mqprio 2025-06-11 10:06:24 -07:00
igc_xdp.c igc: Fix XSK queue NAPI ID mapping 2025-04-02 08:51:41 -07:00
igc_xdp.h
Makefile net: intel: Use *-y instead of *-objs in Makefile 2024-06-10 19:52:44 -07:00