DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alex Markuze <alex@weka.io>
To: Yan Freedland <YanF@radware.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] VIRTIO indication
Date: Tue, 28 Oct 2014 19:27:01 +0200	[thread overview]
Message-ID: <CAKfHP0WT6rP7vQ91e=af9rOyWjbuDdVagOjM=3wzZu9sursLQQ@mail.gmail.com> (raw)
In-Reply-To: <CEFFBC011B3590479939EA0B9311D21526916E00@ILMB1.corp.radware.com>

Each device can tell you the driver name its bound to . This is enough to
have separate configuration paths for vmxnet/virtio/ixgbe/etc...

On Tue, Oct 28, 2014 at 7:21 PM, Yan Freedland <YanF@radware.com> wrote:

> Hi
>
> In my multi process system I need to support 2 modes of work: pass through
> and VIRTIO.
> I saw that in order to work in a VIRTIO mode I need to update the
> txq_flags (part of the rte_eth_txconf structure) as follows:
> .txq_flags = ETH_TXQ_FLAGS_NOMULTSEGS | ETH_TXQ_FLAGS_NOOFFLOADS
>
> In pass - through however, this parameter should remain 0 (default value).
> Apparently I need to update this parameter in runtime. Is there any flag
> that can give me any indication on a mode I am running in.
>
> Thank you,
> Yan
>
>

      reply	other threads:[~2014-10-28 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28 17:21 Yan Freedland
2014-10-28 17:27 ` Alex Markuze [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='CAKfHP0WT6rP7vQ91e=af9rOyWjbuDdVagOjM=3wzZu9sursLQQ@mail.gmail.com' \
    --to=alex@weka.io \
    --cc=YanF@radware.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).