From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 57EE4A0352;
	Fri, 17 Dec 2021 10:23:20 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4C15341C3C;
	Fri, 17 Dec 2021 10:22:08 +0100 (CET)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com
 [67.231.156.173])
 by mails.dpdk.org (Postfix) with ESMTP id 631B04114B
 for <dev@dpdk.org>; Fri, 17 Dec 2021 10:22:07 +0100 (CET)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1])
 by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1BH3l1x9015014
 for <dev@dpdk.org>; Fri, 17 Dec 2021 01:22:06 -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=8G8ksce60Pry8qVkm1a/pVpKrCn/86YJzBeHanuzH2c=;
 b=AUYqPRd58mycVvhCifmoLipnDQsF6p0SuVWL5CgHMUipkw6sf262US480yzmzaO9sOVP
 Xy/K1EvC6YQc5mnBblqAq3XkOKZGEZTpA+xAC2hqlmDu1Tym9p3V5qLlNzE/fwAdQ6jA
 93vUppzEpO4BVGGTiI5DZmzN6yQkKG7bSYaIbYVGgeZm9VFM2tkSnjNdLL1227fi8i1S
 pHXo/bfF/Wj5XbxCGO5swPn5zJGyjnsXnT1rYjBChkrf3XDqSFU+/rj2hT32Y25JIxXz
 2dOq0ZzNlV5Td6YQBn70EyWbynOqi4Yxeg7R+u+dX9kTTI1KakgCCivBK/1FZIAn1Mx/ Aw== 
Received: from dc5-exch01.marvell.com ([199.233.59.181])
 by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3d0b372th2-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)
 for <dev@dpdk.org>; Fri, 17 Dec 2021 01:22:06 -0800
Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com
 (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;
 Fri, 17 Dec 2021 01:22:04 -0800
Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com
 (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend
 Transport; Fri, 17 Dec 2021 01:22:04 -0800
Received: from HY-LT1002.marvell.com (HY-LT1002.marvell.com [10.28.176.218])
 by maili.marvell.com (Postfix) with ESMTP id 7F9923F70A4;
 Fri, 17 Dec 2021 01:22:02 -0800 (PST)
From: Anoob Joseph <anoobj@marvell.com>
To: Akhil Goyal <gakhil@marvell.com>, Jerin Jacob <jerinj@marvell.com>
CC: Anoob Joseph <anoobj@marvell.com>, Archana Muniganti
 <marchana@marvell.com>,
 Tejasree Kondoj <ktejasree@marvell.com>, <dev@dpdk.org>
Subject: [PATCH v3 28/29] crypto/cnxk: enable copy dscp
Date: Fri, 17 Dec 2021 14:50:10 +0530
Message-ID: <1639732811-1440-29-git-send-email-anoobj@marvell.com>
X-Mailer: git-send-email 2.7.4
In-Reply-To: <1639732811-1440-1-git-send-email-anoobj@marvell.com>
References: <1639676975-1316-1-git-send-email-anoobj@marvell.com>
 <1639732811-1440-1-git-send-email-anoobj@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Proofpoint-ORIG-GUID: vQ8R3fT2uYi_ZhL8WiatKUdyXcUd0ram
X-Proofpoint-GUID: vQ8R3fT2uYi_ZhL8WiatKUdyXcUd0ram
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513
 definitions=2021-12-17_03,2021-12-16_01,2021-12-02_01
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Copy DSCP is supported. Enable it in capabilities.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---
 drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
index f79e4d7..f8c007e 100644
--- a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
+++ b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
@@ -1142,6 +1142,7 @@ cnxk_sec_caps_update(struct rte_security_capability *sec_cap)
 {
 	sec_cap->ipsec.options.udp_encap = 1;
 	sec_cap->ipsec.options.copy_df = 1;
+	sec_cap->ipsec.options.copy_dscp = 1;
 }
 
 static void
-- 
2.7.4