summaryrefslogtreecommitdiff
path: root/src/shared/ethtool-util.h
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: fix typo and comment style updateYu Watanabe2023-02-151-1/+1
|
* udev/net: support to set MDI-X modeYu Watanabe2022-02-081-3/+12
| | | | Closes #22386.
* ethtool-util: introduce ethtool_get_permanent_hw_addr()Yu Watanabe2021-11-131-1/+2
| | | | And replaces all ethtool_get_permanent_macaddr() with it.
* ethtool-util: make ethtool_set_wol() take passwordYu Watanabe2021-10-061-1/+1
|
* ethtool-util: add more network device featuresYu Watanabe2021-09-151-2/+57
| | | | | Then, we can easily add new settings to configure features in .link file.
* ethtool-util: apply tx-checksum-* features at lastYu Watanabe2021-09-151-1/+3
| | | | | | | NET_DEV_FEAT_TX matches multiple features. In the next commit, all features whose strings start with "tx-checksum-" will be added. To make them take precedence over NET_DEV_FEAT_TX, it will be applied only when each explicit feature is not applied.
* link: Add support for rx-gro-hw nic featureDaan De Meyer2021-08-201-0/+1
|
* udev: Add support for configuring nic coalescing settingsDaan De Meyer2021-08-201-0/+29
| | | | These are configured via the corresponding ethtool ioctl.
* udev: make RxChannels= or friends also accept "max"Yu Watanabe2021-08-181-22/+14
| | | | | | | | | | Follow-up for 406041b7de767316674eb6a2f98ad466577ce8a4. Also, this makes - the settings accept an empty string, - if the specified value is too large, also use the advertised maximum value. - mention the range of the value in the man page.
* udev: Support "max" string for BufferSize options (#20458)Daan De Meyer2021-08-181-0/+2
| | | | | | | | "max" indicates the hardware advertised maximum queue buffer size should be used. The max sizes can be checked by running `ethtool -g <dev>` (Preset maximums). Since the buffer sizes can't be set to 0 by users, internally we use 0 to indicate that the hardware advertised maximum should be used.
* ethtool: make the size of 'features' array staticYu Watanabe2021-08-171-1/+1
|
* udev: make WakeOnLan= take multiple featuresYu Watanabe2021-06-081-16/+2
| | | | WAKE_XXX are flag, not enum.
* ethtool-util: drop unused functionYu Watanabe2021-05-231-1/+0
|
* tree-wide: use -EINVAL for enum invalid valuesZbigniew Jędrzejewski-Szmek2021-02-101-4/+4
| | | | | | | | | As suggested in https://github.com/systemd/systemd/pull/11484#issuecomment-775288617. This does not touch anything exposed in src/systemd. Changing the defines there would be a compatibility break. Note that tests are broken after this commit. They will be fixed in the next one.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* ethtool: constify arguments for ethtool_set_xxx()Yu Watanabe2020-09-151-4/+4
|
* link: Allow configuring RX mini and jumbo ring sizes, toonabijaczleweli2020-04-291-0/+4
| | | | | This now covers all ethtool_ringparam configurables (as of v5.6; https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/ethtool.h?h=v5.6#n488)
* udev: support to update flow control parameterYu Watanabe2020-03-071-0/+1
| | | | Closes #14770.
* udev: add {Receive,Transmit}ChecksumOffload= settingsYu Watanabe2020-02-031-0/+2
| | | | Closes #14661.
* network,udev: use uint64_t for bit rateYu Watanabe2020-01-211-2/+2
| | | | Fixes #14620.
* network: rename *fd to *ethtool_fdZbigniew Jędrzejewski-Szmek2020-01-081-9/+9
|
* ethtool: introduce ethtool_get_permanent_macaddr()Yu Watanabe2020-01-081-0/+2
| | | | Will be used in later commits.
* tree-wide: drop double newlineYu Watanabe2019-11-041-1/+0
|
* link: Add support to configure NIC ring buffer sizeSusant Sahani2019-09-241-0/+11
|
* ethtool: add missing link modeYu Watanabe2019-06-251-1/+1
|
* ethtool-util: introduce ethtool_get_link_info()Yu Watanabe2019-06-191-0/+3
| | | | Will be used in later commits.
* ethtool-util: make ethtool_connect() warn on failureYu Watanabe2019-06-191-2/+0
|
* ethtool-util: move from src/udev/net/ to src/shared/Yu Watanabe2019-06-191-0/+109