* [dpdk-dev] [PATCH] test/event: add adapter tests to meson build
@ 2018-09-05 13:55 Nikhil Rao
2018-09-05 14:06 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Nikhil Rao
0 siblings, 2 replies; 9+ messages in thread
From: Nikhil Rao @ 2018-09-05 13:55 UTC (permalink / raw)
To: jerin.jacob; +Cc: dev, Nikhil Rao, Abhinandan Gujjar, Erik G. Carrillio
Add tests for event eth Rx, crypto and timer adapters to
meson build
Cc: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Cc: Erik G. Carrillio <erik.g.carrillio@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
test/test/meson.build | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index b1dd6ec..1b2e8b7 100644
--- a/test/test/meson.build
+++ b/test/test/meson.build
@@ -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',
--
1.8.3.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH v2] test/event: add adapter tests to meson build
2018-09-05 13:55 [dpdk-dev] [PATCH] test/event: add adapter tests to meson build Nikhil Rao
@ 2018-09-05 14:06 ` Nikhil Rao
2018-09-07 15:58 ` Bruce Richardson
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Nikhil Rao
1 sibling, 1 reply; 9+ messages in thread
From: Nikhil Rao @ 2018-09-05 14:06 UTC (permalink / raw)
To: jerin.jacob; +Cc: dev, Nikhil Rao, Abhinandan Gujjar, Erik G. Carrillo
Add tests for event eth Rx, crypto and timer adapters to
meson build
Cc: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Cc: Erik G. Carrillo <erik.g.carrillo@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
v2:
* fix Erik's email address
test/test/meson.build | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index b1dd6ec..1b2e8b7 100644
--- a/test/test/meson.build
+++ b/test/test/meson.build
@@ -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',
--
1.8.3.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH v2] test/event: add adapter tests to meson build
2018-09-05 14:06 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
@ 2018-09-07 15:58 ` Bruce Richardson
0 siblings, 0 replies; 9+ messages in thread
From: Bruce Richardson @ 2018-09-07 15:58 UTC (permalink / raw)
To: Nikhil Rao; +Cc: jerin.jacob, dev, Abhinandan Gujjar, Erik G. Carrillo
On Wed, Sep 05, 2018 at 07:36:13PM +0530, Nikhil Rao wrote:
> Add tests for event eth Rx, crypto and timer adapters to
> meson build
>
> Cc: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
> Cc: Erik G. Carrillo <erik.g.carrillo@intel.com>
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> ---
>
> v2:
> * fix Erik's email address
>
> test/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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning
2018-09-05 13:55 [dpdk-dev] [PATCH] test/event: add adapter tests to meson build Nikhil Rao
2018-09-05 14:06 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
@ 2018-09-27 5:46 ` Nikhil Rao
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 2/2] test/event: add adapter tests to meson build Nikhil Rao
2018-09-27 11:08 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Bruce Richardson
1 sibling, 2 replies; 9+ messages in thread
From: Nikhil Rao @ 2018-09-27 5:46 UTC (permalink / raw)
To: thomas, jerin.jacob
Cc: dev, bruce.richardson, Nikhil Rao, erik.g.carrillo, stable
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")
Cc: erik.g.carrillo@intel.com
Cc: stable@dpdk.org
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
v2:
* fix compiler warning in event timer autotest.
test/test/test_event_timer_adapter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test/test_event_timer_adapter.c b/test/test/test_event_timer_adapter.c
index 93471db..a45b7d1 100644
--- a/test/test/test_event_timer_adapter.c
+++ b/test/test/test_event_timer_adapter.c
@@ -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;
}
--
1.8.3.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH v2 2/2] test/event: add adapter tests to meson build
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Nikhil Rao
@ 2018-09-27 5:46 ` Nikhil Rao
2018-09-27 11:09 ` Bruce Richardson
2018-09-27 11:08 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Bruce Richardson
1 sibling, 1 reply; 9+ messages in thread
From: Nikhil Rao @ 2018-09-27 5:46 UTC (permalink / raw)
To: thomas, jerin.jacob
Cc: dev, bruce.richardson, Nikhil Rao, Abhinandan Gujjar, Erik G. Carrillo
Add tests for event eth Rx, crypto and timer adapters to
meson build
Cc: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Cc: Erik G. Carrillo <erik.g.carrillo@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
test/test/meson.build | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index b1dd6ec..1b2e8b7 100644
--- a/test/test/meson.build
+++ b/test/test/meson.build
@@ -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',
--
1.8.3.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Nikhil Rao
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 2/2] test/event: add adapter tests to meson build Nikhil Rao
@ 2018-09-27 11:08 ` Bruce Richardson
2018-09-28 10:36 ` Jerin Jacob
1 sibling, 1 reply; 9+ messages in thread
From: Bruce Richardson @ 2018-09-27 11:08 UTC (permalink / raw)
To: Nikhil Rao; +Cc: thomas, jerin.jacob, dev, erik.g.carrillo, stable
On Thu, Sep 27, 2018 at 11:16:14AM +0530, Nikhil Rao wrote:
> 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")
> Cc: erik.g.carrillo@intel.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH v2 2/2] test/event: add adapter tests to meson build
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 2/2] test/event: add adapter tests to meson build Nikhil Rao
@ 2018-09-27 11:09 ` Bruce Richardson
2018-09-28 10:35 ` Jerin Jacob
0 siblings, 1 reply; 9+ messages in thread
From: Bruce Richardson @ 2018-09-27 11:09 UTC (permalink / raw)
To: Nikhil Rao; +Cc: thomas, jerin.jacob, dev, Abhinandan Gujjar, Erik G. Carrillo
On Thu, Sep 27, 2018 at 11:16:15AM +0530, Nikhil Rao wrote:
> Add tests for event eth Rx, crypto and timer adapters to
> meson build
>
> Cc: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
> Cc: Erik G. Carrillo <erik.g.carrillo@intel.com>
>
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH v2 2/2] test/event: add adapter tests to meson build
2018-09-27 11:09 ` Bruce Richardson
@ 2018-09-28 10:35 ` Jerin Jacob
0 siblings, 0 replies; 9+ messages in thread
From: Jerin Jacob @ 2018-09-28 10:35 UTC (permalink / raw)
To: Bruce Richardson
Cc: Nikhil Rao, thomas, dev, Abhinandan Gujjar, Erik G. Carrillo
-----Original Message-----
> Date: Thu, 27 Sep 2018 12:09:24 +0100
> From: Bruce Richardson <bruce.richardson@intel.com>
> To: Nikhil Rao <nikhil.rao@intel.com>
> CC: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, dev@dpdk.org,
> Abhinandan Gujjar <abhinandan.gujjar@intel.com>, "Erik G. Carrillo"
> <erik.g.carrillo@intel.com>
> Subject: Re: [PATCH v2 2/2] test/event: add adapter tests to meson build
> User-Agent: Mutt/1.10.1 (2018-07-13)
>
>
> On Thu, Sep 27, 2018 at 11:16:15AM +0530, Nikhil Rao wrote:
> > Add tests for event eth Rx, crypto and timer adapters to
> > meson build
> >
> > Cc: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
> > Cc: Erik G. Carrillo <erik.g.carrillo@intel.com>
> >
> > Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied to dpdk-next-eventdev/master. Thanks.
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning
2018-09-27 11:08 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Bruce Richardson
@ 2018-09-28 10:36 ` Jerin Jacob
0 siblings, 0 replies; 9+ messages in thread
From: Jerin Jacob @ 2018-09-28 10:36 UTC (permalink / raw)
To: Bruce Richardson; +Cc: Nikhil Rao, thomas, dev, erik.g.carrillo, stable
-----Original Message-----
> Date: Thu, 27 Sep 2018 12:08:56 +0100
> From: Bruce Richardson <bruce.richardson@intel.com>
> To: Nikhil Rao <nikhil.rao@intel.com>
> CC: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, dev@dpdk.org,
> erik.g.carrillo@intel.com, stable@dpdk.org
> Subject: Re: [PATCH v2 1/2] test: fix event timer compiler warning
> User-Agent: Mutt/1.10.1 (2018-07-13)
>
>
> On Thu, Sep 27, 2018 at 11:16:14AM +0530, Nikhil Rao wrote:
> > 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")
> > Cc: erik.g.carrillo@intel.com
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied to dpdk-next-eventdev/master. Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-09-28 10:37 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05 13:55 [dpdk-dev] [PATCH] test/event: add adapter tests to meson build Nikhil Rao
2018-09-05 14:06 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
2018-09-07 15:58 ` Bruce Richardson
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Nikhil Rao
2018-09-27 5:46 ` [dpdk-dev] [PATCH v2 2/2] test/event: add adapter tests to meson build Nikhil Rao
2018-09-27 11:09 ` Bruce Richardson
2018-09-28 10:35 ` Jerin Jacob
2018-09-27 11:08 ` [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning Bruce Richardson
2018-09-28 10:36 ` Jerin Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).