From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id DAB4637B0 for ; Tue, 31 May 2016 22:31:58 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id a136so151031652wme.0 for ; Tue, 31 May 2016 13:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=WgmahrBeZcxzB9HD2ZgqDD8QPFZbypKg4iQvj58C9Eg=; b=OiXrBU9KS1FnLAAM0b3WV0SFIBkJg1a5t6J6l+yd65ozbqBFMh327OCMt6nrXk4J76 iuGZSq0IEKUp8bQrS4Le8N2/7H1CrYoEgUgorcbJaFIN4IadiZIUb+SIJ636jksgrG3r tmFif9QPv0/tkhNv599UAoQALHesrrSN0OylOo+i+CB98xKFkv+MOY5GtwWuhy9SVjaA C7eSiia/kFOTNkxib2RjXNwPResGLJCKqfN3jwzabc4If/rUTTCM25nx1hyMLfqTJOlv DWUCgxKZfYiOLebgf9CAUWcPIU1MjqUg2XG+kmTt6S0+oBO6HFA72/ur67UPbh7ItK/h tkdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=WgmahrBeZcxzB9HD2ZgqDD8QPFZbypKg4iQvj58C9Eg=; b=HRx5hFK9ISuSkTh5gurio92c495MWd1eDYjYd6A3Z0eeVZFV4Oh/Wb6CJFCrniLvsF aDuJOWxTayf44+7fFqjWxlBrEi20e13coHMwUGdscsOE9EsRHnDcqI4CC6GNSWsbxpqR KJsX5HdW7+rSZ0rI67ms8Uh/zYuMO+uVllGtya/Ry41ZNSSrv8v8tPYScu09GoJnBCwj 2yOQETEztn2H0CVGigy42Z5L0g/B9GhLJsMuvM9GW3iVrouJPkKfGjmDmKOm+s+jzXb/ A8so5AwaZAvud8LWMMeAFPyadIdBuEFdl6iB8pmgZ8aqJ+h0zxq4GLfX13Fbt668PcP0 9rbw== X-Gm-Message-State: ALyK8tIz/QtcPpl6c5TI7o44MEkWAo3vH8ljWHloJGAu8825l4zuwm9OcTYWB6W65Z5pGsr4ZWtBNvDV4ovNUg== MIME-Version: 1.0 X-Received: by 10.194.216.65 with SMTP id oo1mr31843226wjc.97.1464726718700; Tue, 31 May 2016 13:31:58 -0700 (PDT) Received: by 10.194.80.201 with HTTP; Tue, 31 May 2016 13:31:58 -0700 (PDT) Date: Tue, 31 May 2016 13:31:58 -0700 Message-ID: From: Michael Umansky To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] how to select correct queue/action that match VF device X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 20:31:59 -0000 Any help is greatly appreciated. I'm trying to use DPDK (16.04) over a VF device (ixgbe NIC, latest kernel driver too). create the VF device: # echo 1 > /sys/class/net/enp7s0f0/device/sriov_numvfs bind the VF device (07:10.0) in DPDK to vfio-pci turn on the flow director (on the parent PF device) # ethtool -K enp7s0f0 ntuple on now want to redirect specific traffic to queue that belongs to VF device created above # ethtool -U enp7s0f0 flow-type tcp4 dst-port 5555 action Q How do I determine the correct value for Q in above command? What's the relationship between VF generated device number (0, 1, etc) and NIC's PF's queue numbers assigned to that VF device? Are there DPDK API calls to determine and/or select the above programmatically? thanks Michael