DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nagadheeraj Rottela <rnagadheeraj@marvell.com>
To: <gakhil@marvell.com>, <fanzhang.oss@gmail.com>, <ashishg@marvell.com>
Cc: <dev@dpdk.org>, Nagadheeraj Rottela <rnagadheeraj@marvell.com>
Subject: [PATCH v2 4/7] crypto/nitrox: set queue type during queue pair setup
Date: Mon, 12 Feb 2024 19:17:40 +0530	[thread overview]
Message-ID: <20240212134743.15153-5-rnagadheeraj@marvell.com> (raw)
In-Reply-To: <20240212134743.15153-1-rnagadheeraj@marvell.com>

Set queue type as SE to initialize symmetric hardware queue.

Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com>
---
 drivers/crypto/nitrox/nitrox_sym.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/nitrox/nitrox_sym.c b/drivers/crypto/nitrox/nitrox_sym.c
index 1244317438..03652d3ade 100644
--- a/drivers/crypto/nitrox/nitrox_sym.c
+++ b/drivers/crypto/nitrox/nitrox_sym.c
@@ -198,6 +198,7 @@ nitrox_sym_dev_qp_setup(struct rte_cryptodev *cdev, uint16_t qp_id,
 		return -ENOMEM;
 	}
 
+	qp->type = NITROX_QUEUE_SE;
 	qp->qno = qp_id;
 	err = nitrox_qp_setup(qp, ndev->bar_addr, cdev->data->name,
 			      qp_conf->nb_descriptors, NPS_PKT_IN_INSTR_SIZE,
-- 
2.42.0


  parent reply	other threads:[~2024-02-12 13:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-12 13:47 [PATCH 0/7] add Nitrox compress device support Nagadheeraj Rottela
2024-02-12 13:47 ` [PATCH v2 1/7] crypto/nitrox: move nitrox common code to common folder Nagadheeraj Rottela
2024-02-12 13:47 ` [PATCH v2 2/7] compress/nitrox: add nitrox compressdev driver Nagadheeraj Rottela
2024-02-12 13:47 ` [PATCH v2 3/7] common/nitrox: add compress hardware queue management Nagadheeraj Rottela
2024-02-12 13:47 ` Nagadheeraj Rottela [this message]
2024-02-12 13:47 ` [PATCH v2 5/7] compress/nitrox: add software " Nagadheeraj Rottela
2024-02-12 13:47 ` [PATCH v2 6/7] compress/nitrox: add stateless request support Nagadheeraj Rottela
2024-02-12 13:47 ` [PATCH v2 7/7] compress/nitrox: add stateful " Nagadheeraj Rottela

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=20240212134743.15153-5-rnagadheeraj@marvell.com \
    --to=rnagadheeraj@marvell.com \
    --cc=ashishg@marvell.com \
    --cc=dev@dpdk.org \
    --cc=fanzhang.oss@gmail.com \
    --cc=gakhil@marvell.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).