mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
udev: rename TxQueueLength= -> TransmitQueueLength=
As we usually (unfortunately not always though) do not use abbreviations.
Tx may be standard abbreviation, but we already have e.g.
TransmitChecksumOffload=. So, let's use Transmit instead of Tx.
Follow-up for ef4a91a7e8
.
This commit is contained in:
parent
e3f87b07bc
commit
1f8dc96c06
@ -410,7 +410,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><varname>TxQueueLength=</varname></term>
|
||||
<term><varname>TransmitQueueLength=</varname></term>
|
||||
<listitem>
|
||||
<para>Specifies the transmit queue length of the device in number of packets. An unsigned integer
|
||||
in the range 0…4294967294. When unset, the kernel's default will be used.</para>
|
||||
|
@ -41,7 +41,7 @@ Link.Name, config_parse_ifname, 0,
|
||||
Link.AlternativeName, config_parse_ifnames, IFNAME_VALID_ALTERNATIVE, offsetof(link_config, alternative_names)
|
||||
Link.AlternativeNamesPolicy, config_parse_alternative_names_policy, 0, offsetof(link_config, alternative_names_policy)
|
||||
Link.Alias, config_parse_ifalias, 0, offsetof(link_config, alias)
|
||||
Link.TxQueueLength, config_parse_txqueuelen, 0, offsetof(link_config, txqueuelen)
|
||||
Link.TransmitQueueLength, config_parse_txqueuelen, 0, offsetof(link_config, txqueuelen)
|
||||
Link.MTUBytes, config_parse_mtu, AF_UNSPEC, offsetof(link_config, mtu)
|
||||
Link.BitsPerSecond, config_parse_si_uint64, 0, offsetof(link_config, speed)
|
||||
Link.Duplex, config_parse_duplex, 0, offsetof(link_config, duplex)
|
||||
|
@ -430,7 +430,7 @@ static int link_config_apply_rtnl_settings(sd_netlink **rtnl, const link_config
|
||||
r = rtnl_set_link_properties(rtnl, ifindex, config->alias, mac, config->txqueuelen, config->mtu,
|
||||
config->gso_max_size, config->gso_max_segments);
|
||||
if (r < 0)
|
||||
log_device_warning_errno(device, r, "Could not set Alias=, MACAddress=, TxQueueLength=, MTU=, "
|
||||
log_device_warning_errno(device, r, "Could not set Alias=, MACAddress=, TransmitQueueLength=, MTU=, "
|
||||
"GenericSegmentOffloadMaxBytes= or GenericSegmentOffloadMaxSegments=, ignoring: %m");
|
||||
|
||||
return 0;
|
||||
|
@ -20,7 +20,7 @@ Name=
|
||||
AlternativeNamesPolicy=
|
||||
AlternativeName=
|
||||
Alias=
|
||||
TxQueueLength=
|
||||
TransmitQueueLength=
|
||||
MTUBytes=
|
||||
BitsPerSecond=
|
||||
Duplex=
|
||||
|
Loading…
Reference in New Issue
Block a user