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 BCA6FA034F; Mon, 30 Aug 2021 09:52:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4138B410FA; Mon, 30 Aug 2021 09:52:24 +0200 (CEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id AFFDC406A3 for ; Mon, 30 Aug 2021 09:52:23 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id c8so16903425lfi.3 for ; Mon, 30 Aug 2021 00:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XI7h2MgP04OmO1E90e0P+0Xl6SHVEZB4v2zIkV3dtj8=; b=HjX9UyZe9bMiLRykv45DQDrst/GLcxWalgnNSrVZFKgANqzFEZ/kPlxhBnaxxZYofi pRl0SFe4xqpmOod8wvKHJcuFHzFVQO8LSEfAQEBwlKawKS32w/pdxp7qs/Q1Do5OXLCO qDDxkdjZ4j83CUn6CkinSgp9RkSpsRhqNI/irbLhYqdgGa61CYpjpqt6FWUEvzPc8Ifu 2mb992LWHNpzQkpyvnoYI8GvzDBX6OT+B84cPS6I+Oqe/aDTPkXZfOuM6lg8wiSoxpwI mHDESr7ath437jmFWVFEuPnCwRv5AIHAnlQSjHwflvRMfu3tjkqx0XwZZh6wz/fQqyA7 pRtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XI7h2MgP04OmO1E90e0P+0Xl6SHVEZB4v2zIkV3dtj8=; b=foAsFRnm87AGl94Ig7y7SZoKwa15hq7mz/b2QxfjY55NLKxhQBNam3qHknoSucHiC4 JbE1+3/lku48Cwmskrgt+KZcy+mqVy3ElyQnnyUAH41aJfbBgtK47XlWPgavQdNEFDb5 5QB622keJbcDl10uIwT1GibcGw/sG3xdb7EAlCrgdo7UvMxGqKqrmicn2/UpOy9ZJ7r5 GL5tanYMhkr7dC/InRsmtyyDABI2XI4t9DrAIqPvQ1dGcgomo5UfWmvmM0gHUbGwdCTR JolyipAe1KkQsgaAIrKkQYnE0wFGNoFbdLnQzB5D7tlTADCTqqmjBeT3p2n2CCh3l6O0 54XQ== X-Gm-Message-State: AOAM530wZ4wIyWPx6+do6PCE94gaOPknmHDdqnxoFO/4ThH9LEcRh+hy Fgy2RGrpaWze7pKyhLjublkNrYuh+CJnH3+NUoFkVuE/m3s7Kw== X-Google-Smtp-Source: ABdhPJyMjnS+jz+5MKujkBmquTVADho9zRk0S+jH99tbhgD30A67lLcWZOQtTmucGA6un9Tg846cN5ytvefRNZ0jI7k= X-Received: by 2002:a19:7117:: with SMTP id m23mr16915788lfc.73.1630309942821; Mon, 30 Aug 2021 00:52:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kamaraj P Date: Mon, 30 Aug 2021 13:22:11 +0530 Message-ID: To: dev@dpdk.org Cc: ksimha@cisco.com, kalas@cisco.com, seveluch@cisco.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" 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. 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 >