> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Wednesday, November 27, 2024 2:43 PM
> To: KY Srinivasan <[email protected]>; Haiyang Zhang
> <[email protected]>; Wei Liu <[email protected]>; Dexuan Cui
> <[email protected]>; David S. Miller <[email protected]>; Eric
> Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo
> Abeni <[email protected]>; Shradha Gupta
> <[email protected]>; Simon Horman <[email protected]>;
> Konstantin Taranov <[email protected]>; Souradeep Chakrabarti
> <[email protected]>; Erick Archer
> <[email protected]>; [email protected];
> [email protected]; [email protected]; linux-
> [email protected]
> Cc: Long Li <[email protected]>
> Subject: [EXTERNAL] [PATCH] hv_netvsc: Set device flags for properly
> indicating bonding
>
> From: Long Li <[email protected]>
>
> hv_netvsc uses a subset of bonding features in that the master always
> has only one active slave. But it never properly setup those flags.
>
> Other kernel APIs (e.g those in "include/linux/netdevice.h") check for
> IFF_MASTER, IFF_SLAVE and IFF_BONDING for determing if those are used
> in a master/slave setup. RDMA uses those APIs extensively when looking
> for master/slave devices.
>
> Make hv_netvsc properly setup those flags.
>
> Signed-off-by: Long Li <[email protected]>
Please add Fixes tag, Cc stable, add "net" to the subject.
Thanks.
Reviewed-by: Haiyang Zhang <[email protected]>