DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/ipsec-secgw: increase the number of dev mappings
@ 2018-09-05 12:47 Anoob Joseph
  2018-09-06  3:10 ` [dpdk-dev] [PATCH v1] " Anoob Joseph
  0 siblings, 1 reply; 4+ messages in thread
From: Anoob Joseph @ 2018-09-05 12:47 UTC (permalink / raw)
  To: Akhil Goyal, Pablo de Lara, Radu Nicolau
  Cc: Anoob Joseph, Jerin Jacob, Narayana Prasad, dev, Ankur Dwivedi

Increasing the number of cdev mappings to accomodate usage of crypto
devices with larger number of capabilities, with higher number of cores.

Required mappings : ([no of ciphers] * [no of auth] + [aead algos]) *
                    [no of cores]

Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>
Signed-off-by: Anoob Joseph <ajoseph@caviumnetworks.com>
---
 examples/ipsec-secgw/ipsec-secgw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index b45b87b..ae76e67 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
+++ b/examples/ipsec-secgw/ipsec-secgw.c
@@ -54,7 +54,7 @@
 #define NB_MBUF	(32000)
 
 #define CDEV_QUEUE_DESC 2048
-#define CDEV_MAP_ENTRIES 1024
+#define CDEV_MAP_ENTRIES 16384
 #define CDEV_MP_NB_OBJS 2048
 #define CDEV_MP_CACHE_SZ 64
 #define MAX_QUEUE_PAIRS 1
-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dpdk-dev] [PATCH v1] examples/ipsec-secgw: increase the number of dev mappings
  2018-09-05 12:47 [dpdk-dev] [PATCH] examples/ipsec-secgw: increase the number of dev mappings Anoob Joseph
@ 2018-09-06  3:10 ` Anoob Joseph
  2018-09-25 11:03   ` Akhil Goyal
  2018-09-26 12:27   ` Akhil Goyal
  0 siblings, 2 replies; 4+ messages in thread
From: Anoob Joseph @ 2018-09-06  3:10 UTC (permalink / raw)
  To: Akhil Goyal, Pablo de Lara, Radu Nicolau
  Cc: Anoob Joseph, Jerin Jacob, Narayana Prasad, dev, Ankur Dwivedi

Increasing the number of cdev mappings to accommodate usage of crypto
devices with larger number of capabilities, with higher number of cores.

Required mappings : ([no of ciphers] * [no of auth] + [aead algos]) *
                    [no of cores]

Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>
Signed-off-by: Anoob Joseph <ajoseph@caviumnetworks.com>
---
v1:
* Fixed typo in description

 examples/ipsec-secgw/ipsec-secgw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index b45b87b..ce5365a 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
+++ b/examples/ipsec-secgw/ipsec-secgw.c
@@ -54,7 +54,7 @@
 #define NB_MBUF	(32000)
 
 #define CDEV_QUEUE_DESC 2048
-#define CDEV_MAP_ENTRIES 1024
+#define CDEV_MAP_ENTRIES 16384
 #define CDEV_MP_NB_OBJS 2048
 #define CDEV_MP_CACHE_SZ 64
 #define MAX_QUEUE_PAIRS 1
-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH v1] examples/ipsec-secgw: increase the number of dev mappings
  2018-09-06  3:10 ` [dpdk-dev] [PATCH v1] " Anoob Joseph
@ 2018-09-25 11:03   ` Akhil Goyal
  2018-09-26 12:27   ` Akhil Goyal
  1 sibling, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2018-09-25 11:03 UTC (permalink / raw)
  To: Anoob Joseph, Pablo de Lara, Radu Nicolau
  Cc: Jerin Jacob, Narayana Prasad, dev, Ankur Dwivedi



On 9/6/2018 8:40 AM, Anoob Joseph wrote:
> Increasing the number of cdev mappings to accommodate usage of crypto
> devices with larger number of capabilities, with higher number of cores.
>
> Required mappings : ([no of ciphers] * [no of auth] + [aead algos]) *
>                      [no of cores]
>
> Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>
> Signed-off-by: Anoob Joseph <ajoseph@caviumnetworks.com>
> ---
> v1:
> * Fixed typo in description
>
>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH v1] examples/ipsec-secgw: increase the number of dev mappings
  2018-09-06  3:10 ` [dpdk-dev] [PATCH v1] " Anoob Joseph
  2018-09-25 11:03   ` Akhil Goyal
@ 2018-09-26 12:27   ` Akhil Goyal
  1 sibling, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2018-09-26 12:27 UTC (permalink / raw)
  To: Anoob Joseph, Pablo de Lara, Radu Nicolau
  Cc: Jerin Jacob, Narayana Prasad, dev, Ankur Dwivedi



On 9/6/2018 8:40 AM, Anoob Joseph wrote:
> Increasing the number of cdev mappings to accommodate usage of crypto
> devices with larger number of capabilities, with higher number of cores.
>
> Required mappings : ([no of ciphers] * [no of auth] + [aead algos]) *
>                      [no of cores]
>
> Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com>
> Signed-off-by: Anoob Joseph <ajoseph@caviumnetworks.com>
> ---
>
Applied to dpdk-next-crypto

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-26 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05 12:47 [dpdk-dev] [PATCH] examples/ipsec-secgw: increase the number of dev mappings Anoob Joseph
2018-09-06  3:10 ` [dpdk-dev] [PATCH v1] " Anoob Joseph
2018-09-25 11:03   ` Akhil Goyal
2018-09-26 12:27   ` Akhil Goyal

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).