From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.oneaccess-net.com (mail2.belgium.oneaccess-net.com [91.183.184.101]) by dpdk.org (Postfix) with ESMTP id 0CAEE1B1C1 for ; Wed, 3 Oct 2018 17:26:43 +0200 (CEST) Received: from [10.0.21.143] (10.0.21.143) by mail.oneaccess-net.com (10.0.24.95) with Microsoft SMTP Server (TLS) id 14.3.389.1; Wed, 3 Oct 2018 17:26:42 +0200 From: John Sucaet To: Message-ID: <80d66c28-5914-632c-a9e9-9f98011bc5b8@oneaccess-net.com> Date: Wed, 3 Oct 2018 17:26:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: [dpdk-users] Receiving dot1Q frames on VF with I350 in SR-IOV X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2018 15:26:43 -0000 Hi, Our dpdk (17.05) application runs in a virtual machine (VM, qemu/kvm). One VF of a i350 NIC in SR-IOV mode (max_vfs=7) is provided to this VM. The host (Fedora 25) has the latest igb driver (5.3.5.20). We see a problem when trying to send or to receive frames with 802.1Q tagging. We send the VLAN tagged frames from the application with the VLAN header already inserted and want to receive frames without the VLAN header being stripped. We don't configure hw filtering (hw_vlan_filter = 0 in rxmode). We don't see any packet leaving the VM, unless we disable on the host vlan spoof checking (ip link set enp10s0f0 vf 0 spoofchk off). However on the rx side, tagged packets are not sent to the VF, but seen in a tcpdump on the PF. My questions: has this to do with vlan promiscuous mode which is not enabled by the igb driver? Is it possible to enable vlan promiscuous mode from the VM? If not, can I program the vlan filtering table from the VM? (is that with the function: rte_eth_dev_vlan_filter?) Can I disable vlan stripping/insertion from the VM? Thanks for any help John