| 8f9c9288 | 05-Dec-2023 |
Stephen Hemminger <stephen@networkplumber.org> |
hash: uninline algorithm selection
The code for setting algorithm for hash is not at all perf sensitive, and doing it inline has a couple of problems. First, it means that if multiple files include
hash: uninline algorithm selection
The code for setting algorithm for hash is not at all perf sensitive, and doing it inline has a couple of problems. First, it means that if multiple files include the header, then the initialization gets done multiple times. But also, it makes it harder to fix usage of RTE_LOG().
Despite what the checking script say. This is not an ABI change, the previous version inlined the same code; therefore both old and new code will work the same.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
| 8751a7e9 | 28-Sep-2021 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
efd: allow more CPU sockets in table creation
rte_efd_create() function was using uint8_t for a socket bitmask, for one of its parameters. This limits the maximum of NUMA sockets to be 8. Changing t
efd: allow more CPU sockets in table creation
rte_efd_create() function was using uint8_t for a socket bitmask, for one of its parameters. This limits the maximum of NUMA sockets to be 8. Changing to uint64_t increases it to 64, which should be more future-proof.
Coverity issue: 366390 Fixes: 56b6ef874f8 ("efd: new Elastic Flow Distributor library")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Yipeng Wang <yipeng1.wang@intel.com> Tested-by: David Christensen <drc@linux.vnet.ibm.com>
show more ...
|