app/testpmd: remove unneeded dependency on meter
PATCH 1/2 app/testpmd: remove unneeded dependency on meter
testpmd depends on ethdev, which itself depends on meter.
No need for an explicit dependency, since no testpmd code directly calls in the meter library.
--- app/test-pmd/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
app/test-pmd/meson.build +1 -1
@@ -28,7 +28,7 @@ sources = files( 'util.c', ) -deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci'] +deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci'] if dpdk_conf.has('RTE_LIB_BITRATESTATS') deps += 'bitratestats' endif
Signature · 1 line
2.23.0
PATCH 2/2 app/testpmd: remove double dependency on bitrate
No need for double dependency, once is enough.
While at it, sort alphabetically.
--- app/test-pmd/meson.build | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-)
app/test-pmd/meson.build +8 -11
@@ -29,20 +29,21 @@ sources = files( ) deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'bus_pci'] -if dpdk_conf.has('RTE_LIB_BITRATESTATS') - deps += 'bitratestats' -endif -if dpdk_conf.has('RTE_LIB_PDUMP') - deps += 'pdump' +if dpdk_conf.has('RTE_CRYPTO_SCHEDULER') + deps += 'crypto_scheduler' endif if dpdk_conf.has('RTE_LIB_BITRATESTATS') deps += 'bitratestats' endif +if dpdk_conf.has('RTE_LIB_BPF') + sources += files('bpf_cmd.c') + deps += 'bpf' +endif if dpdk_conf.has('RTE_LIB_LATENCYSTATS') deps += 'latencystats' endif -if dpdk_conf.has('RTE_CRYPTO_SCHEDULER') - deps += 'crypto_scheduler' +if dpdk_conf.has('RTE_LIB_PDUMP') + deps += 'pdump' endif if dpdk_conf.has('RTE_NET_BOND') deps += 'net_bond'
@@ -59,10 +60,6 @@ endif if dpdk_conf.has('RTE_NET_DPAA') deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa'] endif -if dpdk_conf.has('RTE_LIB_BPF') - sources += files('bpf_cmd.c') - deps += 'bpf' -endif jansson_dep = dependency('jansson', required: false, method: 'pkg-config') if jansson_dep.found() dpdk_conf.set('RTE_HAS_JANSSON', 1)
Signature · 1 line
2.23.0
Re: [dpdk-dev] [PATCH 2/2] app/testpmd: remove double dependency on bitrate
Quoted 4 lines · David Marchand
No need for double dependency, once is enough.
While at it, sort alphabetically.Signed-off-by David Marchand <[email protected]>
Applied to dpdk-next-net/main, thanks.
Quoted 6 lines · David Marchand
testpmd depends on ethdev, which itself depends on meter.
No need for an explicit dependency, since no testpmd code directly calls in the meter library.Signed-off-by David Marchand <[email protected]>---
Quoted 9 lines · Bruce Richardson
Quoted 6 lines · David Marchand
testpmd depends on ethdev, which itself depends on meter.
No need for an explicit dependency, since no testpmd code directly calls in the meter library.Signed-off-by David Marchand <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
Applied to dpdk-next-net/main, thanks.