RE: [PATCH 1/2] net/bonding: add independent LACP sending function

2023-02-21 Thread Chaoyong He
> On Mon, 20 Feb 2023 10:46:16 +0100 > Simon Horman wrote: > > > On Thu, Feb 16, 2023 at 11:47:27AM -0800, Stephen Hemminger wrote: > > > On Thu, 16 Feb 2023 15:15:13 +0800 > > > Chaoyong He wrote: > > > > > > > +void > > > > +rte_eth_bond_8023ad_lacp_send_one(void *queue) { > > > > + uint32

Re: [PATCH 1/2] net/bonding: add independent LACP sending function

2023-02-21 Thread Simon Horman
On Thu, Feb 16, 2023 at 11:47:27AM -0800, Stephen Hemminger wrote: > On Thu, 16 Feb 2023 15:15:13 +0800 > Chaoyong He wrote: > > > +void > > +rte_eth_bond_8023ad_lacp_send_one(void *queue) > > +{ > > + uint32_t i; > > + uint16_t slave_tx_count; > > + uint16_t active_slave_count; > > +

Re: [PATCH 1/2] net/bonding: add independent LACP sending function

2023-02-20 Thread Stephen Hemminger
On Mon, 20 Feb 2023 10:46:16 +0100 Simon Horman wrote: > On Thu, Feb 16, 2023 at 11:47:27AM -0800, Stephen Hemminger wrote: > > On Thu, 16 Feb 2023 15:15:13 +0800 > > Chaoyong He wrote: > > > > > +void > > > +rte_eth_bond_8023ad_lacp_send_one(void *queue) > > > +{ > > > + uint32_t i; > >

[PATCH 1/2] net/bonding: add independent LACP sending function

2023-02-15 Thread Chaoyong He
From: Long Wu Sending LACP control packets depends on calling the bonding port's sending function if we disable dedicated queue. In some cases app would not call the bonding port's sending function if there are only LACP control packets and the negotiation between the two bonding ports will fail.