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 trigger the same flow(with same ufid) to put to tc > on the new device. Duplicated ufid mapping will be added. > If the hashmap is expanded, the old mapping entry will be the first entry, > and now the dp flow can't be deleted. > > > Signed-off-by: Faicker Mo <faicker...@ucloud.cn> Change looks good to me! Did some testing and found no issues. Acked-by: Eelco Chaudron <echau...@redhat.com> _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
- [ovs-dev] [PATCH v6] netdev-offload-tc: del ufid mapping if... Faicker Mo
- Re: [ovs-dev] [PATCH v6] netdev-offload-tc: del ufid m... Simon Horman
- Re: [ovs-dev] [PATCH v6] netdev-offload-tc: del uf... Faicker Mo
- Re: [ovs-dev] [PATCH v6] netdev-offload-tc: de... Simon Horman
- Re: [ovs-dev] [PATCH v6] netdev-offload-tc... Faicker Mo
- Re: [ovs-dev] [PATCH v6] netdev-offlo... Simon Horman
- Re: [ovs-dev] [PATCH v6] netdev-o... Simon Horman
- Re: [ovs-dev] [PATCH v6] netd... Faicker Mo
- Re: [ovs-dev] [PATCH v6] netd... Simon Horman
- [ovs-dev] [PATCH v7] netdev-o... Faicker Mo
- Re: [ovs-dev] [PATCH v7] netd... Eelco Chaudron
- Re: [ovs-dev] [PATCH v7] netd... Simon Horman
- Re: [ovs-dev] [PATCH v7] netd... Ilya Maximets
- Re: [ovs-dev] [PATCH v7] netd... Faicker Mo
- [ovs-dev] [PATCH v8] netdev-o... Faicker Mo
- Re: [ovs-dev] [PATCH v8] netd... Simon Horman
- Re: [ovs-dev] [PATCH v8] netd... Eelco Chaudron
- Re: [ovs-dev] [PATCH v8] netd... Faicker Mo
- Re: [ovs-dev] [PATCH v8] netd... Faicker Mo
- Re: [ovs-dev] [PATCH v8] netd... Eelco Chaudron
- Re: [ovs-dev] [PATCH v8] netd... Faicker Mo