DPDK patches and discussions
 help / color / mirror / Atom feed
From: Akhil Goyal <akhil.goyal@nxp.com>
To: Tomasz Duszynski <tdu@semihalf.com>, dev@dpdk.org
Cc: nsamsono@marvell.com, mw@semihalf.com,
	Dmitri Epshtein <dima@marvell.com>
Subject: Re: [dpdk-dev] [PATCH 3/3] crypto/mvsam: get number of CIOs dynamically
Date: Tue, 25 Sep 2018 16:48:01 +0530	[thread overview]
Message-ID: <a89897b0-b9b5-52b0-63fd-b5531028b26e@nxp.com> (raw)
In-Reply-To: <1536069590-2675-4-git-send-email-tdu@semihalf.com>

Hi,

On 9/4/2018 7:29 PM, Tomasz Duszynski wrote:
> From: Dmitri Epshtein <dima@marvell.com>
>
> MUSDK 18.09 introduced API for getting CIOs number dynamically.
> Use that instead of predefined constant.
>
> Signed-off-by: Dmitri Epshtein <dima@marvell.com>
> Reviewed-by: Natalie Samsonov <nsamsono@marvell.com>
> Tested-by: Natalie Samsonov <nsamsono@marvell.com>
> ---
>   drivers/crypto/mvsam/rte_mrvl_pmd.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd.c b/drivers/crypto/mvsam/rte_mrvl_pmd.c
> index 21c3a95..9a85fd9 100644
> --- a/drivers/crypto/mvsam/rte_mrvl_pmd.c
> +++ b/drivers/crypto/mvsam/rte_mrvl_pmd.c
> @@ -866,7 +866,7 @@ cryptodev_mrvl_crypto_init(struct rte_vdev_device *vdev)
>   			.private_data_size =
>   				sizeof(struct mrvl_crypto_private),
>   			.max_nb_queue_pairs =
> -				sam_get_num_inst() * SAM_HW_RING_NUM,
> +				sam_get_num_inst() * sam_get_num_cios(0),
>   			.socket_id = rte_socket_id()
>   		},
>   		.max_nb_sessions = MRVL_PMD_DEFAULT_MAX_NB_SESSIONS
This patch can be picked by net-next. So marking this patch as 
superseded, I think a copy is already sent in
[PATCH v3 00/13] net/mvpp2: add new features

Thanks,
Akhil

  reply	other threads:[~2018-09-25 11:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-04 13:59 [dpdk-dev] [PATCH 0/3] crypto/mvsam: align with MUSDK 18.09 Tomasz Duszynski
2018-09-04 13:59 ` [dpdk-dev] [PATCH 1/3] doc: update mvsam documentation Tomasz Duszynski
2018-09-04 13:59 ` [dpdk-dev] [PATCH 2/3] crypto/mvsam: update features list Tomasz Duszynski
2018-09-04 13:59 ` [dpdk-dev] [PATCH 3/3] crypto/mvsam: get number of CIOs dynamically Tomasz Duszynski
2018-09-25 11:18   ` Akhil Goyal [this message]
2018-10-01 13:24 ` [dpdk-dev] [PATCH 0/3] crypto/mvsam: align with MUSDK 18.09 Akhil Goyal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a89897b0-b9b5-52b0-63fd-b5531028b26e@nxp.com \
    --to=akhil.goyal@nxp.com \
    --cc=dev@dpdk.org \
    --cc=dima@marvell.com \
    --cc=mw@semihalf.com \
    --cc=nsamsono@marvell.com \
    --cc=tdu@semihalf.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).