[dpdk-dev] VIRTIO indication

Alex Markuze alex at weka.io
Tue Oct 28 18:27:01 CET 2014


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 at 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
>
>


More information about the dev mailing list