[PATCH v2 1/8] ethdev: add member notification for bonding port
Stephen Hemminger
stephen at networkplumber.org
Sat Oct 7 17:49:36 CEST 2023
On Sat, 7 Oct 2023 09:34:33 +0800
Chaoyong He <chaoyong.he at corigine.com> 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.
More information about the dev
mailing list