[PATCH v2 1/8] ethdev: add member notification for bonding port

Chaoyong He chaoyong.he at corigine.com
Sun Oct 8 03:37:20 CEST 2023


> 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.

Okay, I will do that in the next version, thanks!


More information about the dev mailing list