On Sat, 7 Oct 2023 09:34:33 +0800
Chaoyong He <[email protected]> wrote:
> diff --git a/drivers/net/bonding/eth_bond_private.h
> b/drivers/net/bonding/eth_bond_private.h
> index e688894210..1344f8c002 100644
> --- a/drivers/net/bonding/eth_bond_private.h
> +++ b/drivers/net/bonding/eth_bond_private.h
> @@ -186,6 +186,8 @@ struct bond_dev_private {
>
> void *vlan_filter_bmpmem; /* enabled vlan filter bitmap */
> struct rte_bitmap *vlan_filter_bmp;
> +
> + bool notify_member; /**< Enable member notification of bonding port. */
> };
>
> extern const struct eth_dev_ops default_dev_ops;
There are holes in existing data structure, use one of them for your new flag.