[PATCH v2 2/2] app/testpmd: fix aged flow destroy

2024-11-18 Thread Danylo Vodopianov
Avoid removal of additional flows after requested number of flows has been already removed. port_flow_destroy() function goes through all flows and compares given flow ‘id’ with them. However in some cases it can advance pointer with “given ID” and thus remove additional flow. port_flow_destroy()

[PATCH v2 2/2] app/testpmd: fix aged flow destroy

2024-11-18 Thread Danylo Vodopianov
Avoid removal of additional flows after requested number of flows has been already removed. port_flow_destroy() function goes through all flows and compares given flow ‘id’ with them. However in some cases it can advance pointer with “given ID” and thus remove additional flow. port_flow_destroy()

RE: [PATCH v2 2/2] app/testpmd: fix aged flow destroy

2024-11-18 Thread Dariusz Sosnowski
...@napatech.com > Cc: Gregory Etelson ; Alexander Kozyrev > ; dev@dpdk.org; sta...@dpdk.org; > ferruh.yi...@amd.com > Subject: [PATCH v2 2/2] app/testpmd: fix aged flow destroy > > Avoid removal of additional flows after requested number of flows has been > already remov

[PATCH v2 2/2] app/testpmd: fix aged flow destroy

2024-11-18 Thread Danylo Vodopianov
Avoid removal of additional flows after requested number of flows has been already removed. port_flow_destroy() function goes through all flows and compares given flow ‘id’ with them. However in some cases it can advance pointer with “given ID” and thus remove additional flow. port_flow_destroy()