[dpdk-dev] [RFC 0/3] RCU integration with hash library

Dharmik Thakkar dharmik.thakkar at arm.com
Sun Sep 1 08:58:07 CEST 2019


This patchset integrates RCU QSBR support with hash library.

Note: This patchset has dependency on another patchset:
      https://patchwork.dpdk.org/cover/57813/

Refer to RCU documentation to understand various aspects of
integrating RCU library into other libraries.

Introduce a new API rte_hash_rcu_qsbr_add for application to
register a RCU variable that hash library will use.

Add functional and performance test cases.

Fix 'ixgbe_ethdev.h' to avoid multiple definitions of 'bool'.
(Please note that this fix is temporary. Recommend suggesting better
solution)

Dharmik Thakkar (3):
  net/ixgbe: avoid multpile definitions of 'bool'
  lib/hash: integrate RCU QSBR
  test/hash: add tests for integrated RCU QSBR

 app/test/test_hash_readwrite_lf.c    | 700 ++++++++++++++++++++++++++-
 drivers/net/ixgbe/ixgbe_ethdev.h     |   1 +
 lib/librte_hash/Makefile             |   2 +-
 lib/librte_hash/meson.build          |   2 +
 lib/librte_hash/rte_cuckoo_hash.c    | 354 +++++++++++++-
 lib/librte_hash/rte_cuckoo_hash.h    |   3 +
 lib/librte_hash/rte_hash.h           |  38 +-
 lib/librte_hash/rte_hash_version.map |   2 +-
 8 files changed, 1065 insertions(+), 37 deletions(-)

-- 
2.17.1



More information about the dev mailing list