Re: [ovs-dev] [PATCH v7] netdev-offload-tc: del ufid mapping if device not exist

2023-03-01 Thread Faicker Mo
It's great! I should have read the comment. A new patch will be published soon. From: Ilya Maximets Date: 2023-03-01 19:34:01 To: Faicker Mo Cc: d...@openvswitch.org,i.maxim...@ovn.org,Eelco Chaudron ,Simon Horman Subject: Re: [ovs-dev] [PATCH v7] netdev-offload-tc: del ufid mappi

Re: [ovs-dev] [PATCH v7] netdev-offload-tc: del ufid mapping if device not exist

2023-03-01 Thread Ilya Maximets
On 3/1/23 03:12, Faicker Mo wrote: > The device may be deleted and added with ifindex changed. > The tc rules on the device will be deleted if the device is deleted. > The func tc_del_filter will fail when flow del. The mapping of > ufid to tc will not be deleted. > The traffic will trigger the sam

Re: [ovs-dev] [PATCH v7] netdev-offload-tc: del ufid mapping if device not exist

2023-03-01 Thread Simon Horman
On Wed, Mar 01, 2023 at 08:33:04AM +0100, Eelco Chaudron wrote: > > > On 1 Mar 2023, at 3:12, Faicker Mo wrote: > > > The device may be deleted and added with ifindex changed. > > The tc rules on the device will be deleted if the device is deleted. > > The func tc_del_filter will fail when flow

Re: [ovs-dev] [PATCH v7] netdev-offload-tc: del ufid mapping if device not exist

2023-02-28 Thread Eelco Chaudron
On 1 Mar 2023, at 3:12, Faicker Mo wrote: > The device may be deleted and added with ifindex changed. > The tc rules on the device will be deleted if the device is deleted. > The func tc_del_filter will fail when flow del. The mapping of > ufid to tc will not be deleted. > The traffic will trig

[ovs-dev] [PATCH v7] netdev-offload-tc: del ufid mapping if device not exist

2023-02-28 Thread Faicker Mo
The device may be deleted and added with ifindex changed. The tc rules on the device will be deleted if the device is deleted. The func tc_del_filter will fail when flow del. The mapping of ufid to tc will not be deleted. The traffic will trigger the same flow(with same ufid) to put to tc on the ne