DPDK usage discussions
 help / color / mirror / Atom feed
From: Jasmine Sanghvi <jsanghvi@SonicWall.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] binding PF and VF to DPDK
Date: Mon, 28 Jan 2019 03:26:28 +0000	[thread overview]
Message-ID: <c8e49943e23b41ecbfae675135581809@SonicWall.com> (raw)

Hi:


Our environment:

DPDK Version: 18.02
Kernel: 4.14.56
NIC: XL710/i40e/i40evf
SRIOV (linux i40e driver version 2.7.11 / i40ef driver version 3.6.10)

On host, we create n VFs on the physical device, by setting
/sys/bus/pci/device/$PF/sriov_numvfs.

Our dpdk application that binds to these VFs and does some packet processing.
PF stays bound to Linux i40e driver. We are not using the Linux PF interface
for any other purpose.
Under continuous heavy load we find that our application stops receiving
traffic after a while.
dmesg displays a msg to the tune of "TX driver issue detected, PF reset issued".

Looking at the i40e linux driver code, it appears that i40e is detecting "Malicious
driver".  I don't see any way to disable "Malicious Driver Detection"
in i40e driver (no module parameter).

Alternative was to bind PF also to dpdk (igb_uio) and not start PF eth dev.
However when I bind PF to dpdk, all VFs disappear.

I tried binding PF before and after...same result.  After I bind PF to dpdk,
rte_eth_dev_count() only reflects PF and cannot get dev_info corresponding to
VFs.

My question is can PF and VFs be both bound to DPDK?


Thanks,

Jasmine

                 reply	other threads:[~2019-01-28  3:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=c8e49943e23b41ecbfae675135581809@SonicWall.com \
    --to=jsanghvi@sonicwall.com \
    --cc=users@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).