summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2021-01-04 16:40:47 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-05 12:46:28 +0900
commit0a9fb9bad8b3d245ae4dc27e5fd2675672ddd9ec (patch)
tree77f9ff6cbb6fd2f43b5cbf8366bd3e3199ebc102 /src/network/networkd-network.h
parent0bae3f10593e52de17abad1904b10a4f48cf6a02 (diff)
downloadsystemd-0a9fb9bad8b3d245ae4dc27e5fd2675672ddd9ec.tar.gz
network: Allow to set device's receive queues and transmit queues
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r--src/network/networkd-network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index 32f5ae8d72..762dc971db 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -84,6 +84,8 @@ struct Network {
struct ether_addr *mac;
uint32_t mtu;
uint32_t group;
+ uint32_t txqueues;
+ uint32_t rxqueues;
int arp;
int multicast;
int allmulticast;
@@ -328,6 +330,7 @@ CONFIG_PARSER_PROTOTYPE(config_parse_ntp);
CONFIG_PARSER_PROTOTYPE(config_parse_required_for_online);
CONFIG_PARSER_PROTOTYPE(config_parse_keep_configuration);
CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_link_local_address_gen_mode);
+CONFIG_PARSER_PROTOTYPE(config_parse_rx_tx_queues);
const struct ConfigPerfItem* network_network_gperf_lookup(const char *key, GPERF_LEN_TYPE length);