DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yan Freedland <YanF@Radware.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] VIRTIO indication
Date: Tue, 28 Oct 2014 17:21:37 +0000	[thread overview]
Message-ID: <CEFFBC011B3590479939EA0B9311D21526916E00@ILMB1.corp.radware.com> (raw)

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:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28 17:21 Yan Freedland [this message]
2014-10-28 17:27 ` Alex Markuze

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=CEFFBC011B3590479939EA0B9311D21526916E00@ILMB1.corp.radware.com \
    --to=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).