Re: [dpdk-dev] [PATCH v1] net/mlx5: fix port shared data reference count

2020-10-21 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Xueming Li > Sent: Wednesday, October 21, 2020 2:15 PM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Xueming(Steven) Li ; Asaf Penso > ; Jack Min ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v1] n

[dpdk-dev] [PATCH v1] net/mlx5: fix port shared data reference count

2020-10-21 Thread Xueming Li
When probe a representor, tag cache hash table and modification cache hash table allocated memory upon each port, overwrote previous existing cache in shared context data. This patch moves reference check of shared data prior to hash table allocation to avoid such issue. Fixes: 6801116688fe ("net