Re: [ovs-dev] [PATCH] mac-learning: Fix learned fdb entries are not age out issue.

2022-10-20 Thread lin huang
Hi Eelco, Thanks for reviewing. The latest patch will be update soon. > -Original Message- > From: Eelco Chaudron > Sent: Wednesday, October 19, 2022 8:06 PM > To: mit...@outlook.com > Cc: ovs-dev@openvswitch.org; i.maxim...@ovn.org; vdas...@gmail.com; Lin > Huang ; Zhang Yuhuang > >

Re: [ovs-dev] [PATCH] mac-learning: Fix learned fdb entries are not age out issue.

2022-10-19 Thread Eelco Chaudron
On 29 Jul 2022, at 13:16, mit...@outlook.com wrote: > From: Lin Huang > > After user add a static fdb entry, the get_lru() function will always return > the > static fdb entry. That's normal fdb entries will not age out through > mac_learning_run(). > > Fix the issue by modify the get_lru()

Re: [ovs-dev] [PATCH] mac-learning: Fix learned fdb entries are not age out issue.

2022-09-25 Thread lin huang
Hi Vasu, Pls review my patch. Thanks a lot. > -Original Message- > From: lin huang > Sent: Friday, July 29, 2022 7:17 PM > To: ovs-dev@openvswitch.org; echau...@redhat.com; i.maxim...@ovn.org; > vdas...@gmail.com > Cc: Lin Huang ; Zhang Yuhuang > > Subject: [PATCH] mac-learning: Fix

Re: [ovs-dev] [PATCH] mac-learning: Fix learned fdb entries are not age out issue.

2022-08-23 Thread Eelco Chaudron
On 3 Aug 2022, at 15:52, lin huang wrote: > Hi Vasu & Eelco, > > Pls review my patch. Just returned from PTO, will try to add this to my next week’s list of things to review. //Eelco >> -Original Message- >> From: lin huang >> Sent: Friday, July 29, 2022 7:17 PM >> To:

Re: [ovs-dev] [PATCH] mac-learning: Fix learned fdb entries are not age out issue.

2022-08-03 Thread lin huang
Hi Vasu & Eelco, Pls review my patch. Thanks a lot. > -Original Message- > From: lin huang > Sent: Friday, July 29, 2022 7:17 PM > To: ovs-dev@openvswitch.org; echau...@redhat.com; i.maxim...@ovn.org; > vdas...@gmail.com > Cc: Lin Huang ; Zhang Yuhuang > > Subject: [PATCH]

[ovs-dev] [PATCH] mac-learning: Fix learned fdb entries are not age out issue.

2022-07-29 Thread miterv
From: Lin Huang After user add a static fdb entry, the get_lru() function will always return the static fdb entry. That's normal fdb entries will not age out through mac_learning_run(). Fix the issue by modify the get_lru() function to check the entry->expires field and not return the entry