From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D6A40A0526 for ; Wed, 22 Jul 2020 18:05:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3FF351BF7B; Wed, 22 Jul 2020 18:05:29 +0200 (CEST) Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by dpdk.org (Postfix) with ESMTP id B010A1BE90 for ; Wed, 22 Jul 2020 18:05:28 +0200 (CEST) Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06MFtFcw001667 for ; Wed, 22 Jul 2020 16:05:27 GMT Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 32emds2fhc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Jul 2020 16:05:26 +0000 Received: from G4W9121.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.210.21.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 44FE64F for ; Wed, 22 Jul 2020 16:05:25 +0000 (UTC) Received: from G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) by G4W9121.americas.hpqcorp.net (2002:10d2:1510::10d2:1510) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Jul 2020 16:05:14 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (15.241.52.11) by G9W8454.americas.hpqcorp.net (16.216.161.4) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 22 Jul 2020 16:05:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T3mRCo8DYdAAMeBPKTmh7x9syuBKGamSvR0CvgUDb3sbCAOUMHJFyHClBNeRGN9+HxCCngP4eqIBF/9KSbodncPXaEaEs0JmIXfrGNS0o613Cd7BvRvegpzGQcyCBF84ontkbrYPb3z6i0DfYAoHiGHp9bBbWirZJFwSdA9kj4yCgHXFp2X35TD2EQ48msurPlbyMfMG1bUCbifGZsEy5KWYS3aHO/M/ZJ+O7rF8IQYH2xPa95WmcFYvsQONNmMyuOqxv/+OSwd9nEfo9SQn4ho33p+pUvEicVW8W/hs+Kg+IH/PTy62PZKUaolepAYfa0poHKi/qauJ2RQ+4efNpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TCHk6O/jwqi/jbSQBaPHV3eTw7bQZvPb+WuhO/X5e1U=; b=nWTCxAMXm0p/DK4w4FPMoZen63aszF0DadaC6QNaoARNy5yFdzWzunEIOSaNxgyuPLNft4XYh1isb8sN5CgnZ7svPGbL60rUK1T8umM1q77vKHpt8HtK1/RnnRSDCPZSgUOo2YKP30CS21KL9JDXvw/mI2fbmIIjh+eCGrF7BbgtJ6bWjcnrqla6g+/UpEXTcvyXJAcS/EIJt4ksOGv3e5KsxnoWHkagO+5mrw2Jpsh4MdeR7HMPvpw0xlEc1TCeccwwR9mSYuhxnSgj9GIemNokqUkyRiAquh/z5L+n/lBjjVNOvDXhjDqf5MQSM0nPw1RxmN1RE3RC9oMDx4Pc0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from AT5PR8401MB0545.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:741f::19) by AT5PR8401MB1073.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7425::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.24; Wed, 22 Jul 2020 16:05:13 +0000 Received: from AT5PR8401MB0545.NAMPRD84.PROD.OUTLOOK.COM ([fe80::dd2b:9be5:6544:7fb0]) by AT5PR8401MB0545.NAMPRD84.PROD.OUTLOOK.COM ([fe80::dd2b:9be5:6544:7fb0%12]) with mapi id 15.20.3195.026; Wed, 22 Jul 2020 16:05:13 +0000 From: "Joshi, Venkatesh" To: "Trahe, Fiona" , "users@dpdk.org" Thread-Topic: DPDK-19.11 : IPSEC-SECGW tests not successful Thread-Index: AdZf+InBxsdbQ2XmRVycQpy+BoUEVwAI88QwAAlEwFA= Date: Wed, 22 Jul 2020 16:05:13 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=hpe.com; x-originating-ip: [106.51.30.176] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: bb6232a3-96ff-472c-b01a-08d82e59047f x-ms-traffictypediagnostic: AT5PR8401MB1073: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1002; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2jgil3yWzsGxQiPI70MiXirDGyU1QT88NzAKczzBOB30gLoANk/wMM/CjZCGo/L9Zr0IAh4//r0e3DyQf3lOVYBi0759ZEefowzVBF6U8K3fGN941TT6Ryr/Mvcl8LhO0WSDpD2lb3PoGKG9xK+XHpJn3Bk7I7B93vZZlEuyGJX/qoCKkvlvt+CmG093ECRquUSMh4TGsydwibyeAlr0Iu5RZPI7Llp0N2/7p/43yTuTVlg5I2LSRzAc89k4CZdu2npdSbAwAeSYjRSO5/hea8Cl5SGXj8FztnvJ+VgoCTguO5B5zSWJ04XWkq7hvHvitk0FnPTQUXpX5JhfSv7ZfprWluDZtHpGkCZlH0gEOtSfN3urczoVJcTXvweCoZK2kIaQgPx0+PD76g7bxb0EvQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AT5PR8401MB0545.NAMPRD84.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(136003)(396003)(39860400002)(376002)(346002)(366004)(26005)(8676002)(5660300002)(186003)(66946007)(76116006)(33656002)(66446008)(64756008)(66556008)(66476007)(55236004)(6506007)(52536014)(53546011)(7696005)(478600001)(55016002)(110136005)(8936002)(316002)(86362001)(2906002)(83380400001)(9686003)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: U43vH9QDRoPLBlQGJzTKmW+Ru7aoCTyBxIk2DzuJUuj1oTfFh0wMgcKO9e1xoOMHc9dlwU/+mk1v4LmOzeLE9bs6lhC1Zkrby2YxQCjtbpwysUKWZcRElqj2OILL05SkEvALyc0wPHARzXFv9Lf9ZKtzjNniktJWXbW5B9mV+SPVKZSZ7GnmKdFalgiHig47DDF0XCqyeScZweKUtZdUQfczot9Goe91M1LoRyqr/zvegXPiLHnBLD1YgMqEyEQkmgUWZLN3WPWe3+AySnKMvXy6m0TFw0TUbOHb+lGuH0/RWhtrODVV8JZmS3R1TcrC9zIOUFVkPRSOkujMsxx0WDxKrdyD/wBPRwNlJSdRLo13qyivcneRkC4hFgXqBhzJ8BJymiW9mxFKf+NQODKtv0oFc4McCIIzxIobEQ7mL543wMj3XrJum6aWFIjzTn7ZRL4UuzBZ5shGj90PAsMRrv+jQXlwjYpDMMQSunYlfbQ= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AT5PR8401MB0545.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: bb6232a3-96ff-472c-b01a-08d82e59047f X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2020 16:05:13.4159 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +KYKAhi57yBRrUwOF4Ev/BR2mpDqJ12YvqY1YjC9nRzemYK6baRVC9E/cSzQyV6EjQB5bLz9wBJ3D6q6+6Hd8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB1073 X-OriginatorOrg: hpe.com Content-Transfer-Encoding: quoted-printable X-Proofpoint-UnRewURL: 2 URL's were un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-22_09:2020-07-22, 2020-07-22 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007220108 Subject: Re: [dpdk-users] DPDK-19.11 : IPSEC-SECGW tests not successful X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Fiona, Here are the command-lines: For the Intel Board 1: ------------------------- ./build/ipsec-secgw -l 1 -n 4 -w b3:00.0 -w b3:00.1 -w 67:01.0 -- -P -p 0x3= -u 1 --config=3D"(0,0,1),(1,0,1)" -f ./ep0-intel-board1.cfg ep0-intel-board1.cfg: ------------------------- #SP IPv4 rule - for outgoing (to crb-3) sp ipv4 out esp protect 1000 pri 5 dst 40.1.1.0/24 sport 0:65535 dport 0:65= 535 #SA rules sa out 1000 cipher_algo aes-128-cbc cipher_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a= 0:a0:a0:\ a0:a0:a0:a0 auth_algo sha1-hmac auth_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a= 0:\ a0:a0:a0:a0:a0:a0:a0:a0 mode ipv4-tunnel src 20.1.1.50 dst 20.1.1.20 #SP IPv4 rule - for incoming (to IXIA) sp ipv4 in esp protect 1010 pri 5 dst 20.1.1.50/32 src 20.1.1.20/32 sport 0= :65535 dport 0:65535 #SA rules sa in 1010 cipher_algo aes-128-cbc cipher_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0= :a0:a0:\ a0:a0:a0:a0 auth_algo sha1-hmac auth_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a= 0:\ a0:a0:a0:a0:a0:a0:a0:a0 mode ipv4-tunnel src 20.1.1.20 dst 20.1.1.50 #Routing rules rt ipv4 dst 20.1.1.20/32 port 1 rt ipv4 dst 30.1.1.10/32 port 0 For the Intel Board 2: ------------------------- ./build/ipsec-secgw -l 1 -n 4 -w 17:00.0 -w 17:00.1 -w 67:01.0 -- -P -p 0x3= -u 1 --config=3D"(0,0,1),(1,0,1)" -f ./ep1-intel-board2.cfg ep1-intel-board2.cfg: ---------------------- #SP IPv4 rule - for outgoing (from IXIA) sp ipv4 out esp protect 1010 pri 1 dst 30.1.1.0/24 sport 0:65535 dport 0:65= 535 #SA rules sa out 1010 cipher_algo aes-128-cbc cipher_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a= 0:a0:a0:\ a0:a0:a0:a0 auth_algo sha1-hmac auth_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a= 0:\ a0:a0:a0:a0:a0:a0:a0:a0 mode ipv4-tunnel src 20.1.1.20 dst 20.1.1.50 #Routing rules rt ipv4 dst 20.1.1.50/32 port 1 Regards, Venkatesh -----Original Message----- From: Trahe, Fiona [mailto:fiona.trahe@intel.com]=20 Sent: Wednesday, July 22, 2020 5:15 PM To: Joshi, Venkatesh ; users@dpdk.org Cc: Trahe, Fiona Subject: RE: DPDK-19.11 : IPSEC-SECGW tests not successful Have you tried using --log-level=3D8 (or =3D"qat,8") on your process comman= dline? In conjunction with rebuilding with=20 CONFIG_RTE_LOG_DP_LEVEL=3DRTE_LOG_DEBUG=20 this should show if any cryptodev ops are being sent to QAT PMD. Something else to try would be - can you run either=20=20 dpdk-test-crypto-perf or the unit test application - just to validate that = the process can run crypto on QAT PMD ok. Your setup for QAT looks ok.=20 Also could you share the command-line you're using for each process please. > -----Original Message----- > From: users On Behalf Of Joshi, Venkatesh > Sent: Wednesday, July 22, 2020 8:51 AM > To: users@dpdk.org > Subject: [dpdk-users] DPDK-19.11 : IPSEC-SECGW tests not successful >=20 > Hi, >=20 > I'm not able to successfully run the IPSEC-SECGW tests with DPDK-19.11. I= have followed the guide > published at doc.dpdk.org but still not able to get things right. >=20 > Please help me figure out what could be wrong. >=20 > Here are the setup details: >=20 > Network Diagram: > ------------------ > XL710 X= L 710 > |---------------------|Port 1 IPSEC Tunnel P= ort 1|----------------------| > | Intel board 1 |<----------------------------------= ---->| Intel board 2 | > |---------------------| = |----------------------| > Port 0 ^ = ^ Port 0 (XL710) > (XL710) | = | > | |--------------------------------| = | > -------->|7 IXIA 4|<---= ---------------- > |--------------------------------| >=20 > * Linux kernel: 4.14 > * DPDK version: 19.11 > * All ports are 40G ports (XL710 NICs) > * The intel board is: Intel(R) Xeon(R) Gold 5220 CPU > - has a single socket, 18 cores, 2 threads per core > * The QAT card: C62x >=20 >=20 > Issue: > -------- > * Traffic is sent from IXIA Port 4 to IXIA port 7: > - This is IP/UDP traffic of size 1024 bytes > - The dst mac is set to the MAC of port 0 of the XL710 NIC of Intel bo= ard 2 > - The src ip: 40.1.1.10, dst ip: 30.1.1.10 > - No packets are received on IXIA Port 7 > - On further debugging: Packets are not getting forwarded out of the I= PSEC tunnel from Intel board 2. >=20 > On Intel board 1: > ------------------- > XL710 Port 0: b3:00.0 - bound to vfio-pci > XL710 Port 1: b3:00.1 - bound to vfio-pci > QAT VF: 0000:67:01.0 'Device 37c9' drv=3Dvfio-pci >=20 > Endpoint 0 config file: attached > Command-line and output file: attached >=20 > On Intel board 2: > ------------------- > XL710 Port 0: 17:00.0 - bound to vfio-pci > XL710 Port 1: 17:00.1 - bound to vfio-pci > QAT VF: 0000:68:01.0 'Device 37c9' drv=3Dvfio-pci >=20 > Endpoint 1 config file: attached > Command-line and output file: attached >=20 >=20 > DPDK: > ------- > - config has the following set: > CONFIG_RTE_LIBRTE_PMD_QAT=3Dy > CONFIG_RTE_LIBRTE_PMD_QAT_SYM=3Dy >=20 > QAT driver version: qat1.7.l.4.9.0-00008 > ------------------------------------------- > Makefile has: ICP_SRIOV_AM=3D1 > ./configure --enable-icp-sriov=3Dhost >=20 >=20 > Please let me know if any additional information is required. >=20 >=20 > Regards, > Venkatesh >=20 >=20 > -------------- next part -------------- > An embedded and charset-unspecified text was scrubbed... > Name: intel-board1-cmdline-and-output.txt > URL: > -------------- next part -------------- > An embedded and charset-unspecified text was scrubbed... > Name: intel-board2-cmdline-and-output.txt > URL: