From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 44F0BA05D3 for ; Wed, 27 Mar 2019 12:29:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 238CC1B1A0; Wed, 27 Mar 2019 12:29:43 +0100 (CET) Received: from mail.rdp.ru (mail.rdp.ru [185.61.79.66]) by dpdk.org (Postfix) with ESMTP id 88C8E5424 for ; Wed, 27 Mar 2019 10:14:07 +0100 (CET) Received: from mail.rdp.ru (localhost [127.0.0.1]) by mail.rdp.ru (Postfix) with ESMTP id 127BC7C110A for ; Wed, 27 Mar 2019 09:14:07 +0000 (UTC) Authentication-Results: mail.rdp.ru (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=rdp.ru DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rdp.ru; h= content-language:content-transfer-encoding:content-type :content-type:mime-version:user-agent:date:date:message-id:to :subject:subject:from:from; s=dkim; t=1553678046; x=1554542047; bh=lqWkjE9m7Xj/rcNylZDequ2DwpRq8zujToOhrzGGOVU=; b=AJtdVP6Ld151 Ouc8NKUWoDouBxwEHhvRmsm0IUuKWkLqG4Hd9GR1kGYBIg+apTGYp06oB2buLB3p Y1Gc9kLroGLxz/3gEqWGYsjQWFTM1wAJeXZ1YVc21C763vKXeJE7Jg0W9WZ7V1v/ PmZIk84CuHcJUh0Yc8cP+83cOts/3Rk= X-Virus-Scanned: Debian amavisd-new at rdp.ru Received: from mail.rdp.ru ([127.0.0.1]) by mail.rdp.ru (mail.rdp.ru [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q5KmOIpBZRIT for ; Wed, 27 Mar 2019 09:14:06 +0000 (UTC) Received: from [10.210.10.70] (doom.rdp.ru [10.210.10.70]) by mail.rdp.ru (Postfix) with ESMTPSA id 65D267C025C for ; Wed, 27 Mar 2019 09:14:06 +0000 (UTC) From: Roman Novikov To: dev@dpdk.org Message-ID: <9fd54440-1f13-0507-36b0-8b9d7d8508fb@rdp.ru> Date: Wed, 27 Mar 2019 12:14:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Language: en-US X-Mailman-Approved-At: Wed, 27 Mar 2019 12:29:40 +0100 Subject: [dpdk-dev] VMDQ question X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190327091406.d_xnkaa_01jZEpJLpJ2Q_q6fdCt0937zRrFrSa3NwgM@z> Dear developers! I have some troubles with VDMQ configuring. Goal: I want to split physical port to 2 virtual depend on vlan.  I need rss (32 queues on each virtual port, and 32 queues for untagged packets) and keep LLDP, LACP/LAG functionality. so i need 3 Rss group, each 32 queues (Untagged, Vlan A, Vlan B) hardware and OS: Xeon E5 2695 v4, X710 4X10Gb (firmware 6.8), Ubunti server 18.04 LTS, dpdk 19.02 I am trying to configure VMDQ with rss. DPDK config  changes: CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=32 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=32 Then i configured 8 pools and all queues( queues, that i am not going to use i configured with pool, that i am not going to use (to save some memory)) Then i filled rte_eth_vmdq_rx_conf strcut. It has field "rx_mode", where i set 0 ( so i  set nither  ETH_VMDQ_ACCEPT_UNTAG  not ETH_VMDQ_ACCEPT_BROADCAST ); I expect, that i will have packets with vlan Tag A on queues 32-63,  with Tag B  qeueus 64-95 and UNTAG traffic on queues 0-31 with RSS. It works, but some packets appear on each pool , like ( Ether(dst= "ff:ff:ff:ff:ff:ff:ff")/IP(dst="255.255.255.255")). I looked in i40e driver code, and found, that driver ignore field "rx_mode". Questions 1. Is it bug? If Yes, when it will be fixed? 2. Has this case workaround ? (maby i can do it with vlan mirroring? ) If Yes, can you help me with configuration? ( I will be glad to have simple example with mirroring) 3. Maby i can fix it by myself? (so i need few words about, what should i do?