summaryrefslogtreecommitdiffstats
path: root/src/basic/linux
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-17 12:05:22 +0100
committerGitHub <noreply@github.com>2021-01-17 12:05:22 +0100
commitf9ead1a2f4806d41abb6266d2debeaa73f022046 (patch)
tree548d81ef9eac757b7d83c407cb5030923d9c913a /src/basic/linux
parentMerge pull request #17576 from gportay/veritysetup-add-support-for-dm-verity-... (diff)
parentnetwork: macvlan - add support to configure rx queue for broadcast/multicast (diff)
downloadsystemd-f9ead1a2f4806d41abb6266d2debeaa73f022046.tar.xz
systemd-f9ead1a2f4806d41abb6266d2debeaa73f022046.zip
Merge pull request #18230 from ssahani/macvlan-bcqueuelen
network: macvlan - add support to configure rx queue for broadcast / multicast
Diffstat (limited to 'src/basic/linux')
-rw-r--r--src/basic/linux/if_link.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/basic/linux/if_link.h b/src/basic/linux/if_link.h
index c4b23f06f6..82708c6db4 100644
--- a/src/basic/linux/if_link.h
+++ b/src/basic/linux/if_link.h
@@ -75,8 +75,9 @@ struct rtnl_link_stats {
*
* @rx_dropped: Number of packets received but not processed,
* e.g. due to lack of resources or unsupported protocol.
- * For hardware interfaces this counter should not include packets
- * dropped by the device which are counted separately in
+ * For hardware interfaces this counter may include packets discarded
+ * due to L2 address filtering but should not include packets dropped
+ * by the device due to buffer exhaustion which are counted separately in
* @rx_missed_errors (since procfs folds those two counters together).
*
* @tx_dropped: Number of packets dropped on their way to transmission,
@@ -588,6 +589,8 @@ enum {
IFLA_MACVLAN_MACADDR,
IFLA_MACVLAN_MACADDR_DATA,
IFLA_MACVLAN_MACADDR_COUNT,
+ IFLA_MACVLAN_BC_QUEUE_LEN,
+ IFLA_MACVLAN_BC_QUEUE_LEN_USED,
__IFLA_MACVLAN_MAX,
};