Re: [ovs-dev] [PATCH V6 05/18] netdev-dpdk: Introduce rte flow query function

2020-01-06 Thread Eli Britstein
On 12/28/2019 10:27 AM, 贺鹏 wrote: > Hi, > > there is a potential memory leak in ovs-dpdk hw offload, when remove a > dpdk port in datapath, the dpif will call dpif_port_del and will > eventually remove the netdev > from the map *port_to_netdev* (in netdev-offload). Meanwhile, a > resulted

Re: [ovs-dev] [PATCH V6 05/18] netdev-dpdk: Introduce rte flow query function

2019-12-28 Thread 贺鹏
Hi, there is a potential memory leak in ovs-dpdk hw offload, when remove a dpdk port in datapath, the dpif will call dpif_port_del and will eventually remove the netdev from the map *port_to_netdev* (in netdev-offload). Meanwhile, a resulted datapath reconfiguration will flush all the marked

[ovs-dev] [PATCH V6 05/18] netdev-dpdk: Introduce rte flow query function

2019-12-19 Thread Eli Britstein
Introduce a rte flow query function as a pre-step towards reading HW statistics of fully offloaded flows. Signed-off-by: Eli Britstein Reviewed-by: Oz Shlomo --- lib/netdev-dpdk.c | 30 ++ lib/netdev-dpdk.h | 6 ++ 2 files changed, 36 insertions(+) diff --git