From: Susant Sahani Date: Thu, 14 Jan 2021 13:01:38 +0000 (+0100) Subject: basic: Add macvlan netlink attributes X-Git-Tag: v248-rc1~320^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60e49cf9e1e1fc6acc2f80a1abd6636bbd906332;p=thirdparty%2Fsystemd.git basic: Add macvlan netlink attributes --- diff --git a/src/basic/linux/if_link.h b/src/basic/linux/if_link.h index c4b23f06f69..82708c6db43 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, };