aboutsummaryrefslogtreecommitdiffstats
path: root/ethtool.c
AgeCommit message (Expand)AuthorFilesLines
2020-10-19add support for stats in subcommandsJakub Kicinski1-0/+8
2020-10-19separate FLAGS out in -hJakub Kicinski1-3/+6
2020-09-28add 100baseFX modes to link mode tablesMichal Kubecek1-0/+6
2020-09-28add missing link modes to mode_defs[] arrayMichal Kubecek1-8/+48
2020-09-28fix memory leaks in do_sfeatures()Ivan Vecera1-6/+7
2020-09-28bnxt: Add Broadcom driver support.Vasundhara Volam1-0/+1
2020-09-16update link mode tablesMichal Kubecek1-2/+22
2020-09-16tunnels: implement new --show-tunnels commandJakub Kicinski1-0/+5
2020-08-27ioctl: only memset non-NULL link settingsHans-Christian Noren Egtvedt1-2/+3
2020-08-27ioctl: convert cmdline_info arrays to named initializersMichal Kubecek1-82/+296
2020-08-27ioctl: get rid of signed/unsigned comparison warningsMichal Kubecek1-14/+17
2020-08-27ioctl: make argc counters unsignedMichal Kubecek1-12/+12
2020-08-27ioctl: prevent argc underflow in do_perqueue()Michal Kubecek1-0/+2
2020-08-27ioctl: check presence of eeprom length argument properlyMichal Kubecek1-9/+15
2020-08-04ioctl: avoid zero length array warning in get_stringset()Michal Kubecek1-1/+3
2020-08-04rename maybe_unused macro to __maybe_unusedMichal Kubecek1-3/+3
2020-07-30ioctl: do not pass transceiver value back to kernelMichal Kubecek1-0/+2
2020-07-20ethtool: add support for get/set ethtool_tunableGovindarajulu Varadarajan1-0/+194
2020-07-19Add IGC driver supportAndre Guedes1-0/+1
2020-07-05Add --json command line argument parsingAndrew Lunn1-11/+22
2020-07-05Add cable test TDR supportAndrew Lunn1-0/+9
2020-07-05Add cable test supportAndrew Lunn1-0/+5
2020-06-12netlink: add master/slave configuration supportOleksij Rempel1-0/+1
2020-06-07netlink: add netlink handler for tsinfo (-T)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for seee (--set-eee)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for geee (--show-eee)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for spause (-A)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for gpause (-a)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for scoalesce (-C)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for gcoalesce (-c)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for schannels (-L)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for gchannels (-l)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for sring (-G)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for gring (-g)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for sprivflags (--set-priv-flags)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for gprivflags (--show-priv-flags)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for sfeatures (-K)Michal Kubecek1-0/+1
2020-06-07netlink: add netlink handler for gfeatures (-k)Michal Kubecek1-55/+10
2020-05-13refactor interface between ioctl and netlink codeMichal Kubecek1-38/+13
2020-05-13features: accept long legacy flag names when setting featuresMichal Kubecek1-5/+12
2020-05-13ethtool.c: Report transceiver correctlyFlorian Fainelli1-1/+1
2020-05-13ethtool: Add support for Low Latency Reed SolomonAya Levin1-2/+12
2020-03-13netlink: add handler for permaddr (-P)Michal Kubecek1-0/+1
2020-03-13netlink: add netlink handler for sset (-s)Michal Kubecek1-4/+5
2020-03-13netlink: partial netlink handler for gset (no option)Michal Kubecek1-0/+1
2020-03-13move shared code into a common fileMichal Kubecek1-144/+7
2020-03-13netlink: add notification monitorMichal Kubecek1-0/+14
2020-03-13netlink: introduce the netlink interfaceMichal Kubecek1-19/+57
2020-03-13use named initializers in command line option listMichal Kubecek1-201/+358
2020-03-13add --debug option to control debugging messagesMichal Kubecek1-2/+16
2019-10-29fix unused parameter warning in dump_eeprom()Maciej Żenczykowski1-1/+2
2019-10-29fix unused parameter warning in find_option()Maciej Żenczykowski1-5/+4
2019-10-29fix unused parameter warnings in do_version() and show_usage()Maciej Żenczykowski1-2/+2
2019-09-24ethtool: implement support for Energy Detect Power DownAlexandru Ardelean1-4/+90
2019-08-09ethtool: dump nested registersVivien Didelot1-2/+11
2019-06-14ethtool: Add 100BaseT1 and 1000BaseT1 link modesAndrew Lunn1-0/+6
2019-04-09Add a 'start N' option when specifying the Rx flow hash indirection table.Jonathan Lemon1-13/+33
2019-04-09ethtool: add support for PHY tunable Fast Link DownHeiner Kallweit1-2/+53
2019-04-09ethtool: simplify handling of PHY tunable downshiftHeiner Kallweit1-30/+13
2019-03-14ethtool: fec: add pretty dumpVivien Didelot1-0/+1
2019-03-14ethtool: fix up dump_coalesce output to match actual option namesNicholas Nunley1-4/+4
2019-03-14ethtool: support per-queue sub command --coalesceNicholas Nunley1-1/+63
2019-03-14ethtool: support per-queue sub command --show-coalesceNicholas Nunley1-3/+65
2019-03-14ethtool: introduce new ioctl for per-queue settingsNicholas Nunley1-0/+75
2019-03-14ethtool: move cmdline_coalesce out of do_scoalesceNicholas Nunley1-68/+74
2019-03-14ethtool: move option parsing related code into functionNicholas Nunley1-18/+31
2019-03-14ethtool: add 10000baseR_FEC link mode nameMichal Kubecek1-0/+2
2019-03-14ethtool: Add support for 200Gbps (50Gbps per lane) link modeAya Levin1-0/+45
2019-01-18ethtool: dsa: add pretty dumpVivien Didelot1-0/+1
2019-01-18ethtool: zero initialize coalesce structMaciej Żenczykowski1-1/+1
2019-01-18ethtool: don't report UFO on kernels v4.14 and aboveIvan Vecera1-2/+4
2018-10-04ethtool: better syntax for combinations of FEC modesEdward Cree1-46/+17
2018-09-17ethtool: support combinations of FEC modesEdward Cree1-11/+39
2018-08-18ethtool: document WoL filters option also in help messageMichal Kubecek1-1/+1
2018-08-16ethtool: Add support for WAKE_FILTER (WoL using filters)Florian Fainelli1-0/+5
2018-06-13ethtool: correctly free hkey when get_stringset() failsIvan Vecera1-7/+6
2018-06-13ethtool: several fixes in do_gregs()Ivan Vecera1-1/+10
2018-06-13ethtool: fix uninitialized return valueIvan Vecera1-4/+3
2018-05-31ethtool: fix stack clash in do_get_phy_tunable and do_set_phy_tunableMichal Kubecek1-18/+21
2018-04-16ethtool: Add register dump support for MICROCHIP LAN78xxRaghuram Chary J1-0/+1
2018-03-29ethtool: don't fall back to grxfhindir when context was specifiedEdward Cree1-1/+1
2018-03-12ethtool: add support for extra RSS contexts and RSS steering filtersEdward Cree1-19/+122
2018-02-27ethtool: show VF and queue in the help for -NJacob Keller1-1/+1
2017-12-19ethtool: Support for FEC encoding controlDustin Byford1-0/+119
2017-12-14ethtool: Add ETHTOOL_RESET support via --reset commandScott Branden1-0/+113
2017-12-14Revert "ethtool: Add DMA Coalescing support"Scott Branden1-7/+1
2017-12-06ethtool: Fix coding style warnings and errors reported by checkpatchGal Pressman1-100/+89
2017-10-26ethtool: Do not return error code if no changes were attempted.Ben Greear1-2/+2
2017-10-26ethtool: Remove UDP Fragmentation Offload error printsShaker Daibes1-0/+4
2017-10-26ethtool: Add DMA Coalescing supportPaul Greenwalt1-1/+7
2017-10-26ethtool: fix the rx vs tx mixup in set channel messageJakub Kicinski1-1/+1
2017-10-26ethtool: add support for HWTSTAMP_FILTER_NTP_ALLMiroslav Lichvar1-1/+2
2017-03-29ethtool: Support for configurable RSS hash functionGal Pressman1-3/+63
2017-03-29Revert "ethtool: print hash function with ethtool -x|--show-rxfh-indir"John W. Linville1-31/+0
2017-03-27Revert "ethtool: Support for configurable RSS hash function"John W. Linville1-63/+3
2017-03-24ethtool: Support for configurable RSS hash functionGal Pressman1-3/+63
2017-03-24ethtool: print hash function with ethtool -x|--show-rxfh-indirJakub Kicinski1-0/+31
2017-03-24ethtool: sync help output for -x/-X with man pageIvan Vecera1-3/+3
2017-03-24ethtool: Add support for 2500baseT/5000baseT link modesPavel Belous1-0/+6
2016-12-02Ethtool: Implements ETHTOOL_PHY_GTUNABLE/ETHTOOL_PHY_STUNABLE and PHY downshiftRaju Lakkaraju1-0/+144
2016-11-23ethtool: Fix the "advertise" parameter logic.Michael Chan1-1/+2
2016-11-23ethtool: add register dump support for fjes driverTaku Izumi1-0/+1
2016-10-04ethtool: fix leakage of strings resources in get_feature_defsJohn W. Linville1-1/+3
2016-10-04ethtool: fix leakage of strings resources in do_sprivflagsJohn W. Linville1-6/+13
2016-10-04ethtool: fix leakage of efeatures resources in do_sfeaturesJohn W. Linville1-0/+2
2016-10-04ethtool: fix leakage of defs resources in do_sfeaturesJohn W. Linville1-13/+28
2016-10-04ethtool: plug resource leaks of defs and features in do_gfeaturesJohn W. Linville1-0/+3
2016-10-04ethtool: avoid resource leak of strings in do_gprivflagsJohn W. Linville1-4/+10
2016-09-29ethtool: avoid NULL pointer dereference in do_permaddrJohn W. Linville1-0/+5
2016-09-06ethtool: add support for 1000BaseX and missing 10G link modeVidya Sagar Ravipati1-0/+19
2016-08-24ethtool: Enhancing link mode bits to support 25G/50G/100GVidya Sagar Ravipati1-0/+30
2016-08-24ethtool:QSFP Plus/QSFP28 Diagnostics Information SupportVidya Sagar Ravipati1-0/+5
2016-06-26ethtool.8.in, ethtool.c: Add myself to authors and copyright noticesBen Hutchings1-0/+2
2016-06-26ethtool: use netlink socket when AF_INET not availableDavid Decotigny1-0/+7
2016-06-26ethtool.c: add support for ETHTOOL_xLINKSETTINGS ioctlsDavid Decotigny1-158/+522
2016-06-26Change IP parameter syntax in documentation to just 'ip-address'Ben Hutchings1-2/+2
2016-06-26Documentation for IPv6 NFCEdward Cree1-1/+3
2016-06-26Add IPv6 support to NFCEdward Cree1-0/+21
2016-03-13ethtool.c: do_seeprom checks for params & stdin sanityDavid Decotigny1-4/+16
2016-03-13ethtool.c: fix dump_regs heap corruptionDavid Decotigny1-21/+25
2016-03-13ethtool.c: don't ignore fread() return valueDavid Decotigny1-1/+4
2016-03-13ethtool: support setting default Rx flow indirection tableJacob Keller1-14/+32
2016-03-13Refactor do_gstats() and do_gphystats() to avoid code duplicationBen Hutchings1-59/+12
2016-03-13Remove short option -I for PHY statisticsBen Hutchings1-1/+1
2016-03-13ethtool: Add PHY statistics supportAndrew Lunn1-0/+60
2015-10-09ethtool: Add vmxnet3 register dump supportShrikrishna Khare1-0/+2
2015-04-05ethtool: Add support to get expansion ROM version in ethtool getdrvinfoHariprasad Shenai1-0/+2
2015-04-05ethtool: Add missing Advertised speedsEyal Grossman1-20/+13
2015-04-05Fix formatting of RX flow hash indirection table when size % 8 != 0Ben Hutchings1-1/+1
2014-09-21ethtool: Support for configurable RSS hash keyVenkat Duvvuru1-62/+331
2014-07-19Ethtool: Add Altera Triple Speed Ethernet SupportVince Bridgers1-0/+1
2014-04-21Fix ETHTOOL_ENABLE_PRETTY_DUMP conditionsBen Hutchings1-1/+1
2014-04-21ethtool: fix a typo in displaying channel parametersAmos Kong1-1/+1
2014-03-16ethtool: allow for a smaller buildFlorian Fainelli1-3/+11
2014-02-27ethtool: Report Backplane as supported portIvan Vecera1-0/+2
2014-01-27Spelling fixes.Ville Skyttä1-1/+1
2013-09-20Hide state of VLAN tag offload and LRO if the kernel is too oldBen Hutchings1-12/+46
2013-09-20Revert "Fix reporting of VLAN tag offload flags on Linux < 2.6.37"Ben Hutchings1-41/+0
2013-08-29ethtool: add ixgbevf support for register dumpJacob Keller1-0/+1
2013-07-01Ethtool: Free memory leak in do_sprivflags()Yuval Mintz1-0/+1
2013-07-01Ethtool: Beautify private flags printYuval Mintz1-1/+11
2013-03-21ethtool: Add string to display support for KR PHYVasundhara, Volam1-0/+1
2013-02-28Restore 20000baseKR2 cap displayYaniv Rosner1-0/+1
2013-01-22Added dst-mac parameter for L3/L4 flow spec rules. This is usefull in vSwitch...Yan Burman1-0/+5
2012-12-03Implemented basic optics diagnostics for SFF-8472Aurelien Guillaume1-2/+15
2012-11-08ethtool: Support et131x registers in -dMark Einon1-0/+1
2012-10-10Gracefully handle failure of register dump pretty-printerBen Hutchings1-3/+10
2012-10-05ethtool: --set-eee sends ETHTOOL_SEEE ioctl even if nothing changedBruce Allan1-1/+1
2012-09-06ethtool: don't overwrite useful bits in advertising bitfieldJohan Gunnarsson1-14/+77
2012-09-06ethtool: allow setting MDI-X stateJesse Brandeburg1-10/+45
2012-07-16Merge commit 'v3.4.2'Ben Hutchings1-27/+74
2012-07-16ethtool: added support for 40G link.Parav Pandit1-0/+4
2012-07-16Don't trust drivers to null-terminate stringsBen Hutchings1-15/+23
2012-07-16Ethtool: Add EEE supportYuval Mintz1-20/+116
2012-07-16Fix reporting of VLAN tag offload flags on Linux < 2.6.37Ben Hutchings1-0/+41
2012-07-16Remove bogus error message when changing offload settings on Linux < 2.6.39Ben Hutchings1-27/+33
2012-06-13Merge commit 'v3.4.1'Ben Hutchings1-2/+10
2012-06-13ethtool: Handle more errors when getting feature namesBen Hutchings1-2/+10
2012-06-08Make link mode listing in dump_link_caps() a data-driven loopBen Hutchings1-68/+31
2012-06-08ethtool: fix to display support for KX4 and KX PHYAjit Khaparde1-0/+14
2012-06-02Change -k/-K options to use ETHTOOL_{G,S}FEATURESBen Hutchings1-92/+356
2012-06-02Report when offload feature changes are not exactly as requestedBen Hutchings1-20/+45
2012-06-02Regularise offload feature settingsBen Hutchings1-202/+89
2012-06-01Add output file parameter to dump_hex() and make it externBen Hutchings1-9/+10
2012-05-23Run tests in-processBen Hutchings1-6/+3
2012-05-23ethtool: Addition of -m option to dump module eepromStuart Hodgson1-0/+87
2012-05-23ethtool: Split out printing of hex dataStuart Hodgson1-17/+18
2012-05-23Add the command to show the time stamping capabilities.Richard Cochran1-0/+104
2012-01-21Merge RX NFC optionsBen Hutchings1-102/+76
2012-01-20Move '--flash' down the list of optionsBen Hutchings1-3/+3
2012-01-12rxclass: Use RX_CLS_LOC_{ANY,SPECIAL} in place of RX_CLS_LOC_UNSPECBen Hutchings1-1/+1
2011-12-02Add support for querying and setting private flagsBen Hutchings1-2/+103
2011-11-30Implement and use a generic get_stringset() functionBen Hutchings1-54/+67
2011-11-03Rearrange definitions and remove unnecessary forward declarationsBen Hutchings1-243/+204
2011-11-03Declare static variables const as appropriateBen Hutchings1-2/+2
2011-11-03Change most static global variables into automatic variablesBen Hutchings1-260/+293
2011-11-03Replace global devname variable with a field in struct cmd_contextBen Hutchings1-13/+11
2011-11-03Convert cmdline_msglvl into array of named flags; convert back at run-timeBen Hutchings1-35/+44
2011-11-03Fix reference to cmdline_ring in do_schannels()Ben Hutchings1-1/+1
2011-11-03Support arbitrary numbers of option names for each modeBen Hutchings1-52/+58
2011-11-03Move argument parsing to sub-command functionsBen Hutchings1-606/+382
2011-11-03Add test cases for command-line parsingBen Hutchings1-0/+5
2011-11-01Encapsulate command context in a structureBen Hutchings1-245/+174
2011-11-01Use standard indentation for definition of struct option argsBen Hutchings1-138/+142
2011-11-01Fix format of help text for -f optionBen Hutchings1-2/+2
2011-11-01Combine ethtool-{bitops,util}.h into internal.hBen Hutchings1-1/+1
2011-10-28Report pause frame autonegotiation resultBen Hutchings1-6/+40
2011-10-17ethtool: add ETHTOOL_{G,S}CHANNEL support.Sucheta Chakraborty1-0/+120
2011-10-04ethtool: add support for external loopback.Sucheta Chakraborty1-2/+12
2011-07-14Correct parameter types for ethtool -e and ethtool -EBen Hutchings1-16/+24
2011-06-06ethtool: Add support for 20G link speedYaniv Rosner1-1/+17
2011-06-02Fix type mismatch for field width argument to fprintf()Ben Hutchings1-1/+1
2011-06-02ethtool: Added FW dump supportAnirban Chakraborty1-1/+119
2011-06-01Combine code to display supported and advertised link capabilitiesBen Hutchings1-59/+21
2011-06-01ethtool: mask out FLOW_EXTSebastian Pöhn1-0/+3
2011-05-13ethtool: Treat positive return from ETHTOOL_SRXNTUPLE as successfulBen Hutchings1-3/+6
2011-05-13Add RX packet classification interfaceAlexander Duyck1-173/+227
2011-05-13Cleanup defines and header includes to address several issuesAlexander Duyck1-16/+1
2011-05-13ethtool: remove strings based approach for displaying n-tupleAlexander Duyck1-44/+0
2011-04-27Add support for ESP as a separate protocol from AHAlexander Duyck1-9/+12