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 0CF9E45CF9 for ; Wed, 13 Nov 2024 18:20:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8FD8E40A67; Wed, 13 Nov 2024 18:20:12 +0100 (CET) Received: from mx0a-00196b01.pphosted.com (mx0a-00196b01.pphosted.com [67.231.149.170]) by mails.dpdk.org (Postfix) with ESMTP id 9ECE9406BC for ; Wed, 13 Nov 2024 18:20:10 +0100 (CET) Received: from pps.filterd (m0096263.ppops.net [127.0.0.1]) by mx0a-00196b01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4ADDTDK3003906 for ; Wed, 13 Nov 2024 12:20:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netscout.com; h= content-type:date:from:message-id:mime-version:subject:to; s= netscout.com.09.24.2020; bh=4Yxcr8l+jbgH51SYQHhhwfPOxoQL0T2ANwJU udyGTEI=; b=R+uPEv2s5/KcgkS6fXEc4Tr+zT7ZCvr0GC6ftuhp+2QRlhYfjW/s dtdA+fGrTdgw8gET6ixH5MxM1gvGJxNXsjcuPQxpfo+WMQM9jhXiyOfCmQLVkrNU 4WtMSGKdjQ7w8mb+egKS9h0Mm6fO6uZbgxwkcMM/bvlFmNh116xzL9C4YLe2RdJj uVaF1zWwoC8xn8tPFr45mW6KqxMhN6kvmJIHeHeBVMdSoKZ+lkixT0QxGBT8mFvk /PuF+jjWEOtK7AOUOS6dXYjy47nsXeiLHK+r6RrB8tF+Pvw+hZGgMtcY3ygvIWXb skQK3k4efbymjgHaHqyIxMRR7vvRK5s7Gg== Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2040.outbound.protection.outlook.com [104.47.58.40]) by mx0a-00196b01.pphosted.com (PPS) with ESMTPS id 42v8urhrt3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Nov 2024 12:20:09 -0500 (EST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CVi3O1+zrfnfrgEobz2WZNFAMw/N6JExCB/uvSMyipQv66r9ptWhrDOLhq9Pl8kEggCk31LVXNZpxEecpa/RRaz4G8LdF/Xe1brrB0MXaxW9eKYZajee/7KfZrfn+dAZZrXZW6qdCDRVA+RoosuVHWNOhpvh0UFQDdnOHB9yKm64EK8UXNmYyrKxFYLwZNNZZwIO+lwBWMee+GXx4ZBxqnqi3/9I5j/myHdXI7ll6HRR4s80jkLwk+a1IxC8J1f3stJAeCeADJZ/Jkm0GYeB/rPhlnOb75OyFS5vjpW7Yv/KkCWQuPX3f8PB+v7255sPIaJpCgnNSDcUgjZezdz9Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4Yxcr8l+jbgH51SYQHhhwfPOxoQL0T2ANwJUudyGTEI=; b=zL7X0vGqPj39TYnsbuVarsqIo7EECqwmh6w+hdcYqvWP1kfL+/1PjBhSql2TM9/N/Dc4IpYl414PTHdrTXLRZ60x4UMNRdgJrOMzDWp5NxSxNet/8xB9WgZjJzGrmIzoRmMjAecaGIy6/AL2c2q/v2vVL02sq50YJ4Dpzw/wXiK1VbCbTngB1TcgmJbbxd851vOZJO366MBe7IdmvYdqUtq87+uzfTvzPaPvVhj2PEIsfdGeHbkF3kEp+OAAEGfFlXTTgk42D6f41vyLdNmzLG4PUE02AYVtJ9HPRWwMWhEJANMssprH93uB6CfYZh/OKRkytmRVwg3uDFqJ3uvqUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=netscout.com; dmarc=pass action=none header.from=netscout.com; dkim=pass header.d=netscout.com; arc=none Received: from CH3PR01MB8470.prod.exchangelabs.com (2603:10b6:610:1a4::21) by PH7PR01MB7848.prod.exchangelabs.com (2603:10b6:510:1dc::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.16; Wed, 13 Nov 2024 17:20:05 +0000 Received: from CH3PR01MB8470.prod.exchangelabs.com ([fe80::80c4:7216:f070:e5fd]) by CH3PR01MB8470.prod.exchangelabs.com ([fe80::80c4:7216:f070:e5fd%4]) with mapi id 15.20.8158.013; Wed, 13 Nov 2024 17:20:05 +0000 From: "Lombardo, Ed" To: "users@dpdk.org" Subject: Two DPDK instances in same Linux Process Thread-Topic: Two DPDK instances in same Linux Process Thread-Index: Ads176fRTlBNeC1hSZG1qUpgwboOkw== Date: Wed, 13 Nov 2024 17:20:04 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR01MB8470:EE_|PH7PR01MB7848:EE_ x-ms-office365-filtering-correlation-id: 2e81bcb7-238a-47f8-5f8d-08dd04076a35 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|8096899003|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?iBvmtyilDBjFtIVnpVgU3fRWtGacf1Ap1H71cKMtGr2ljG+VV4Lwc3NvXIUU?= =?us-ascii?Q?C0Z7WaAuwvdViCZayAP7uWcZZ7nzf+4ze6j3FMNRxzLLO2JfaJiZe1XeHfWB?= =?us-ascii?Q?lUecgCvZNP++YFfkiwBFln1iI3LGSqxmqiJVmx+9nRhm0PGyUxFUWudCSQXz?= =?us-ascii?Q?RUxdb0yP8V1iatWjPJvHhntZr+W1kANQJrVfVP9P98JPMkz9yBKIPGwBBf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8jJ55/Zc17yuPKIwwsqa3JTowtW?= =?us-ascii?Q?QpAT5zP1rNstW+nLJxZ2o+UM2zOenFptOvR5h3pwxXly6eOttjnsYVcR41rf?= =?us-ascii?Q?rsvHDJycTu5ejsglSgEEFgcWR+1EsEpqZypCgsJjK3B5PCB0ZyRhy0fFxc/J?= =?us-ascii?Q?4SnJFD4dLk7KCbjsQkzZjtPhOOdcGAXq9M+FvwtVMtf+I1TwvYQACghKF8vn?= =?us-ascii?Q?p2lCpWsAOGpCOqFF41FlnVPZzfADkZCAIvyOIjqYZx6nsaaMv5QcRJwN13bT?= =?us-ascii?Q?Ds/bc3s=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR01MB8470.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(8096899003)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?p2HQrv6O+Z2CPbQFh8xnDY4Q948LtruiOuN+L6rEEJHVYvHZH2skmmTzvlJb?= =?us-ascii?Q?4ntyEFAUij86znoad2XczqMYzIv7TrAd1+fOO5AWsyQNiakK5UQ4D92s0hFe?= =?us-ascii?Q?3MMfzIoA1Zp/FESLbe4hBMJrqJxZhn+yq2T/O3Y3wdleazcUYqE3j27g9Wc3?= =?us-ascii?Q?H7XKyTJNqvRXdOaqL9bCmQrT81ws91mcjTuEyfa3AskMU8Pjq0ORADKKcIbc?= =?us-ascii?Q?LCSezW0xvdJvafMMpGg9mrqgty11qKbmnmQCy1nd4gZhigRh+3ysXUumlEM4?= =?us-ascii?Q?lFZk38BouVQ/FI59Gj224zMPn6AlqUf4fV4+fHCAVCAksALNe2vqXieacrwe?= =?us-ascii?Q?Afd0V5BBy/HHuOqc99xWmeqyJu0iYUJqeRfnbDOBGoOgjnDzUAN1O8Q3PKnZ?= =?us-asc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ItBqhQ4O3Erg89gzo?= =?us-ascii?Q?4boVcc5V942gBduzPpTPMf9pcUaSwocY1fC2HNbehsRfgRjfbwJtjvtfNAfn?= =?us-ascii?Q?mU2yJIev8Ovrvn97iwbreRBiBQBafqzVW1GNbFMgFSNy/21Vg9HZf0aGtxja?= =?us-ascii?Q?OIr1ZOWVg38LY36VEc9CrOQqaZ9HNGBnNbpXxFdqXU1qRqFCjQRkIaJmQfz+?= =?us-ascii?Q?Y+2dWeTwgR4llPILLJoOyUCLWTQfVmmnwvnT8tnyQWTMA/lEv++5BFtY7hyn?= =?us-ascii?Q?YHq3d80jYFP8WEy+1Imp+vGPPEgB9e6gDVYWIw94?= Content-Type: multipart/alternative; boundary="_000_CH3PR01MB8470D40F4F6758434F7F9A888F5A2CH3PR01MB8470prod_" MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: JpS7Go/PHD3jG9veSiD5WcS8aSdIufbYRWXFUTBtD2bTZr2uw3auTXNA7Gl6U33dDEL2aWC5YdmkWcVJJNv3FajBET9fI7xMqNbl2dttsZCAlIAFRN3gptjxqcmXUzC+X3WPeEpi47si2rHC54M9Dt0ylnIe2STH+r4pkas4Di7vvGdweR/iIVoYHWjltvOanlhNrRBKd3BDb5XTP+uknLU5ItgMWZ3DSckznil4iEGaYiF/2tXGDfpAQSECWdArpERfZe/c1FRLZoNaoLs/S24Rmew0TwuvONR0EB6ZM2hLeLhmaTwqrARY5opAOsVj3x/Xx+5KTEAl/ceLHBkY1bgA+pOeq67ilN4wGyXGOcsitP5HJN40a61SbAU5T/Mw9j8W/En0iSiWds2oiQSERWRvW+HYpMzatJ8jm6WyhEXpsvXzECkReF2gxgzpYAG4ao/sk4wCebdHeWxpdNpfJgJiOGOgrbYZLk5VXhdMFqW4W+32spzee7VgpqYjorl8vkuMznzVeI72ZuE/XLxYP3IVvy1PspXSJodY1nIR2jm7kj/kHMtFl1VSdUQAlirK3FZKSL5ABMz6vvQjD78POMHReaBOTcj7l182awrLVZr1yHfagSCbyR8IL3KZCnHZ X-OriginatorOrg: netscout.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR01MB8470.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e81bcb7-238a-47f8-5f8d-08dd04076a35 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2024 17:20:04.9577 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 54f11205-d4aa-4809-bd36-0b542199c5b2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bCGlCZ4aWBdnjV953xROhllMBF+hBbXGNp5rFPoM4KsgqZWfsXXWXa1G+YcY3GzpDwQ/1RIM8l8jw+GcuzpZhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR01MB7848 X-Proofpoint-GUID: 1Q3bgluDshExKcP9EfyZqPQiQcv-4uey X-Proofpoint-ORIG-GUID: 1Q3bgluDshExKcP9EfyZqPQiQcv-4uey X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 lowpriorityscore=0 impostorscore=0 phishscore=0 suspectscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 adultscore=0 mlxlogscore=921 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.21.0-2409260000 definitions=main-2411130144 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_CH3PR01MB8470D40F4F6758434F7F9A888F5A2CH3PR01MB8470prod_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have a situation where our NIC driver uses DPDK 22.11 and comes up and pr= ocess packets. We added Suricata to our application and it also uses DPDK = 22.11. Both the driver and Suricata are in the same Linux process. When t= he Suricata application starts and initializes DPDK with their own EAL init= call it fails. I tried setting the driver DPDK as the primary and the Sur= icata as the secondary but still fails. The driver DPDK initialization occurs before the Suricata DPDK initializati= on. Also the driver DPDK has its own hugepages and Suricata has its own hugepag= es. What is the proper way to accommodate two DPDK instances in the same Linux = application process? Thanks, Ed --_000_CH3PR01MB8470D40F4F6758434F7F9A888F5A2CH3PR01MB8470prod_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

I have a situation where our NIC driver uses DPDK 22= .11 and comes up and process packets.  We added Suricata to our applic= ation and it also uses DPDK 22.11.  Both the driver and Suricata are i= n the same Linux process.  When the Suricata application starts and initializes DPDK with their own EAL init call it fa= ils.  I tried setting the driver DPDK as the primary and the Suricata = as the secondary but still fails.

 

The driver DPDK initialization occurs before the Sur= icata DPDK initialization.

 

Also the driver DPDK has its own hugepages and Suric= ata has its own hugepages.

 

What is the proper way to accommodate two DPDK insta= nces in the same Linux application process?

 

Thanks,

Ed

--_000_CH3PR01MB8470D40F4F6758434F7F9A888F5A2CH3PR01MB8470prod_--