test/event: add adapter tests to meson build
PATCH 1/1 test/event: add adapter tests to meson build
Add tests for event eth Rx, crypto and timer adapters to meson build
--- test/test/meson.build | 7 +++++++ 1 file changed, 7 insertions(+)
test/test/meson.build +7 -0
@@ -33,7 +33,10 @@ test_sources = files('commands.c', 'test_efd.c', 'test_efd_perf.c', 'test_errno.c', + 'test_event_crypto_adapter.c', + 'test_event_eth_rx_adapter.c', 'test_event_ring.c', + 'test_event_timer_adapter.c', 'test_eventdev.c', 'test_func_reentrancy.c', 'test_flow_classify.c',
@@ -151,7 +154,11 @@ test_names = [ 'efd_autotest', 'efd_perf_autotest', 'errno_autotest', + 'event_crypto_adapter_autotest', + 'event_eth_rx_adapter_autotest', + 'event_eth_rx_intr_adapter_autotest', 'event_ring_autotest', + 'event_timer_adapter_autotest', 'eventdev_common_autotest', 'eventdev_octeontx_autotest', 'eventdev_sw_autotest',
Signature · 1 line
1.8.3.1
PATCH v2 1/1 test/event: add adapter tests to meson build
Add tests for event eth Rx, crypto and timer adapters to meson build
---
v2:
* fix Erik's email address
test/test/meson.build | 7 +++++++ 1 file changed, 7 insertions(+)
test/test/meson.build +7 -0
@@ -33,7 +33,10 @@ test_sources = files('commands.c', 'test_efd.c', 'test_efd_perf.c', 'test_errno.c', + 'test_event_crypto_adapter.c', + 'test_event_eth_rx_adapter.c', 'test_event_ring.c', + 'test_event_timer_adapter.c', 'test_eventdev.c', 'test_func_reentrancy.c', 'test_flow_classify.c',
@@ -151,7 +154,11 @@ test_names = [ 'efd_autotest', 'efd_perf_autotest', 'errno_autotest', + 'event_crypto_adapter_autotest', + 'event_eth_rx_adapter_autotest', + 'event_eth_rx_intr_adapter_autotest', 'event_ring_autotest', + 'event_timer_adapter_autotest', 'eventdev_common_autotest', 'eventdev_octeontx_autotest', 'eventdev_sw_autotest',
Signature · 1 line
1.8.3.1
Quoted 6 lines · Nikhil Rao
Add tests for event eth Rx, crypto and timer adapters to meson build
Cc Abhinandan Gujjar <[email protected]>Cc Erik G. Carrillo <[email protected]>Signed-off-by Nikhil Rao <[email protected]>
Quoted 8 lines
---
v2:
* fix Erik's email addresstest/test/meson.build | 7 +++++++ 1 file changed, 7 insertions(+)
When running this with test-meson-build.sh, errors are thrown up with the x86-default build. Please investigate.
Regards,
/Bruce
PATCH v2 1/2 test: fix event timer compiler warning
In reply to Nikhil RaoLimit the number of objects passed to rte_mempool_put_bulk() to the size of the object table. This fix eliminates a compiler warning (array-bounds) triggered when the march command line parameter to gcc is set to nehalem.
---
v2:
* fix compiler warning in event timer autotest.
test/test/test_event_timer_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
test/test/test_event_timer_adapter.c +1 -1
@@ -792,7 +792,7 @@TEST_ASSERT_EQUAL (n, ret,"Failed to cancel complete burst of " "event timers" );rte_mempool_put_bulk (eventdev_test_mempool, (void **)ev_tim, - ret); +RTE_MIN (ret,MAX_BURST )); cancel_count += ret; }
Signature · 1 line
1.8.3.1
PATCH v2 2/2 test/event: add adapter tests to meson build
Add tests for event eth Rx, crypto and timer adapters to meson build
--- test/test/meson.build | 7 +++++++ 1 file changed, 7 insertions(+)
test/test/meson.build +7 -0
@@ -33,7 +33,10 @@ test_sources = files('commands.c', 'test_efd.c', 'test_efd_perf.c', 'test_errno.c', + 'test_event_crypto_adapter.c', + 'test_event_eth_rx_adapter.c', 'test_event_ring.c', + 'test_event_timer_adapter.c', 'test_eventdev.c', 'test_func_reentrancy.c', 'test_flow_classify.c',
@@ -151,7 +154,11 @@ test_names = [ 'efd_autotest', 'efd_perf_autotest', 'errno_autotest', + 'event_crypto_adapter_autotest', + 'event_eth_rx_adapter_autotest', + 'event_eth_rx_intr_adapter_autotest', 'event_ring_autotest', + 'event_timer_adapter_autotest', 'eventdev_common_autotest', 'eventdev_octeontx_autotest', 'eventdev_sw_autotest',
Signature · 1 line
1.8.3.1
Quoted 8 lines · Nikhil Rao
Add tests for event eth Rx, crypto and timer adapters to meson build
Cc Abhinandan Gujjar <[email protected]>Cc Erik G. Carrillo <[email protected]>Signed-off-by Nikhil Rao <[email protected]>---
Jerin Jacob
Applied-----Original Message-----
Quoted 14 lines
Date: Thu, 27 Sep 2018 12:09:24 +0100
From: Bruce Richardson <[email protected]>
To: Nikhil Rao <[email protected]>
CC: [email protected], [email protected], [email protected],
Abhinandan Gujjar <[email protected]>, "Erik G. Carrillo" <[email protected]>
Subject: Re: [PATCH v2 2/2] test/event: add adapter tests to meson build
User-Agent: Mutt/1.10.1 (2018-07-13)Quoted 3 lines · Nikhil Rao
Add tests for event eth Rx, crypto and timer adapters to meson build
Quoted 6 lines
Quoted 5 lines
Cc Abhinandan Gujjar <[email protected]>Cc Erik G. Carrillo <[email protected]>Signed-off-by Nikhil Rao <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
Applied to dpdk-next-eventdev/master. Thanks.
Quoted 1 line
Re: [PATCH v2 1/2] test: fix event timer compiler warning
In reply to Nikhil RaoQuoted 11 lines · Nikhil Rao
Limit the number of objects passed to
rte_mempool_put_bulk()to the size of the object table. This fix eliminates a compiler warning (array-bounds) triggered when the march command line parameter to gcc is set to nehalem.Fixes d1f3385d0076 ("test: add event timer adapter auto-test")Signed-off-by Nikhil Rao <[email protected]>---
Jerin Jacob
AppliedRe: [PATCH v2 1/2] test: fix event timer compiler warning
-----Original Message-----
Quoted 15 lines
Date: Thu, 27 Sep 2018 12:08:56 +0100
From: Bruce Richardson <[email protected]>
To: Nikhil Rao <[email protected]>
CC: [email protected], [email protected], [email protected],
[email protected], [email protected]
Subject: Re: [PATCH v2 1/2] test: fix event timer compiler warning
User-Agent: Mutt/1.10.1 (2018-07-13)Quoted 5 lines · Nikhil Rao
Limit the number of objects passed to
rte_mempool_put_bulk()to the size of the object table. This fix eliminates a compiler warning (array-bounds) triggered when the march command line parameter to gcc is set to nehalem.
Quoted 7 lines
Quoted 6 lines
Fixes d1f3385d0076 ("test: add event timer adapter auto-test")Signed-off-by Nikhil Rao <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
Applied to dpdk-next-eventdev/master. Thanks.