DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: Mats Liljegren <liljegren.mats2@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] How to debug packet sends to virtual functions
Date: Tue, 4 Feb 2014 13:40:19 +0000	[thread overview]
Message-ID: <C6ECDF3AB251BE4894318F4E45123697591F4D51@IRSMSX101.ger.corp.intel.com> (raw)
In-Reply-To: <CA+xJJ1_X2Z1p8QuDvTnVVJE78vGm3jCEnOOhxRuy49WsCVJgRQ@mail.gmail.com>

> -----Original Message-----
> From: Mats Liljegren [mailto:liljegren.mats2@gmail.com]
> Sent: Tuesday, February 04, 2014 1:04 PM
> To: Burakov, Anatoly
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] How to debug packet sends to virtual functions
> 
> Hi Anatoly,
> 
> Just realized that the instructions gave two alternatives for the
> host: DPDK igb_uio or ixgbe. It was the former, DPDK igb_uio that I was
> referring to as being the non-working alternative.
> 
> Loading ixgbe enables me to set the mac addresses. This is also what I tried
> previously, when I both got ixgbevf working in the guest as well as receive to
> work in DPDK in the guest. The problem is making transmit work in DPDK in
> the guest.
> 
> Regards
> Mats
> 
> 
Hi Mats

Technically, you can use igb_uio on the host as well (DPDK PMD supports creating virtual devices since at least release 1.5.0), it's just that you'll have to set everything up yourself inside your host DPDK application (you can't use "ip net" to set up VF devices if you're using DPDK drivers). Unfortunately, I'm not familiar enough with that part of the code to comment on what exactly you should do to make it work with igb_uio, but I can certainly ask around if you want.

I also noticed that you are running KVM with virsh. We always run our VM's by passing QEMU command line directly, without using virsh, so unfortunately I cannot be of much help here as I'm not familiar with virsh. Your best bet would be to get whatever parameters virsh passes to QEMU and modify them to suit your needs and according to DPDK documentation.

Best regards,
Anatoly Burakov
DPDK SW Engineer

--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare



  reply	other threads:[~2014-02-04 13:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29 17:56 Mats Liljegren
2014-01-31 18:30 ` Mats Liljegren
2014-02-03 11:13   ` Mats Liljegren
2014-02-04 10:08     ` Mats Liljegren
2014-02-04 10:26       ` jigsaw
2014-02-04 10:45         ` Mats Liljegren
2014-02-04 11:14           ` jigsaw
2014-02-04 11:31             ` Mats Liljegren
2014-02-04 12:11               ` jigsaw
2014-02-04 11:21           ` Burakov, Anatoly
2014-02-04 11:47             ` Mats Liljegren
2014-02-04 11:52               ` Burakov, Anatoly
2014-02-04 13:03                 ` Mats Liljegren
2014-02-04 13:40                   ` Burakov, Anatoly [this message]
2014-02-13 15:32                     ` Mats Liljegren
2014-02-13 15:39                       ` Burakov, Anatoly
2014-02-17 11:05                         ` Mats Liljegren
2014-02-17 12:11                           ` Burakov, Anatoly
2014-02-17 12:29                             ` Mats Liljegren
2014-02-17 14:35                               ` Mats Liljegren
2014-02-17 14:36                                 ` Burakov, Anatoly

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=C6ECDF3AB251BE4894318F4E45123697591F4D51@IRSMSX101.ger.corp.intel.com \
    --to=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=liljegren.mats2@gmail.com \
    /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).