On 6/29/23 16:08, Simon Horman wrote: > On Sun, Jun 11, 2023 at 06:58:26PM +0300, Eli Britstein via dev wrote: >> Vport's offloads are done on the tracked orig-in-port, but the flow itself >> is associated in the vport's map. >> >> Removing the physdev will flush all the ports that are on its map, but >> not the ones on other netdevs' maps. Since flows take reference count on >> both their vport and their physdev, the physdev still has references on. >> Trying to remove it and re-add it fails with "already in use" error. >> >> Fix it by flushing the physdev's offload flows in all related netdevs, >> e.g. the netdev itself, or for physical devices, all vports. >> >> Fixes: adbd4301a249 ("netdev-offload-dpdk: Use per-netdev offload metadata.") >> Reported-by: 15895987278 <wuxi_...@163.com> >> Signed-off-by: Eli Britstein <el...@nvidia.com> > > Acked-by: Simon Horman <simon.hor...@corigine.com> >
Thanks, Eli and Simon! And David for checking the previous versions! I applied this one patch for now. Best regards, Ilya Maximets. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev