[dpdk-dev] Appropriate DPDK data structures for TCP sockets

Stephen Hemminger stephen at networkplumber.org
Mon Feb 23 01:02:04 CET 2015


On Sat, 21 Feb 2015 16:38:45 -0800
Matthew Hall <mhall at mhcomputing.net> wrote:

> So far I was using rte_hash, but it's single writer multi reader, which is eventually going to need some more complicated locking and probably run kind of slow. Also, I need some timer functions to delete dead sockets and so forth, and rte_hash doesn't have any iteration API.

Use userspace RCU? or BSD RB_TREE

The existing rte_hash is too limited for many use cases.


More information about the dev mailing list