|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4 |
|
| #
db27370b |
| 10-Nov-2020 |
Stephen Hemminger <[email protected]> |
eal: replace blacklist/whitelist options
Replace -w / --pci-whitelist with -a / --allow options and --pci-blacklist with --block. The -b short option remains unchanged.
Allow the old options for no
eal: replace blacklist/whitelist options
Replace -w / --pci-whitelist with -a / --allow options and --pci-blacklist with --block. The -b short option remains unchanged.
Allow the old options for now, but print a nag warning since old options are deprecated.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Luca Boccassi <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
5bd47901 |
| 15-Oct-2020 |
Bruce Richardson <[email protected]> |
devtools: load all drivers in null test
Rather than specifying specific drivers in the driver directory to load, we can just pass in the whole driver directory to the "-d" EAL flag, causing all driv
devtools: load all drivers in null test
Rather than specifying specific drivers in the driver directory to load, we can just pass in the whole driver directory to the "-d" EAL flag, causing all drivers to load. This makes the load of driver independent of any specific driver names.
Signed-off-by: Bruce Richardson <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1 |
|
| #
aafc3ce7 |
| 13-Jan-2020 |
Ruifeng Wang <[email protected]> |
devtools: add path to additional shared object files
Drivers librte_mempool_ring.so and librte_pmd_null.so are loaded by librte_eal.so when running testpmd. In Ubuntu Xenial, driver path is installe
devtools: add path to additional shared object files
Drivers librte_mempool_ring.so and librte_pmd_null.so are loaded by librte_eal.so when running testpmd. In Ubuntu Xenial, driver path is installed to RPATH on testpmd. This allows librte_eal.so to find drivers by using the RPATH. However, in Ubuntu Bionic, driver path is installed to RUNPATH instead. The RUNPATH on testpmd is not available by librte_eal.so and therefore lead to driver load failure:
EAL: Detected 32 lcore(s) EAL: Detected 1 NUMA nodes EAL: librte_mempool_ring.so: cannot open shared object file: No such file or directory EAL: FATAL: Cannot init plugins EAL: Cannot init plugins
Add 'drivers' into LD_LIBRARY_PATH so that testpmd can find and make use of these shared libraries.
Signed-off-by: Ruifeng Wang <[email protected]> Reviewed-by: Gavin Hu <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
|
Revision tags: v19.11, v19.11-rc4 |
|
| #
9e6b36c3 |
| 22-Nov-2019 |
David Marchand <[email protected]> |
app/testpmd: reduce memory consumption
Following [1], testpmd memory consumption has skyrocketted. The rte_port structure has gotten quite fat.
struct rte_port { [...] struct rte_eth_rxconf rx_co
app/testpmd: reduce memory consumption
Following [1], testpmd memory consumption has skyrocketted. The rte_port structure has gotten quite fat.
struct rte_port { [...] struct rte_eth_rxconf rx_conf[65536]; /* 266280 3145728 */ /* --- cacheline 53312 boundary (3411968 bytes) was 40 bytes ago --- */ struct rte_eth_txconf tx_conf[65536]; /* 3412008 3670016 */ /* --- cacheline 110656 boundary (7081984 bytes) was 40 bytes ago --- */ [...] /* size: 8654936, cachelines: 135234, members: 31 */ [...]
testpmd handles RTE_MAX_ETHPORTS ports (32 by default) which means that it needs ~256MB just for this internal representation.
The reason is that a testpmd rte_port (the name is quite confusing, as it is a local type) maintains configurations for all queues of a port. But where you would expect testpmd to use RTE_MAX_QUEUES_PER_PORT as the maximum queue count, the rte_port uses MAX_QUEUE_ID set to 64k.
Prefer the ethdev maximum value.
After this patch: struct rte_port { [...] struct rte_eth_rxconf rx_conf[1025]; /* 8240 49200 */ /* --- cacheline 897 boundary (57408 bytes) was 32 bytes ago --- */ struct rte_eth_txconf tx_conf[1025]; /* 57440 57400 */ /* --- cacheline 1794 boundary (114816 bytes) was 24 bytes ago --- */ [...] /* size: 139488, cachelines: 2180, members: 31 */ [...]
With this, we can ask for less memory in test-null.sh.
[1]: https://git.dpdk.org/dpdk/commit/?id=436b3a6b6e62
Signed-off-by: David Marchand <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
6b01864c |
| 22-Nov-2019 |
Ferruh Yigit <[email protected]> |
mk: remove library search path from binary
This patch functionally reverts the patch in fixes line to not have any hardcoded library path in the final binary for the security reasons, in case this b
mk: remove library search path from binary
This patch functionally reverts the patch in fixes line to not have any hardcoded library path in the final binary for the security reasons, in case this binary distributed to production environment.
RPATH only added in RTE_DEVEL_BUILD case and this binary shouldn't distributed, but still removing it to be cautious.
Fixes: 8919f73bcbaa ("mk: add build directory to library search path") Cc: [email protected]
Suggested-by: Bruce Richardson <[email protected]> Signed-off-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
c143928d |
| 22-Nov-2019 |
Thomas Monjalon <[email protected]> |
devtools: disable automatic probing in null testing
The script test-null.sh is supposed to do a quick and simple run of testpmd with null PMD only, for sanity check. As it is not supposed to test pr
devtools: disable automatic probing in null testing
The script test-null.sh is supposed to do a quick and simple run of testpmd with null PMD only, for sanity check. As it is not supposed to test probing of any other PMD, physical device probing is switched to whitelist mode by using a fake PCI address (0:0.0). It will also help to keep memory usage stable across platforms.
Signed-off-by: Thomas Monjalon <[email protected]> Tested-by: Ferruh Yigit <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3 |
|
| #
d879f575 |
| 30-Jul-2019 |
Thomas Monjalon <[email protected]> |
devtools: allow misc options in null test
In order to ease basic testing with customized options, EAL and testpmd options can be added as third and fourth arguments of the "null PMD" script.
Also,
devtools: allow misc options in null test
In order to ease basic testing with customized options, EAL and testpmd options can be added as third and fourth arguments of the "null PMD" script.
Also, the first argument becomes more flexible by accepting the testpmd path as an alternative to the build directory.
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
85fc9b25 |
| 30-Jul-2019 |
Thomas Monjalon <[email protected]> |
devtools: restore null test
This small testpmd test was not working for a long time because of several changes in EAL and mempool. The 3 main issues solved are: - Make --no-huge working by specifyi
devtools: restore null test
This small testpmd test was not working for a long time because of several changes in EAL and mempool. The 3 main issues solved are: - Make --no-huge working by specifying an amount of memory to allocate in legacy mode, and disabling mlockall. - Load a mempool handler in shared library case. - Support meson
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1, v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3 |
|
| #
f83a3d3f |
| 03-May-2018 |
Olivier Matz <[email protected]> |
use SPDX tag for 6WIND copyrighted files
Signed-off-by: Olivier Matz <[email protected]>
|
|
Revision tags: v18.05-rc2, v18.05-rc1, v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2, v18.02-rc1, v17.11, v17.11-rc4, v17.11-rc3, v17.11-rc2, v17.11-rc1, v17.08, v17.08-rc4, v17.08-rc3, v17.08-rc2, v17.08-rc1, v17.05, v17.05-rc4, v17.05-rc3, v17.05-rc2, v17.05-rc1, v17.02, v17.02-rc3, v17.02-rc2, v17.02-rc1 |
|
| #
9a98f50e |
| 15-Dec-2016 |
Thomas Monjalon <[email protected]> |
scripts: move to devtools
The remaining scripts in the scripts/ directory are only useful to developers. That's why devtools/ is a better name.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind
scripts: move to devtools
The remaining scripts in the scripts/ directory are only useful to developers. That's why devtools/ is a better name.
Signed-off-by: Thomas Monjalon <[email protected]> Tested-by: Ferruh Yigit <[email protected]>
show more ...
|