All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregory Etelson <gregory at weka.io>
To: spdk@lists.01.org
Subject: [SPDK] SPDK & DPDK in one process
Date: Sat, 22 Oct 2016 21:19:48 +0300	[thread overview]
Message-ID: <39927348.Sr4AkxKEFZ@polaris> (raw)

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

Hello

I need to run DPDK networking and access NVMe device in the same process.

rte_eal_init() initializes network PMD drivers normally
But spdk_nvme_probe() activates network devices probe for the second time and rte exits with error.

To resolve this failure I register NVMe controller driver as DPDK PMD.
Now I can pass NVMe device PCI address to EAL initialization with `-w' parameter along with network devices
PMD template I use is attached below.

Is there another way to run DPDK and SPDK in the same process ? 

Regards,
Gregory

[-- Attachment #2: spdk_pmd.c.gz --]
[-- Type: application/gzip, Size: 850 bytes --]

             reply	other threads:[~2016-10-22 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-22 18:19 Gregory Etelson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-10-24 23:30 [SPDK] SPDK & DPDK in one process Walker, Benjamin
2016-10-25 20:53 Thomas Monjalon
2016-10-26 17:03 Gregory Etelson

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=39927348.Sr4AkxKEFZ@polaris \
    --to=spdk@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.