From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4A3F243B01; Mon, 12 Feb 2024 14:48:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B3CF40A84; Mon, 12 Feb 2024 14:48:06 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 25B1040A7F for ; Mon, 12 Feb 2024 14:48:04 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41C3QZbC018658; Mon, 12 Feb 2024 05:48:03 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= pfpt0220; bh=TjZGAo8cfaXnunhPOnD6pHXuAGXDH2/4Ey46Mmot5z8=; b=Kpq FN+U9p6dS58YuXSqmhyoMMsaTqCCcAGQQJHfHRgQjhkduBCAiVtshM8fFr6jmBya wgs1VsztygMI+kH0FtWkr+VFjDl6LxDzczXEgvPW8Qv2tkjFY6Jy05PC1zPhm9GC dM4xBRyZ09qdgqAEmqsgGkhO42V84hvMwj236tjvkGUaddMbToIGDHMXU/ccbwE3 AHUxcNfCJE713//YJeO6cytUVioTL86rW1qV9WxF1XywKSCgj10VUCEEExmNpaus fhFzUO/q/OLC7VHiFkh3LpT8Vm5GRLI/KoHX1Du+ixAJhnv14Aio87hnk3QWVtgP PwtdoHnFlg7XotXzK0A== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3w67cpcp0v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 05:48:03 -0800 (PST) Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 12 Feb 2024 05:48:01 -0800 Received: from hyd1399.caveonetworks.com.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 12 Feb 2024 05:47:59 -0800 From: Nagadheeraj Rottela To: , , CC: , Nagadheeraj Rottela Subject: [PATCH v2 4/7] crypto/nitrox: set queue type during queue pair setup Date: Mon, 12 Feb 2024 19:17:40 +0530 Message-ID: <20240212134743.15153-5-rnagadheeraj@marvell.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240212134743.15153-1-rnagadheeraj@marvell.com> References: <20240212134743.15153-1-rnagadheeraj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: hzxCPRmKGbHSNpSyxna1lJJhNrVf4wkQ X-Proofpoint-ORIG-GUID: hzxCPRmKGbHSNpSyxna1lJJhNrVf4wkQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-12_10,2024-02-12_03,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Set queue type as SE to initialize symmetric hardware queue. Signed-off-by: Nagadheeraj Rottela --- 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