aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2021-12-19 16:45:14 +0100
committerLaurent Vivier <laurent@vivier.eu>2022-01-06 11:40:53 +0100
commitf0effdbc2a5b43422bc4c9c22641ef9dafa0c7ae (patch)
tree4b8b278de0b1199f511a07172cdf41ff1abfe512
parenta99478672c0db904c07f8c7aadc94f13f5ab32f4 (diff)
downloadqemu-f0effdbc2a5b43422bc4c9c22641ef9dafa0c7ae.zip
qemu-f0effdbc2a5b43422bc4c9c22641ef9dafa0c7ae.tar.gz
qemu-f0effdbc2a5b43422bc4c9c22641ef9dafa0c7ae.tar.bz2
linux-user: netlink: update IFLA_BRPORT entries
add IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT and IFLA_BRPORT_MCAST_EHT_HOSTS_CNT # QEMU_LOG=unimp ip a Unknown QEMU_IFLA_BRPORT type 37 Unknown QEMU_IFLA_BRPORT type 38 Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211219154514.2165728-3-laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--linux-user/fd-trans.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/fd-trans.c b/linux-user/fd-trans.c
index 36e4a4c..a17d05c 100644
--- a/linux-user/fd-trans.c
+++ b/linux-user/fd-trans.c
@@ -182,6 +182,8 @@ enum {
QEMU_IFLA_BRPORT_BACKUP_PORT,
QEMU_IFLA_BRPORT_MRP_RING_OPEN,
QEMU_IFLA_BRPORT_MRP_IN_OPEN,
+ QEMU_IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT,
+ QEMU_IFLA_BRPORT_MCAST_EHT_HOSTS_CNT,
QEMU___IFLA_BRPORT_MAX
};
@@ -607,6 +609,8 @@ static abi_long host_to_target_slave_data_bridge_nlattr(struct nlattr *nlattr,
/* uin32_t */
case QEMU_IFLA_BRPORT_COST:
case QEMU_IFLA_BRPORT_BACKUP_PORT:
+ case QEMU_IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT:
+ case QEMU_IFLA_BRPORT_MCAST_EHT_HOSTS_CNT:
u32 = NLA_DATA(nlattr);
*u32 = tswap32(*u32);
break;