From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from compass.polito.it (compass.polito.it [130.192.55.110]) by dpdk.org (Postfix) with ESMTP id 7719E3978 for ; Mon, 4 Jul 2016 11:03:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by compass.polito.it (Postfix) with ESMTP id 4B9241000D8 for ; Mon, 4 Jul 2016 11:03:15 +0200 (CEST) Authentication-Results: compass.polito.it (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=studenti.polito.it DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= studenti.polito.it; h=content-type:content-type:to:subject :subject:message-id:date:date:from:from:received:mime-version :received:received:received; s=y2k10; t=1467622991; bh=lOERBqq1l 4LD7zBIgR7CoKj+ekJO37gSTum3Zv0GOhA=; b=C64cv9fdoJ1aoqIAlFOoN2ljw ueiV105WGWBk1VW0IZvh9m3l+IDgDmmmEX756Y87uPW6O6LtwOALffF5YvzTq7tF jKwOHbJVoufBp/KsVJJo51mo6E+vqIGLKG+lwKh46vuOyuCv9crKliilrBsnItZk sMxQnLQNvuNJMnkOZM= X-Virus-Scanned: amavisd-new at studenti.polito.it X-Spam-Flag: NO X-Spam-Score: -5.943 X-Spam-Level: X-Spam-Status: No, score=-5.943 tagged_above=-100 required=3.5 tests=[ALL_TRUSTED=-5, AWL=0.556, BAYES_00=-1.5, HTML_MESSAGE=0.001] autolearn=ham Received: from compass.polito.it ([127.0.0.1]) by localhost (compass.polito.it [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id x3EYaWwI6nFc for ; Mon, 4 Jul 2016 11:03:11 +0200 (CEST) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: s203403@studenti.polito.it) by compass.polito.it (Postfix) with ESMTPSA id 57C431000C0 for ; Mon, 4 Jul 2016 11:03:11 +0200 (CEST) Received: by mail-lf0-f54.google.com with SMTP id l188so112991961lfe.2 for ; Mon, 04 Jul 2016 02:03:11 -0700 (PDT) X-Gm-Message-State: ALyK8tLfr/Twm4F3xil0UW5F4dEGZwqQC8fmNCyzMrVV6gEbwN/WRs0W2BI76ZG+9H1yMifK7j+JMAOV5Fk7pw== X-Received: by 10.25.23.72 with SMTP id n69mr3047255lfi.64.1467622990917; Mon, 04 Jul 2016 02:03:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.89.75 with HTTP; Mon, 4 Jul 2016 02:03:10 -0700 (PDT) From: =?UTF-8?Q?Mauricio_V=C3=A1squez?= Date: Mon, 4 Jul 2016 11:03:10 +0200 X-Gmail-Original-Message-ID: Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Redirect all packets to a specific VM pool 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: Mon, 04 Jul 2016 09:03:15 -0000 Hello, I have a setup with SR-IOV where I want to forward all the packets to a specific VM pool. I found that in some Intel NICs it is possible to set a field called default pool. (Flag DEF_PL within the PFVTCTL register). In order to setup this using DPDK, I used the default_pool field in the rte_eth_vmdq_rx_conf structure, something like this: .vmdq_rx_conf = { .nb_queue_pools = ETH_8_POOLS, .enable_default_pool = 1, .default_pool = 5, .nb_pool_maps = 1, .pool_map = {{0, 0},}, }, However it appears not to be working, all the packets are being forwarded to the host pool. Am I missing something? Is there a better approach to reach my goal? Thank you very much for your help. Mauricio V.