Skip to contentSkip to conversation

test/event: increase default queue depth for tests

PATCH In review Anoob Joseph 3 participants 3 messages Jun 19, 2024 – Jun 26, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test/event: increase default queue depth for tests

With crypto adapter, larger queue depths are desirable since same queue could be used from multiple cores at the same time. With devices that are capable of doing large bursts, larger queues would help in multi core management of same queue.

Increase default queue depth in crypto adapter tests to cater to such use cases.

---
 app/test/test_event_crypto_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test/test_event_crypto_adapter.c +1 -1
index 0c56744ba0..9d38a66bfa 100644
@@ -32,7 +32,7 @@ test_event_crypto_adapter(void)
 #define NUM_MBUFS                 (8191)
 #define MBUF_CACHE_SIZE           (256)
 #define MAXIMUM_IV_LENGTH         (16)
-#define DEFAULT_NUM_OPS_INFLIGHT  (128)
+#define DEFAULT_NUM_OPS_INFLIGHT   1024
 #define MAX_NB_SESSIONS            4
 #define TEST_APP_PORT_ID           0
 #define TEST_APP_EV_QUEUE_ID       0
Signature · 1 line
2.45.2
Acked-by on v1 1/1
#1 lore raw
Quoted 36 lines

-----Original Message-----
From: Anoob Joseph <[email protected]>
Sent: Wednesday, June 19, 2024 12:03 PM
To: Gujjar, Abhinandan S <[email protected]>; Akhil Goyal <[email protected]>
Cc: Jerin Jacob <[email protected]>; [email protected]
Subject: [PATCH] test/event: increase default queue depth for tests

With crypto adapter, larger queue depths are desirable since same queue could be used from multiple cores at the same time. With devices that are capable of doing large bursts, larger queues would help in multi core management of same queue.

Increase default queue depth in crypto adapter tests to cater to such use cases.

---
 app/test/test_event_crypto_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test/test_event_crypto_adapter.c +1 -2
index 0c56744ba0..9d38a66bfa 100644
@@ -32,7 +32,7 @@ test_event_crypto_adapter(void)
 #define NUM_MBUFS                 (8191)
 #define MBUF_CACHE_SIZE           (256)
 #define MAXIMUM_IV_LENGTH         (16)
-#define DEFAULT_NUM_OPS_INFLIGHT  (128)
+#define DEFAULT_NUM_OPS_INFLIGHT   1024
 #define MAX_NB_SESSIONS            4
 #define TEST_APP_PORT_ID           0
 #define TEST_APP_EV_QUEUE_ID       0
--

2.45.2

Acked-by Abhinandan Gujjar
#2 lore raw
Quoted 2 lines · Abhinandan S

Updated the git commit as follows and applied to
dpdk-next-net-eventdev/for-main. Thanks

test/event: increase default crypto queue depth

With crypto adapter, larger queue depths are desirable since same queue could be used from multiple cores at the same time. With devices that are capable of doing large bursts, larger queues would help in multi core management of same queue.

Increase default queue depth in crypto adapter tests to cater to such use cases.

Quoted 38 lines
Quoted 37 lines

-----Original Message-----
From: Anoob Joseph <[email protected]>
Sent: Wednesday, June 19, 2024 12:03 PM
To: Gujjar, Abhinandan S <[email protected]>; Akhil Goyal <[email protected]>
Cc: Jerin Jacob <[email protected]>; [email protected]
Subject: [PATCH] test/event: increase default queue depth for tests

With crypto adapter, larger queue depths are desirable since same queue could be used from multiple cores at the same time. With devices that are capable of doing large bursts, larger queues would help in multi core management of same queue.

Increase default queue depth in crypto adapter tests to cater to such use cases.

---
 app/test/test_event_crypto_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test/test_event_crypto_adapter.c +1 -2
index 0c56744ba0..9d38a66bfa 100644
@@ -32,7 +32,7 @@ test_event_crypto_adapter(void)
 #define NUM_MBUFS                 (8191)
 #define MBUF_CACHE_SIZE           (256)
 #define MAXIMUM_IV_LENGTH         (16)
-#define DEFAULT_NUM_OPS_INFLIGHT  (128)
+#define DEFAULT_NUM_OPS_INFLIGHT   1024
 #define MAX_NB_SESSIONS            4
 #define TEST_APP_PORT_ID           0
 #define TEST_APP_EV_QUEUE_ID       0
--

2.45.2