DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] How to access SR-IOV devices from a DPDK application executing in a Docker container?
@ 2020-02-27 20:49 Staffan Wiklund
  0 siblings, 0 replies; only message in thread
From: Staffan Wiklund @ 2020-02-27 20:49 UTC (permalink / raw)
  To: users

Hello

I wonder if you please can help me with a question related to execution of
a DPDK application in a Docker container?

In the DPDK documentation, Programmer's Guide, HowTo Guide, chapter 7, it
says
among other things "There are two use models of running DPDK inside
containers, as shown in Fig. 7.1"
Figure 7.1 shows two use models of running DPDK in a container. The first
use model is
called "slicing" where a DPDK application in a container access an SR-IOV
device directly
without using vSwitch or vRouter.

I wonder if you please can describe how this can be accomplished?
I wonder:

   1. Are there any specific requirements on the container so that it
   contains for example certain device drivers or fulfills any other specific
   requirement?
   2. If the PCI address of the SR-IOV VF device as seen in the host is
   provided to the DPDK application in the container, can this application
   access the SR-IOV VF device?
   3. Is there anything else that is needed to make it possible for a DPDK
   application in a Docker container to communicate via an SR-IOV VF device in
   the host?

Thanks in advance for your help
Staffan




<https://doc.dpdk.org/guides/howto/virtio_user_for_container_networking.html#figure-use-models-for-running-dpdk-in-containers>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 20:49 [dpdk-users] How to access SR-IOV devices from a DPDK application executing in a Docker container? Staffan Wiklund

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox