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 7CE0BA034F; Mon, 30 Aug 2021 13:27:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2625D41169; Mon, 30 Aug 2021 13:27:11 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 05C8E41167; Mon, 30 Aug 2021 13:27:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10091"; a="215127187" X-IronPort-AV: E=Sophos;i="5.84,363,1620716400"; d="scan'208";a="215127187" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2021 04:26:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,363,1620716400"; d="scan'208";a="689225189" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga005.fm.intel.com with ESMTP; 30 Aug 2021 04:26:56 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 30 Aug 2021 04:26:55 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 30 Aug 2021 04:26:55 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 30 Aug 2021 04:26:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D393AtwPJxnTyXWcRqWLKCzxIIWGemjmyymku9PsWpjVtlmnFJ6p1a86KpPsaR6/vHMRqO0A+1LXAXhc65TjaB6NC05aaxDJljjIroeRCzhKQnbI3BMdE8joO8WbCR8gZZ7nfRabYM5/Mp4RD4I+rFDX+dVNYpyGQUBKB0Euh6z+uFjz9y/qmAAcnQVkvko35kQAx4OEe0r5FS/Kp8196TTerUc0zr3Kb1biQy07WbmwoAgfbn7cbjb7g5XIIxSy+1OoOIZausfWY+HHRwRgjy5CpVTvUWqKLDWQPU2h1n+Fc8rgYh0Cmz0AnUQSfoOxtmAKVCrTF3b1ihB+Egky6A== 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=qwcDq8xtSp+SDt6R+czZDmBZtap1rqMcgJQxUfoxYtk=; b=SJHO0+xgEXAdP/aa2II9ZI8I4gadLJX0Tdo1/otyxlQnyr4MBUoBlSk3w5lYr3vfuhlNCUEXuuxRbqBiwfH3zlDei7znSMMqbdJZVzzMYEZpmAigup2NuJSqWR6/pakrDqFSaF77NCjFUkceUij0cZCcJ8b28iG1EHFmIbDerKtWq1YPHScAxeUSdWP0S0KKdBZJULIvz8/PRlVOviZJdvGhW5m/U0+QeDQ9AwpT8ZhhJlCkoS7r/im0oXGXIG8uJugg3+1szEaB42M+09wYcZF5KPfYzkd9DL8hC5rwcGRci32fodItV9QRl7xtFlS4IwLoOWJMIpyWHVXtXHJrwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qwcDq8xtSp+SDt6R+czZDmBZtap1rqMcgJQxUfoxYtk=; b=e/COknstBOdGT/8R0uSE17ALxbK6mWLJnKTYUQHqJAY/EDSmgWq5YmRgetaIkppvwSGAUaJ3oSWZ3Jtk/5m7XWwWX9Z2qyxAAmnRfNdd030kCAwc1hga5c0sJ+N11G0+wzsHu8KF9Cp+vesk5uFcEGUjLN3VR+8aquPWAmiXAdg= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5031.namprd11.prod.outlook.com (2603:10b6:510:33::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Mon, 30 Aug 2021 11:26:54 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%4]) with mapi id 15.20.4457.024; Mon, 30 Aug 2021 11:26:54 +0000 To: Kamaraj P , , Anatoly Burakov , David Marchand , Thomas Monjalon CC: , , , "techboard@dpdk.org" References: From: Ferruh Yigit X-User: ferruhy Message-ID: <66ba0b52-83bf-f7a0-aa79-66a267af32c4@intel.com> Date: Mon, 30 Aug 2021 12:26:48 +0100 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6P191CA0004.EURP191.PROD.OUTLOOK.COM (2603:10a6:6:28::14) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.206] (37.228.236.146) by DB6P191CA0004.EURP191.PROD.OUTLOOK.COM (2603:10a6:6:28::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17 via Frontend Transport; Mon, 30 Aug 2021 11:26:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9839608c-96f2-4b67-0604-08d96ba911ea X-MS-TrafficTypeDiagnostic: PH0PR11MB5031: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pxjzEL6P+8YujGtjfAPJ3urrc3R3phJE0MMbnMVLO7G0d3f099Sm6gQzWrZzposGXfz/k8Y+BhQ0UrWO6BAzAbERLKNKeWcw+5uM2cm7lF9mcgz6PSKYAx7dSFhUz3vq3V/YeMUze4/Nw3b9uB2sDL8F4zmPGEmec12NWhpEAbVL7IU4caHQ+0zF+WEDG6kt65FpYaufxJpvS3ygmE3hClPsulGYyvms+BpGocedZkGJjxgyLmUqV9SfdAB+0TOxljWeojohLDVHY7v1lgLcaQfu6SOdEIqXVsQCYaUfoD1AkUfxBqnD9fXNyuLR1icBrwnAd6ocEDHwY+QXuEzlVm9aY+6sqjCkbQAvKmHPHCSxGl4SbuqeM1l2W9nqL+ySOF7gmoEIw9j3rLDgMwqLQkjSrLcGpuYw0ypsdi0HjP+JyJtPWD+HkwqzQ6TURm9kVsM8xAS4afur3no12d8DCocjfCSFMHayot2V2+sNuCfFLQ0/pyb5ciW+PnXwG+FYQ+IRcNuPWHstwiikHDHdEVRSSx+UfiRHgaBMVtG4JgDwzTIlYkl+wBWUeI0PHBGBeim4njV3QH6IljIGShFf9g7JTO0d9KIFXkZkrGvP7qrG0AngVzwOjqlXkwYzgcEC7kC0gIN8sdapOXTwUKgI0riVEv2C3VFYbBSp5qpBxqDMnJLqqx6uLPTJ9vId59DUqTod2z1a3OTRuuQ9b78Ung== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(2906002)(508600001)(83380400001)(6666004)(44832011)(956004)(8676002)(6486002)(38100700002)(2616005)(5660300002)(8936002)(66946007)(66556008)(66476007)(26005)(86362001)(31696002)(316002)(186003)(16576012)(4326008)(110136005)(31686004)(36756003)(53546011)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N2NtaXgydDBxYkFaS3REZVViWG4xUzUyMVJVNlkyd3czUTViR2J0WG01QjVl?= =?utf-8?B?VS80Rmg4cmpNOUl6Yy92MEdqaVMrdTdJbmFUdkhyeVRaT0VGUjdRRmh6RU91?= =?utf-8?B?SDE4NXpVZVBQdjJuVW1La1pFVEs4L0xCd21lTlhtbjQwclVtQ3BXTXNSekZn?= =?utf-8?B?Wkl5dW5zazcrcHhlMGF5RzN0cmxxMjh3ZHordE0zejh1eGsrdXQ3ekE4RnVT?= =?utf-8?B?Zi93UThhRUdRUVJsZDZiUUpaVzRuMEtnMnJPdjdGRGFFV1BUc3U4MERpNnZB?= =?utf-8?B?RjBGRnNGeERxcS9FL2VyUmxTMHhzbS9sWC8yV3h4ZVgrRTlEUGgrRVJEOHZF?= =?utf-8?B?c1VlcGpMVU8wdklibGFJVi9Bai9JMHNhcjUxWDNWSklOQnh3RVp0eFZ4ZTc5?= =?utf-8?B?SGdJcDlmNC9YQmgrU28yN1paME5OOWt4WWFVVEd3U3N2YStOc3pHdDJmVFAx?= =?utf-8?B?TkpyOThiYUx1QXNLWjVxdHRKdi9jUVlLSEJwQXFKbFFmbFYxZkJHVEpBOWtI?= =?utf-8?B?eFZHWG5QbCsvalp2UGNkS3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bnArSDNDQnpGZlBOKyswN3RkRHRha3N5L0c1M2VvamhNRzJyVDZMSnBs?= =?utf-8?B?VWVoTkxudllYcWhCVWFRTEVITVpjSTFkUndOOWhEZW40NU5OSjkvN1RkZVF5?= =?utf-8?B?RTRBWkNISnFWanNqaU1RbzN0WEYvQkZ3TXlNdGlzc0J1TnJ5L0YyTGdHSXZ0?= =?utf-8?B?cWNCWkM5b09KTGoxQk5WQVp4M0JlQWFtMHV1QmVtQzdON1dROEtIdFBMNUhn?= =?utf-8?B?RWl0RVFoZE44M2h6WW1uZTJEQng0dUpnYTJiL25UYmFWclM1SUFlSUZzNVlV?= =?utf-8?Q?tDS4ijyPa9lVARB5jnndHI5tSfpC/rij+h9i5FO?= X-MS-Exchange-CrossTenant-Network-Message-Id: 9839608c-96f2-4b67-0604-08d96ba911ea X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2021 11:26:54.5543 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UszQrpI1VCkiBmUl2czz7C8AmOW6ftmXVfykU/BlOZOugHmof5MtAAvaM5w+It8xwfEa7t/S8KgSLIhbxYtPSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5031 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] Running DPDK application with non-previlege mode 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 Sender: "dev" On 8/30/2021 8:52 AM, Kamaraj P wrote: > Hello All, > Some more info. > We are using DPDK 19.11. > > When we bringup application with --security-opt seccomp=unconfined > option.. > THe application bringup successfully and didnt observe any error when DPDK > init logs. > Will that --security-opt seccomp=unconfined option recommended for > non-previlege mode for DPDK application ? > Please suggest. > + Anatoly, he may have experience on running on non-privilege mode. Thomas, David, What do you think documenting how to run as non root, we had similar question before, if memory serves me right Red Hat was looking for same thing at some point. If we are agree, perhaps we can find a volunteer in the tech board for it. > Thanks, > Kamaraj > > On Mon, Aug 30, 2021 at 1:07 PM Kamaraj P wrote: > >> Hello All, >> >> We are not able to run the DPDK allocation without using privilege option. >> >> Able to see the below erors: >> >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> EAL: FATAL: rte_service_init() failed >> Failed to init DPDK.set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> set_mempolicy: Operation not permitted >> Failed to create mbuf for pool DPDK_POOL_0 frame_len=2048 num_mbufs=13824 >> ret (Exec format error) >> >> BTW we are also enabling --iova-mode=va option as part DPDK init. >> >> Can anyone please throw some light on this ? >> >> Thanks, >> Kamaraj >>