> -Original Message-
> From: Lilijun (Jerry)
> Sent: Tuesday, May 12, 2020 6:28 PM
> To: Wang, Yipeng1 ; Honnappa Nagarahalli
> ; 'dev@dpdk.org'
> Cc: wangyunjian ; xudingke
> ; 'sta...@dpdk.org' ; nd
> ; nd
> Subject: 答复: [dpdk-dev] [PATCH
> > > >
> > > > Adding Yipeng, maintainer for hash library
> > > >
> > > > >
> > > > > Thanks for your reply.
> > > > >
> > > > > Using rte_hash iterate and delete keys is to free the related
> > > > > data's
> > > memory.
> > > > > There are two reasons why rte_hash_reset() is not properly:
> >
nagaraha...@arm.com]
> > > 发送时间: 2020年4月29日 4:46
> > > 收件人: Lilijun (Jerry) ; 'dev@dpdk.org'
> > >
> > > 抄送: wangyunjian ; xudingke
> > > ; 'sta...@dpdk.org' ; nd
> > > ; Honnappa Nagarahalli
> ;
> > nd
> > &g
an ; xudingke
> > ; 'sta...@dpdk.org' ; nd
> > ; Honnappa Nagarahalli ;
> > yipeng1.w...@intel.com; nd
> > 主题: RE: [dpdk-dev] [PATCH] lib/librte_hash: add rte_hash_del_key_fixed
> > without compact
> >
> >
> >
> > Adding Yipeng, mai
; xudingke
> ; 'sta...@dpdk.org' ; nd
> ; Honnappa Nagarahalli ;
> nd
> 主题: RE: [dpdk-dev] [PATCH] lib/librte_hash: add rte_hash_del_key_fixed
> without compact
>
>
>
> Hi Jerry,
> Few questions inline.
>
> > Subject: [dpdk-dev] [PATCH
Hi Jerry,
Few questions inline.
> Subject: [dpdk-dev] [PATCH] lib/librte_hash: add rte_hash_del_key_fixed
> without compact
>
> The keys idx are stored in rte_hash main bucket key slots and extend bucket
> key stots.
> We iterate every no empty Keys in h->bucke
The keys idx are stored in rte_hash main bucket key slots and extend bucket key
stots.
We iterate every no empty Keys in h->buckets and h->buckets_ext from start to
last.
When deleting keys the function __rte_hash_compact_ll() may move last_bkt's key
to previous bucket in order to compact exte
7 matches
Mail list logo