DPDK patches and discussions
 help / color / mirror / Atom feed
From: chetan bhasin <chetan.bhasin017@gmail.com>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] Can we run KNI under a container /Kubernetes POD
Date: Thu, 3 Jun 2021 11:20:07 +0530	[thread overview]
Message-ID: <CACZZ+Y4c7RU69mK7aSvJUJwMNeN1raWRUdi2MgcxTcpBv0P2jg@mail.gmail.com> (raw)
In-Reply-To: <CACZZ+Y5W=+2kysnoja2G4JRS7yjwhFvkqwhwcPnYi8Tqm0S=bw@mail.gmail.com>

Hi Dpdk Geeks,

I have tried bringing the dpdk KNI app on POD and facing the below issue .
Please suggest

EAL:   probe driver: 8086:154c net_i40e_vf

EAL: PCI device 0000:af:0c.2 on NUMA socket 1

EAL:   probe driver: 8086:154c net_i40e_vf

EAL: PCI device 0000:af:0c.3 on NUMA socket 1

EAL:   probe driver: 8086:154c net_i40e_vf

EAL: PCI device 0000:af:0c.4 on NUMA socket 1

EAL:   probe driver: 8086:154c net_i40e_vf

EAL: PCI device 0000:af:0c.5 on NUMA socket 1

EAL:   probe driver: 8086:154c net_i40e_vf

EAL: PCI device 0000:af:0c.6 on NUMA socket 1

EAL:   probe driver: 8086:154c net_i40e_vf

EAL: PCI device 0000:af:0c.7 on NUMA socket 1

EAL:   probe driver: 8086:154c net_i40e_vf

APP: Initialising port 0 ...

KNI: pci: 87:0c:07       8086:154c

*EAL: Error - exiting with code: 1*

*  Cause: Fail to create kni for port: 0*



*Command: *

*./kni -c 0x2000 -n 4 -- -p 0x1 -P --config="(0,13,13,13)"*



* Thanks,*

*Chetan*

On Fri, May 28, 2021 at 11:59 AM chetan bhasin <chetan.bhasin017@gmail.com>
wrote:

> Hello Everyone,
>
> We can run dpdk app with KNI on container with below options -
> * --network host --privileged* -v
> /sys/bus/pci/drivers:/sys/bus/pci/drivers -v
> /sys/kernel/mm/hugepages:/sys/kernel/mm/hugepages -v
> /sys/devices/system/node:/sys/devices/system/node -v /dev:/dev
>
> Is there any way we could run DPDK KNI without --network-host in
> privileged mode ?
>
> Please suggest
>
> Thanks,
> Chetan
>

      reply	other threads:[~2021-06-03  5:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28  6:29 [dpdk-dev] Can we run KNI under a container chetan bhasin
2021-06-03  5:50 ` chetan bhasin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACZZ+Y4c7RU69mK7aSvJUJwMNeN1raWRUdi2MgcxTcpBv0P2jg@mail.gmail.com \
    --to=chetan.bhasin017@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).