diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2020-07-02 11:13:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-03 00:19:15 +0300 |
commit | 36a8e8e26542056bbd7eb5e047cadee30587d230 (patch) | |
tree | 4f267dd17de7717c059a33455c76001713d41595 /include/uapi/linux/rtnetlink.h | |
parent | df42ef227dc4fdb7acc8d755e029ed27a2e814f8 (diff) | |
download | linux-36a8e8e26542056bbd7eb5e047cadee30587d230.tar.xz |
bridge: Extend br_fill_ifinfo to return MPR status
This patch extends the function br_fill_ifinfo to return also the MRP
status for each instance on a bridge. It also adds a new filter
RTEXT_FILTER_MRP to return the MRP status only when this is set, not to
interfer with the vlans. The MRP status is return only on the bridge
interfaces.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/rtnetlink.h')
-rw-r--r-- | include/uapi/linux/rtnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 879e64950a0a..9b814c92de12 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h @@ -778,6 +778,7 @@ enum { #define RTEXT_FILTER_BRVLAN (1 << 1) #define RTEXT_FILTER_BRVLAN_COMPRESSED (1 << 2) #define RTEXT_FILTER_SKIP_STATS (1 << 3) +#define RTEXT_FILTER_MRP (1 << 4) /* End of information exported to user level */ |