Re: [dpdk-dev] [PATCH] LPM: add iterator over LPM rules

2018-10-28 Thread Fu, Qiaobin
Hi Thomas, We are currently working on the patch by incorporating the latest DPDK update, and will submit a new patch on this. Thanks, Qiaobin > On Oct 28, 2018, at 6:24 AM, Thomas Monjalon wrote: > > 08/07/2018 23:46, Qiaobin Fu: >> Add an iterator over the LPM rules. >> The iterator require

[dpdk-dev] [PATCH v2] hash table: add an iterator over conflicting entries

2018-08-16 Thread Fu, Qiaobin
Function rte_hash_iterate_conflict_entries() iterates over the entries that conflict with an incoming entry. Iterating over conflicting entries enables one to decide if the incoming entry is more valuable than the entries already in the hash table. This is particularly useful after an insertion fa

Re: [dpdk-dev] [PATCH] hash table: add a bucket iterator function

2018-07-30 Thread Fu, Qiaobin
Hi Yipeng, Thanks for the feedbacks! > On Jul 30, 2018, at 4:24 PM, Wang, Yipeng1 wrote: > > Hi, Qiaobin, > > Thanks for the patch. If I understand correctly your use case is to use hash > table as a "cache" that new entries should evict stale ones automatically. > Could you be more specifi

Re: [dpdk-dev] Patch compilation failure

2018-07-28 Thread Fu, Qiaobin
Thanks Pablo! It works now. Best, Qiaobin > On Jul 23, 2018, at 12:57 AM, De Lara Guarch, Pablo > wrote: > > Hi Qiaobin, > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Fu, Qiaobin >> Sent: Saturday, July 21, 2018 7:58

[dpdk-dev] Patch compilation failure

2018-07-21 Thread Fu, Qiaobin
Dear DPDK developers, When I submitted a DPDK patch (http://patchwork.dpdk.org/patch/43090/), however, there is a compilation issue (http://mails.dpdk.org/archives/test-report/2018-July/060307.html). When I tried to compile it in our local machine using the Target: x86_64-native-linuxapp-gcc-s

[dpdk-dev] [PATCH] ip_frag: add function rte_ip_frag_sweep_table()

2018-06-27 Thread Fu, Qiaobin
Function rte_ip_frag_sweep_table() enables callers to incrementally sweep IP frament tables for incomplete, expired fragments. rte_ip_frag_sweep_table() is needed to identify never-to-be-completed fragments during DDoS attacks. Signed-off-by: Qiaobin Fu Reviewed-by: Cody Doucette Reviewed-by: M