From mboxrd@z Thu Jan 1 00:00:00 1970 From: Qinglai Xiao Subject: [PATCH v2 0/2] Add in_flight_bitmask so as to use full 32 bits of tag Date: Mon, 10 Nov 2014 14:52:45 +0200 Message-ID: <1415623967-52488-1-git-send-email-jigsaw@gmail.com> Cc: Qinglai Xiao To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" The patch series extends the tags used by librte_distributor from 31 bits to 32 bits. Besides, it fixes the integer overflow in the algorithm of finding matched tags. The newly introduced union field rte_mbuf.hash.usr stands as the flow identifier. User application is advocated to set this field for each mbuf before calling the distributor process rte_distributor_process. Qinglai Xiao (2): Add new union field usr in mbuf->hash. Add in_flight_bitmask so as to use full 32 bits of tag. app/test/test_distributor.c | 18 ++++++------ app/test/test_distributor_perf.c | 4 +- lib/librte_distributor/rte_distributor.c | 45 ++++++++++++++++++++++-------- lib/librte_distributor/rte_distributor.h | 4 ++ lib/librte_mbuf/rte_mbuf.h | 1 + 5 files changed, 49 insertions(+), 23 deletions(-)