#
41dd9a6b |
| 08-Dec-2023 |
David Young <dave@youngcopy.com> |
doc: reorganize prog guide
Create categories in the index of the programmer's guide, sort chapters and rewrite some titles for consistency.
Subdirectories are created for ethdev and eventdev for gr
doc: reorganize prog guide
Create categories in the index of the programmer's guide, sort chapters and rewrite some titles for consistency.
Subdirectories are created for ethdev and eventdev for grouping the files together.
Useless link anchors at the beginning of files are removed, the corresponding :ref: are replaced with :doc: links.
Signed-off-by: David Young <dave@youngcopy.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
769b2de7 |
| 21-Oct-2020 |
Dharmik Thakkar <dharmik.thakkar@arm.com> |
hash: implement RCU resources reclamation
Currently, users have to use external RCU mechanisms to free resources when using lock free hash algorithm.
Integrate RCU QSBR process to make it easier fo
hash: implement RCU resources reclamation
Currently, users have to use external RCU mechanisms to free resources when using lock free hash algorithm.
Integrate RCU QSBR process to make it easier for the applications to use lock free algorithm. Refer to RCU documentation to understand various aspects of integrating RCU library into other libraries.
Suggested-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Ray Kinsella <mdr@ashroe.eu> Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
show more ...
|
#
f401363d |
| 02-Apr-2019 |
Dharmik Thakkar <dharmik.thakkar@arm.com> |
hash: support lock-free extendable bucket
This patch enables lock-free read-write concurrency support for extendable bucket feature.
Suggested-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com
hash: support lock-free extendable bucket
This patch enables lock-free read-write concurrency support for extendable bucket feature.
Suggested-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
show more ...
|
#
8747682a |
| 21-Nov-2018 |
Yipeng Wang <yipeng1.wang@intel.com> |
doc: improve hash library guide
This commit improves the programmer guide of the hash library to be more accurate on new features introduced in 18.11.
Signed-off-by: Yipeng Wang <yipeng1.wang@intel
doc: improve hash library guide
This commit improves the programmer guide of the hash library to be more accurate on new features introduced in 18.11.
Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com> Signed-off-by: Sameh Gobriel <sameh.gobriel@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
e605a1d3 |
| 26-Oct-2018 |
Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> |
hash: add lock-free r/w concurrency
Add lock-free read-write concurrency. This is achieved by the following changes.
1) Add memory ordering to avoid race conditions. The only race condition that ca
hash: add lock-free r/w concurrency
Add lock-free read-write concurrency. This is achieved by the following changes.
1) Add memory ordering to avoid race conditions. The only race condition that can occur is - using the key store element before the key write is completed. Hence, while inserting the element the release memory order is used. Any other race condition is caught by the key comparison. Memory orderings are added only where needed. For ex: reads in the writer's context do not need memory ordering as there is a single writer.
key_idx in the bucket entry and pdata in the key store element are used for synchronisation. key_idx is used to release an inserted entry in the bucket to the reader. Use of pdata for synchronisation is required due to updation of an existing entry where-in only the pdata is updated without updating key_idx.
2) Reader-writer concurrency issue, caused by moving the keys to their alternative locations during key insert, is solved by introducing a global counter(tbl_chng_cnt) indicating a change in table.
3) Add the flag to enable reader-writer concurrency during run time.
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com> Reviewed-by: Steve Capper <steve.capper@arm.com> Reviewed-by: Yipeng Wang <yipeng1.wang@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
f4ec5e5b |
| 26-Jul-2018 |
Yipeng Wang <yipeng1.wang@intel.com> |
doc: add multithread description to hash library
Added multithreading related description into programmer guide of hash library.
Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com> Acked-by: Pablo
doc: add multithread description to hash library
Added multithreading related description into programmer guide of hash library.
Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
5630257f |
| 01-Feb-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
doc: convert Intel license headers to SPDX tags
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
|
#
f9bd3342 |
| 01-Apr-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
hash: fix multi-process support
Hash library used a function pointer to choose a different key compare function, depending on the key size. As a result, multiple processes could not use the same has
hash: fix multi-process support
Hash library used a function pointer to choose a different key compare function, depending on the key size. As a result, multiple processes could not use the same hash table, as the function addresses vary from one process to another.
Instead, a jump table is used, so each process has its own function addresses, accessing this table with an index stored in the hash table (note that using a custom key compare function is not supported in multi-process mode).
Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
2fe68f32 |
| 15-Dec-2015 |
John McNamara <john.mcnamara@intel.com> |
doc: fix spellings
Fix various spellings in rst docs.
Signed-off-by: John McNamara <john.mcnamara@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
|
#
27bd48ff |
| 11-Jul-2015 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
doc: update hash guide
Updates hash library documentation, reflecting the new implementation changes.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Bruce Richardson <bruce
doc: update hash guide
Updates hash library documentation, reflecting the new implementation changes.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
48624fd9 |
| 19-Dec-2014 |
Siobhan Butler <siobhan.a.butler@intel.com> |
doc: remove Intel references from prog guide
Removed redundant references to Intel(R) DPDK in Programmers Guide.
Signed-off-by: Siobhan Butler <siobhan.a.butler@intel.com> Acked-by: Bernard Iremong
doc: remove Intel references from prog guide
Removed redundant references to Intel(R) DPDK in Programmers Guide.
Signed-off-by: Siobhan Butler <siobhan.a.butler@intel.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
show more ...
|
#
fc1f2750 |
| 14-Nov-2014 |
Bernard Iremonger <bernard.iremonger@intel.com> |
doc: programmers guide
The 1.7 DPDK_Prog_Guide document in MSWord has been converted to rst format for use with Sphinx. There is an rst file for each chapter and an index.rst file which contains the
doc: programmers guide
The 1.7 DPDK_Prog_Guide document in MSWord has been converted to rst format for use with Sphinx. There is an rst file for each chapter and an index.rst file which contains the table of contents. The top level index file has been modified to include this guide.
This document contains some png image files. If any of these png files are modified they should be replaced with an svg file.
This is the sixth document from a set of 6 documents.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
show more ...
|