From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0087.outbound.protection.outlook.com [104.47.34.87]) by dpdk.org (Postfix) with ESMTP id 8AC8E2C31 for ; Thu, 18 Aug 2016 16:46:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector1-sonusnet-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Dr4Zk1lCsX/oDG8pLZZuMXl/aIA/hcHBBhJHQIrp8xA=; b=iMeVQAm4gVd10zZBt1eTIPBjKglIo4Qw7QYoJV8SEhBEWUYkr/J7vm36Bpg8vwiNv5j4ACtbHZyAgNhcek5rpqCQEX+zpburydxQYCL7SGflvRbnCfbGWeLq2M+cZDgzCydajOnKZ05wIwX9fF9GdHbZL5sHd43s7Byh4BBAgak= Received: from BN3PR0301MB1202.namprd03.prod.outlook.com (10.161.207.155) by BN3PR0301MB1204.namprd03.prod.outlook.com (10.161.207.16) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15; Thu, 18 Aug 2016 14:46:42 +0000 Received: from BN3PR0301MB1202.namprd03.prod.outlook.com ([10.161.207.155]) by BN3PR0301MB1202.namprd03.prod.outlook.com ([10.161.207.155]) with mapi id 15.01.0557.022; Thu, 18 Aug 2016 14:46:41 +0000 From: "Dey, Souvik" To: "dev@dpdk.org" Thread-Topic: VLAN with ixgbevf pmd Thread-Index: AdH5Xl4vmYNG2NRsT5KPeDgeMEN2Cw== Date: Thu, 18 Aug 2016 14:46:40 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sodey@sonusnet.com; x-originating-ip: [208.45.178.4] x-ms-office365-filtering-correlation-id: ecb21292-7f8d-4b6e-49eb-08d3c7767762 x-microsoft-exchange-diagnostics: 1; BN3PR0301MB1204; 6:syHIfB8uiWzLsDmLdhCoilBVolY9DMu6QfhBX3UxJrJk4rJQSEJZTltl/NINeAn6lSaVIE8UNmdWp+eEoBVR5nMfmMnPF+BawEZnV9YPcN+RBiOZkZkwnNRKynG/hv/6T0uHIin3GaaAPUEbh4q1mVwuUvkZgOqJLkuEpTnjsuRlnJ1MURViFKFQu7emxu3/krq7wIoXsmo0ff8R5Lu7mB49fzN6Ga91KjPei0tmoGZe/vmOTvqIg01sxn+Y3/Mpm3UOxbBPffVbNZFsHOK3bqEsgywhw7bRo7fMixQqsts=; 5:trxIALzC2BDsdsc9aofrO10RiGnXJGtmFKIriSCCiAG2RJ0M3C48okJ37C2cl3KjA/sW+QTFtgbPWoMxDAz+x70Zrz3cDGyGXD6KOSTSZ1hwpNuaCzIvSXfN8b2X/IWbgOs+PdTxF3UCKPcn6lYLzQ==; 24:1Zl0KKxhfTh863wxvaItCaANGEJqU3FnpOXqvo4zo41YclORHcQlpnUUDPK78xNlcJ4cmLv3F8W6lAq7YxkBSlYUfuRp8xpDXrOt7W9hfMQ=; 7:CTuOBIqCL5LQbYRmTLfFxAzO2qlj8A/nfCGXvWcF9CRAqQG8YIlnNOoPk7JMmMSpXEZdTGM2hYfJ8LYH5HAMCYiAiI+510tYMfqEy7+dAi9y4wK1gGnmA/DWGQn+d7FtcKS3lTC5dHB6rdMJF+bwXKCFtskJSLwZli8+W5h8N0tS10O7S5INbzHWqO7b6dSFOSQ5cJjgJ8gu4wXrh2BgBNG65eaON+l9rKq5cRgbl+XOP2HeXxYQ0RLYrd0WLVoO x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1204; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BN3PR0301MB1204; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1204; x-forefront-prvs: 0038DE95A2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(189002)(57704003)(92566002)(2351001)(8676002)(107886002)(189998001)(586003)(110136002)(9326002)(229853001)(450100001)(97736004)(19625215002)(2900100001)(122556002)(50986999)(3660700001)(81166006)(8936002)(3480700004)(5640700001)(5630700001)(66066001)(1730700003)(81156014)(19300405004)(5002640100001)(3280700002)(7116002)(2906002)(9686002)(106356001)(74316002)(2501003)(19580395003)(16236675004)(87936001)(68736007)(7736002)(10400500002)(76576001)(7696003)(86362001)(54356999)(6116002)(15975445007)(790700001)(33656002)(3846002)(99286002)(101416001)(102836003)(77096005)(105586002)(7846002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0301MB1204; H:BN3PR0301MB1202.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: sonusnet.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: sonusnet.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Aug 2016 14:46:41.0188 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1204 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] VLAN with ixgbevf pmd 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: Thu, 18 Aug 2016 14:46:45 -0000 Hi, I am trying to get tagged packets to work in SRIOV mode. I am using dpdk = 2.1 version with an application on KVM. The setup is as below: The same configuration works for untagged packets. Guest VM (Virtual Function/Created tagged kni interfaces)--- > KVM host (P= F/no tag on the VF ) -->Client server When the packet is tagged (vlan tag/id) the packet is sent from kni interf= ace to the application is it received with the tag and is also sent out to = the pmd. But the packets does not go out of the host. Neither any tagged pa= ckets are coming in from out to the application. The ol_flags is set to 0 i= n my application. Can someone let me know what I am missing? Do we need to do some specific c= onfiguration on the rx or tx ports for this ? Does the vlan id configured o= n the kni gets peculated down to the vf of the host too which is causing th= e issue ? Any help would be highly appreciated! -- Regards, Souvik