All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Subject: Re: [PATCH 3/3] linux-user: netlink: update IFLA_BRPORT entries
Date: Wed, 5 Jan 2022 11:29:35 +0100	[thread overview]
Message-ID: <aa01b3cf-fd38-ec58-e12d-17712bca8bb6@vivier.eu> (raw)
In-Reply-To: <20211219154514.2165728-3-laurent@vivier.eu>

Le 19/12/2021 à 16:45, Laurent Vivier a écrit :
> 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>
> ---
>   linux-user/fd-trans.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/linux-user/fd-trans.c b/linux-user/fd-trans.c
> index 36e4a4c2aae8..a17d05c07923 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;


Applied to my linux-user-for-7.0 branch.

Thanks,
Laurent


  parent reply	other threads:[~2022-01-05 10:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 15:45 [PATCH 1/3] linux-user: netlink: update IFLA entries Laurent Vivier
2021-12-19 15:45 ` [PATCH 2/3] linux-user: netlink: Add IFLA_VFINFO_LIST Laurent Vivier
2021-12-21 23:24   ` Richard Henderson
2022-01-05 10:29   ` Laurent Vivier
2021-12-19 15:45 ` [PATCH 3/3] linux-user: netlink: update IFLA_BRPORT entries Laurent Vivier
2021-12-21 23:25   ` Richard Henderson
2022-01-05 10:29   ` Laurent Vivier [this message]
2021-12-21 23:20 ` [PATCH 1/3] linux-user: netlink: update IFLA entries Richard Henderson
2022-01-05 10:29 ` Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa01b3cf-fd38-ec58-e12d-17712bca8bb6@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.