From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by dpdk.org (Postfix) with ESMTP id E2B777E80 for ; Tue, 28 Oct 2014 18:18:13 +0100 (CET) Received: by mail-lb0-f177.google.com with SMTP id 10so1029599lbg.22 for ; Tue, 28 Oct 2014 10:27:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5WukkguS7aVHW6Pzgs0W4CNInvzPWdJ2J+tsxc90joA=; b=ZSCXClNbSU9r4QyaHDuvnxPMk29LdmU6tYOdk0VGv6hhKttMqIyR1RZTa09BF0Nk6M 8FKPl1XCLp/FsNKvGR+75q7VUZUMrbJK3wUUP+MEgIoCRhzqgqmvQqY6HbulBWph7KRz 7wD1i9p4+rxeA1AcTvrkyZwUbvCrFkIEzzveQNCn+EcCponDUGkKVUWbtlJsqqUSj3ZU hZhLPtEImhzcErBcoyInh4LV68JYDyQntuGWW/ysSHSPkEdkTD+KKYcNcktKlZMtlEJ1 /EXQIk+wm14vZy7BZ0+HiyBbWmTBA1BmOJ9KSHrywyO0DdYfweKaJS+09m+vXCk1adxv pWMQ== X-Gm-Message-State: ALoCoQn/2TdE8d/Fu5r2DfHCZaXZFhZkyk54ILjCjCOzuLcWPg63KDX1dQ+AaxpFIo0JWMhbkD8M MIME-Version: 1.0 X-Received: by 10.152.3.168 with SMTP id d8mr5642901lad.34.1414517221496; Tue, 28 Oct 2014 10:27:01 -0700 (PDT) Received: by 10.25.215.141 with HTTP; Tue, 28 Oct 2014 10:27:01 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Oct 2014 19:27:01 +0200 Message-ID: From: Alex Markuze To: Yan Freedland Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] VIRTIO indication X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 17:18:14 -0000 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 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 > >