aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethtool/ioctl.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-18net: ethtool: update set_rxfh_indir to use ethtool_get_rx_ring_count helperBreno Leitao1-8/+8
2025-09-18net: ethtool: update set_rxfh to use ethtool_get_rx_ring_count helperBreno Leitao1-7/+9
2025-09-18net: ethtool: add get_rx_ring_count callback to optimize RX ring queriesBreno Leitao1-5/+3
2025-09-18net: ethtool: remove the duplicated handling from ethtool_get_rxringsBreno Leitao1-23/+10
2025-09-18net: ethtool: add support for ETHTOOL_GRXRINGS ioctlBreno Leitao1-0/+40
2025-09-18net: ethtool: pass the num of RX rings directly to ethtool_copy_validate_indirBreno Leitao1-5/+5
2025-08-14net: ethtool: support including Flow Label in the flow hash for RSSJakub Kicinski1-0/+25
2025-07-21ethtool: rss: support removing contexts via NetlinkJakub Kicinski1-0/+1
2025-07-21ethtool: rss: support creating contexts via NetlinkJakub Kicinski1-0/+1
2025-07-21ethtool: move ethtool_rxfh_ctx_alloc() to common codeJakub Kicinski1-34/+0
2025-07-21ethtool: rejig the RSS notification machinery for more typesJakub Kicinski1-5/+7
2025-07-17ethtool: rss: support setting input-xfrm via NetlinkJakub Kicinski1-3/+1
2025-07-16ethtool: Don't check for RXFH fields conflict when no input_xfrm is requestedGal Pressman1-1/+4
2025-07-10ethtool: rss: report which fields are configured for hashingJakub Kicinski1-1/+5
2025-07-10ethtool: mark ETHER_FLOW as usable for Rx hashJakub Kicinski1-0/+1
2025-07-08net: ethtool: reduce indent for _rxfh_context opsJakub Kicinski1-18/+12
2025-07-08net: ethtool: remove the compat code for _rxfh_context opsJakub Kicinski1-51/+14
2025-06-30net: ethtool: move get_rxfh callback under the rss_lockJakub Kicinski1-3/+8
2025-06-30net: ethtool: move rxfh_fields callbacks under the rss_lockJakub Kicinski1-5/+10
2025-06-30net: ethtool: take rss_lock for all rxfh changesJakub Kicinski1-21/+21
2025-06-25net: ethtool: rss: add notificationsJakub Kicinski1-0/+4
2025-06-25net: ethtool: remove the data argument from ethtool_notify()Jakub Kicinski1-12/+12
2025-06-21net: ethtool: don't mux RXFH via rxnfc callbacksJakub Kicinski1-41/+18
2025-06-12net: ethtool: add dedicated callbacks for getting and setting rxfh fieldsJakub Kicinski1-10/+45
2025-06-12net: ethtool: require drivers to opt into the per-RSS ctx RXFHJakub Kicinski1-0/+8
2025-06-12net: ethtool: remove the duplicated handling from rxfh and rxnfcJakub Kicinski1-52/+5
2025-06-12net: ethtool: copy the rxfh flow handlingJakub Kicinski1-1/+92
2025-06-12net: ethtool: Don't check if RSS context exists in case of context 0Gal Pressman1-1/+2
2025-05-09ethtool: Block setting of symmetric RSS when non-symmetric rx-flow-hash is re...Gal Pressman1-10/+89
2025-04-07net: hold instance lock during NETDEV_CHANGEStanislav Fomichev1-1/+1
2025-03-08net: move misc netdev_lock flavors to a separate headerJakub Kicinski1-0/+1
2025-03-06net: ethtool: try to protect all callback with netdev instance lockJakub Kicinski1-0/+6
2025-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2025-02-25ethtool: Symmetric OR-XOR RSS hashGal Pressman1-4/+4
2025-02-24net: ethtool: fix ioctl confusing drivers about desired HDS user configJakub Kicinski1-2/+2
2025-02-17net: move stale comment about ntuple validationJakub Kicinski1-1/+3
2025-02-10net: ethtool: prevent flow steering to RSS contexts which don't existJakub Kicinski1-4/+8
2025-02-03ethtool: ntuple: fix rss + ring_cookie checkJakub Kicinski1-1/+1
2025-01-28ethtool: Fix set RXNFC command with symmetric RSS hashGal Pressman1-1/+1
2024-12-03ethtool: Fix access to uninitialized fields in set RXNFC commandGal Pressman1-1/+2
2024-11-18Revert "net: ethtool: Avoid thousands of -Wflex-array-member-not-at-end warni...Kees Cook1-1/+1
2024-11-14net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts inEdward Cree1-0/+5
2024-11-03net: ethtool: Avoid thousands of -Wflex-array-member-not-at-end warningsGustavo A. R. Silva1-1/+1
2024-10-17ethtool: rss: prevent rss ctx deletion when in useDaniel Zahka1-0/+7
2024-10-04ethtool: rss: fix rss key initialization warningDaniel Zahka1-0/+1
2024-08-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2024-08-26ethtool: check device is present when getting link settingsJamie Bainbridge1-0/+3
2024-08-12ethtool: rss: don't report key if device doesn't support itJakub Kicinski1-4/+21
2024-08-12ethtool: make ethtool_ops::cap_rss_ctx_supported optionalJakub Kicinski1-2/+4
2024-08-09ethtool: refactor checking max channelsMina Almasry1-10/+3
2024-08-08ethtool: Fix context creation with no parametersGal Pressman1-5/+8
2024-08-08net: ethtool: fix off-by-one error in max RSS context IDsEdward Cree1-2/+3
2024-07-29ethtool: fix the state of additional contexts with old APIJakub Kicinski1-8/+30
2024-07-29ethtool: fix setting key and resetting indir at onceJakub Kicinski1-2/+3
2024-07-15Merge branch 'net-make-timestamping-selectable'Jakub Kicinski1-3/+11
2024-07-15net: Add struct kernel_ethtool_ts_infoKory Maincent1-3/+11
2024-07-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2024-07-12net: ethtool: let drivers declare max size of RSS indir table and keyJakub Kicinski1-10/+36
2024-07-11net: ethtool: Fix RSS settingSaeed Mahameed1-1/+2
2024-07-11ethtool: fail closed if we can't get max channel used in indirection tablesJakub Kicinski1-3/+1
2024-07-04ethtool: move firmware flashing flag to struct ethtool_netdev_stateEdward Cree1-4/+4
2024-07-03net: ethtool: fix compat with old RSS context APIJakub Kicinski1-2/+2
2024-06-28net: ethtool: use the tracking array for get_rxfh on custom RSS contextsEdward Cree1-5/+21
2024-06-28net: ethtool: add a mutex protecting RSS contextsEdward Cree1-0/+7
2024-06-28net: ethtool: add an extack parameter to new rxfh_context APIsEdward Cree1-3/+6
2024-06-28net: ethtool: let the core choose RSS context IDsEdward Cree1-12/+34
2024-06-28net: ethtool: record custom RSS contexts in the XArrayEdward Cree1-1/+73
2024-06-28net: move ethtool-related netdev state into its own structEdward Cree1-1/+1
2024-06-28ethtool: Veto some operations during firmware flashing processDanielle Ratson1-0/+12
2024-06-06net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()Su Hui1-1/+1
2024-03-05ethtool: ignore unused/unreliable fields in set_eee opHeiner Kallweit1-5/+0
2024-02-28net: ethtool: eee: Remove legacy _u32 from keeeAndrew Lunn1-19/+10
2024-02-23net: ethtool: avoid rebuilds on UTS_RELEASE changeJann Horn1-2/+3
2024-01-31ethtool: add linkmode bitmap support to struct ethtool_keeeHeiner Kallweit1-3/+24
2024-01-31ethtool: add suffix _u32 to legacy bitmap members of struct ethtool_keeeHeiner Kallweit1-6/+6
2024-01-31ethtool: switch back from ethtool_keee to ethtool_eee for ioctlHeiner Kallweit1-9/+39
2024-01-31ethtool: replace struct ethtool_eee with a new struct ethtool_keee on kernel ...Heiner Kallweit1-3/+3
2024-01-05net: ethtool: reject unsupported RSS input xfrm valuesAhmed Zaki1-0/+3
2024-01-02net: ethtool: Fix symmetric-xor RSS RX flow hash checkGerhard Engleder1-15/+18
2024-01-02net: ethtool: add a NO_CHANGE uAPI for new RXFH's input_xfrmAhmed Zaki1-2/+4
2024-01-02net: ethtool: copy input_xfrm to user-space in ethtool_get_rxfhAhmed Zaki1-0/+5
2023-12-13net: ethtool: add support for symmetric-xor RSS hashAhmed Zaki1-4/+26
2023-12-13net: ethtool: get rid of get/set_rxfh_context functionsAhmed Zaki1-17/+10
2023-12-13net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool opsAhmed Zaki1-58/+68
2023-12-08ethtool: Implement ethtool_puts()justinstitt@google.com1-0/+7
2023-12-05net: core: synchronize link-watch when carrier is queriedJohannes Berg1-0/+3
2023-07-31net: flow_dissector: Use 64bits for used_keysRatheesh Kannoth1-8/+8
2023-07-28net: ethtool: Unify ETHTOOL_{G,S}RXFH rxnfc copyJoe Damato1-37/+38
2023-06-13ethtool: ioctl: account for sopass diff in set_wolJustin Chen1-1/+2
2023-06-08ethtool: ioctl: improve error checking for set_wolJustin Chen1-2/+12
2023-05-03ethtool: Fix uninitialized number of lanesIdo Schimmel1-1/+1
2023-03-29ipv6: Remove in6addr_any alternatives.Kuniyuki Iwashima1-5/+5
2022-12-28net/ethtool/ioctl: split ethtool_get_phy_stats into multiple helpersDaniil Tatianin1-33/+69
2022-12-28net/ethtool/ioctl: remove if n_stats checks from ethtool_get_phy_statsDaniil Tatianin1-14/+10
2022-12-28net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy statsDaniil Tatianin1-1/+2
2022-11-23ethtool: avoiding integer overflow in ethtool_phys_id()Maxim Korotkov1-1/+2
2022-11-10ethtool: ethtool_get_drvinfo: populate drvinfo fields even if callback exitsVincent Mailhol1-3/+10
2022-11-08ethtool: Fail number of channels change when it conflicts with rxnfcGal Pressman1-6/+11
2022-11-03net: devlink: use devlink_port pointer instead of ndo_get_devlink_portJiri Pirko1-9/+2
2022-09-23net: phy: Add support for rate matchingSean Anderson1-0/+1
2022-08-22ethtool: move from strlcpy with unused retval to strscpyWolfram Sang1-4/+4
2022-06-13ethtool: Fix and simplify ethtool_convert_link_mode_to_legacy_u32()Marco Bonelli1-15/+2
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-2/+2
2022-01-06ethtool: use phydev variableTom Rix1-4/+4
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-12-06net: add net device refcount tracker to ethtool_phys_id()Eric Dumazet1-2/+3
2021-11-26net: ethtool: set a default driver nameTonghao Zhang1-0/+3
2021-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-11-26ethtool: ioctl: fix potential NULL deref in ethtool_set_coalesce()Julian Wiedmann1-1/+1
2021-11-22ethtool: extend ringparam setting/getting API with rx_buf_lenHao Chen1-3/+7
2021-11-22ethtool: add support to set/get tx copybreak buf size via ethtoolHao Chen1-0/+1
2021-11-01ethtool: don't drop the rtnl_lock half way thru the ioctlJakub Kicinski1-4/+32
2021-11-01ethtool: handle info/flash data copying outside rtnl_lockJakub Kicinski1-41/+69
2021-11-01ethtool: push the rtnl_lock into dev_ethtool()Jakub Kicinski1-1/+13
2021-10-24net: convert users of bitmap_foo() to linkmode_foo()Sean Anderson1-4/+3
2021-09-29ethtool: ioctl: Use array_size() helper in copy_{from,to}_user()Gustavo A. R. Silva1-5/+7
2021-09-14ethtool: prevent endless loop if eeprom size is smaller than announcedHeiner Kallweit1-0/+4
2021-08-24ethtool: extend coalesce setting uAPI with CQE modeYufeng Mo1-3/+12
2021-08-03ethtool: runtime-resume netdev parent before ethtool ioctl opsHeiner Kallweit1-3/+15
2021-07-27dev_ioctl: pass SIOCDEVPRIVATE data separatelyArnd Bergmann1-2/+1
2021-07-27ethtool: Fix rxnfc copy to user buffer overflowSaeed Mahameed1-1/+1
2021-07-23ethtool: improve compat ioctl handlingArnd Bergmann1-16/+120
2021-06-09net: ethtool: clear heap allocations for ethtool functionAustin Kim1-5/+5
2021-04-19ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()Gustavo A. R. Silva1-1/+1
2021-04-11net: ethtool: Export helpers for getting EEPROM infoAndrew Lunn1-7/+7
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-17/+1
2021-04-07ethtool: Remove link_mode param and derive link params from driverDanielle Ratson1-17/+1
2021-03-26ethtool: fec: fix FEC_NONE checkJakub Kicinski1-1/+1
2021-03-25ethtool: fec: sanitize ethtool_fecparam->fecJakub Kicinski1-0/+3
2021-03-25ethtool: fec: sanitize ethtool_fecparam->active_fecJakub Kicinski1-0/+1
2021-03-25ethtool: fec: sanitize ethtool_fecparam->reservedJakub Kicinski1-0/+5
2021-03-17ethtool: Add common function for filling out stringsAlexander Duyck1-0/+12
2021-02-03ethtool: Get link mode in use instead of speed and duplex parametersDanielle Ratson1-1/+17
2020-11-02ethtool: remove unneeded semicolonTom Rix1-1/+1
2020-10-06ethtool: allow netdev driver to define phy tunablesIgor Russkikh1-13/+24
2020-09-03ethtool: fix error handling in ethtool_phys_idEdward Cree1-15/+10
2020-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+1
2020-08-31xsk: i40e: ice: ixgbe: mlx5: Rename xsk zero-copy driver interfacesMagnus Karlsson1-1/+1
2020-08-31xsk: i40e: ice: ixgbe: mlx5: Pass buffer pool to driver instead of umemMagnus Karlsson1-1/+1
2020-08-20ethtool: allow flow-type ether without IP protocol fieldVishal Kulkarni1-1/+2
2020-07-08net: phy: Uninline PHY ethtool statistics operationsFlorian Fainelli1-8/+15
2020-06-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-06-22ethtool: Fix check in ethtool_rx_flow_rule_createGaurav Singh1-1/+1
2020-06-17ethtool: ioctl: Use array_size() in copy_to_user()Gustavo A. R. Silva1-2/+2
2020-05-23ethtool: propagate get_coalesce return valueHeiner Kallweit1-1/+4
2020-05-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+1
2020-05-21xsk: Move driver interface to xdp_sock_drv.hMagnus Karlsson1-1/+1
2020-05-16ethtool: don't call set_channels in drivers if config didn't changeJakub Kicinski1-0/+6
2020-05-16ethtool: check if there is at least one channel for TX/RX in the coreJakub Kicinski1-0/+5
2020-05-06ethtool: provide UAPI for PHY master/slave configuration.Oleksij Rempel1-0/+6
2020-04-21drivers: Remove inclusion of vermagic headerLeon Romanovsky1-2/+1
2020-04-20net: ethtool: self_test: Mark interface in testing operative statusAndrew Lunn1-0/+2
2020-03-29ethtool: provide timestamping information with TSINFO_GET requestMichal Kubecek1-19/+4
2020-03-29ethtool: add EEE_NTF notificationMichal Kubecek1-1/+5
2020-03-29ethtool: add PAUSE_NTF notificationMichal Kubecek1-1/+5
2020-03-29ethtool: add COALESCE_NTF notificationMichal Kubecek1-1/+5
2020-03-24ethtool: fix incorrect tx-checksumming settings reportingVladyslav Tarasiuk1-1/+1
2020-03-17net: ethtool: require drivers to set supported_coalesce_paramsJakub Kicinski1-3/+0
2020-03-12ethtool: add CHANNELS_NTF notificationMichal Kubecek1-1/+5
2020-03-12ethtool: set device channel counts with CHANNELS_SET requestMichal Kubecek1-31/+0
2020-03-12ethtool: add RINGS_NTF notificationMichal Kubecek1-1/+5
2020-03-12ethtool: add PRIVFLAGS_NTF notificationMichal Kubecek1-0/+2
2020-03-12ethtool: provide netdev features with FEATURES_GET requestMichal Kubecek1-2/+0
2020-03-12ethtool: update mapping of features to legacy ioctl requestsMichal Kubecek1-2/+3
2020-03-05ethtool: add infrastructure for centralized checking of coalescing parametersJakub Kicinski1-0/+66
2020-02-29ethtool: Factored out similar ethtool link settings for virtual devices to coreCris Forno1-0/+39
2020-01-27net/core: Replace driver version to be kernel versionLeon Romanovsky1-0/+2
2020-01-27ethtool: add WOL_NTF notificationMichal Kubecek1-0/+1
2020-01-27ethtool: add DEBUG_NTF notificationMichal Kubecek1-0/+2
2019-12-27ethtool: provide link state with LINKSTATE_GET requestMichal Kubecek1-4/+4
2019-12-27ethtool: add LINKMODES_NTF notificationMichal Kubecek1-2/+6
2019-12-27ethtool: add LINKINFO_NTF notificationMichal Kubecek1-2/+10
2019-12-27ethtool: provide link settings with LINKINFO_GET requestMichal Kubecek1-48/+0
2019-12-25net: ethtool: Use the PHY time stamping interface.Richard Cochran1-2/+2
2019-12-12ethtool: provide link mode names as a string setMichal Kubecek1-0/+6
2019-12-12ethtool: move string arrays into common fileMichal Kubecek1-82/+2
2019-12-12ethtool: move to its own directoryMichal Kubecek1-0/+3116