From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44335A034F for ; Wed, 5 May 2021 07:56:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B66A640040; Wed, 5 May 2021 07:56:21 +0200 (CEST) Received: from mail.noida.interrasystems.com (mail.noida.interrasystems.com [14.141.65.140]) by mails.dpdk.org (Postfix) with ESMTP id 26DD54003C for ; Wed, 5 May 2021 07:56:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.noida.interrasystems.com (Postfix) with ESMTP id A870EA26DCE for ; Wed, 5 May 2021 11:26:18 +0530 (IST) Received: from mail.noida.interrasystems.com ([127.0.0.1]) by localhost (mail.noida.interrasystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id FLtH8pxqR7fd for ; Wed, 5 May 2021 11:26:18 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail.noida.interrasystems.com (Postfix) with ESMTP id 1DAC1DC153A for ; Wed, 5 May 2021 11:26:18 +0530 (IST) X-Virus-Scanned: amavisd-new at noida.interrasystems.com Received: from mail.noida.interrasystems.com ([127.0.0.1]) by localhost (mail.noida.interrasystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sdpWB_yanRyr for ; Wed, 5 May 2021 11:26:17 +0530 (IST) Received: from [192.168.12.204] (unknown [192.168.12.204]) by mail.noida.interrasystems.com (Postfix) with ESMTPSA id EDBAAA26DCE for ; Wed, 5 May 2021 11:26:16 +0530 (IST) To: users@dpdk.org From: Ramandeep Sandhu Message-ID: Date: Wed, 5 May 2021 11:26:42 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] Unable to capture VLAN tagged Mcast packets using DPDK X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hello Experts, We are capturing Multicast UDP streams using DPDK and need help with capturing the multicast packets coming on a VLAN trunk port. The pNIC(Intel x710) on our Linux server is connected to a trunk port on the switch and is thus receiving packets from 2 VLANs. Our Linux server has CentOS installed on the bare metal (/no hypervisor is being used/). In normal case of non-VLAN traffic, we bind the physical NIC with DPDK and create a KNI port(with a well defined IP) for it (/KNI is required for making mutlicast join request and without KNI port we are not able to make join requests/). enter image description here For VLAN traffic, the physical port of our server is connected to a trunk port on the switch. On the Linux server, we have configured two VLAN interfaces pNIC.10 and pNIC.20 receiving packets from VLAN 10 and 20 respectively (/referredhttps://www.linuxtechi.com/vlan-tagged-nic-ethernet-card-centos-rhel-servers/ /). The problem we are facing is that we are unable to capture multicast packets over a VLAN tagged port that has data coming from multiple VLANs. Needless to say, the two VLANs have different subnets. We want to capture multicast data coming from both 172.16.1.x and 172.16.2.x using a single physical port on our Intel x710 NIC. In this case, we still need to bind the physical port with DPDK as binding happens for a PCI device id (/the VLAN IFs do not have a PCI id/). However, we are not able to figure out what and how many KNI ports to create. Have tried creating two KNI ports - one per VLAN ID and this did not work for us. The KNI ports could not be enabled in this case. Any help will be greatly appreciated !! -- Thanks & Regards Ramandeep Sandhu Digital Media Group, Interra Systems. Email : rsandhu@interrasystems.com Ph : +91-9810980200, skype : san.raman http://www.interrasystems.com