From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10073.outbound.protection.outlook.com [40.107.1.73]) by dpdk.org (Postfix) with ESMTP id EB4A81B4BC for ; Sat, 5 Jan 2019 10:45:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KbiX+SpLZ8Vgk2x21/V7J6NCcv/basJ7wOl9Ib/mYBE=; b=GHYywwwOw7GysFUBj2vD14BBs6NuE6yoKnSYDH0oQ8FZgU+1p6CGbWC0QLgwnevIGYMTfNrYu+gE/kDKyHKv5oDUO0ypoJithlcZm3hd9yhR3+9qh3vM9NqYjvN/f7fppQ2TgqvSOuX+wjrJcRo5ZZo8s/1tIGFJb3OPSf3OLwU= Received: from VI1PR05MB4574.eurprd05.prod.outlook.com (20.176.3.27) by VI1PR05MB5837.eurprd05.prod.outlook.com (20.178.123.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.9; Sat, 5 Jan 2019 09:45:51 +0000 Received: from VI1PR05MB4574.eurprd05.prod.outlook.com ([fe80::c156:2aaf:62f:fce3]) by VI1PR05MB4574.eurprd05.prod.outlook.com ([fe80::c156:2aaf:62f:fce3%5]) with mapi id 15.20.1495.005; Sat, 5 Jan 2019 09:45:51 +0000 From: Olga Shern To: Liwu Liu , "users@dpdk.org" Thread-Topic: [dpdk-users] Cannot run DPDK applications using Mellanox NIC under Hyper-V Thread-Index: AdSkfODz1RWVq9zwRwihx54f1SItJgAXnKXA Date: Sat, 5 Jan 2019 09:45:51 +0000 Message-ID: References: <0309079c2f954a509bf9f42dd43cef99@fortinet.com> In-Reply-To: <0309079c2f954a509bf9f42dd43cef99@fortinet.com> 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=olgas@mellanox.com; x-originating-ip: [87.69.52.168] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB5837; 6:PvYpw6DezcbDPApNq0F4axyBGgl0puclr1WE7/z6BmVTzcKJaDmtU/CCnrGRIJVInp5i/OjahqjaHb/Ydv8gR42vtH9MqUAfOJuldGvGIfSGUA9yoZrxTCRe0Lbf0aeUUYz5IVdasIpbuDSsoApDz5QnsK4LqWyj680pzCOQho9pjGtYK30CkiK7J9w7ixKXqPINnR2CHmX8ljW9Fvb4PmgcqBJlv20ct4B99bhU9GPiG06THaeGiBnqMvSrXZqHeCI20S5mbXbfTGo1eT/AglO5S75iGbMSBT8E1a6mIz8PbEidQ7mh7ruGURvtqXqzdEoccIw0YEbNcRKGiQzlmciYGNHbrhDpbmSY2w8Xvnko+3UZjV0AILzq/4m5hPQTYD/h+Vgp/e2nUcztDCaJuNjJ7cBadRfJ0TZA/+NE2/p2/dkKsmvEgUX8YPtdMFwPRJfalRqEZjcF7FNCLbd+3A==; 5:efE0inmi16XAJN6rB4s+mTz0K1T4YPOf2myb1kgnF7NUe5Bu0sJAAAUu3LqbLMa8xQf0g0jmQkqV4UGjO02PzT87ZyZUfLPGnC5LSDogttdk5EjTndy8CNVhQFGyMZ0nIcrLYwGIlUwqLiPGCJ+Sx5p1CbepEq4JHHCid+Cci9+4M08RXH5CU6wFSlItsXGudm/Mia1I9WT/x9V67tkcUA==; 7:/mkMvstyz3C5l78rKR7hRJCUut4IJTEAecbu431heDk1wcqGf5m+0xaR5yuOJz1arBkXl5CTFVgPIESV9ScFhUtu9Z+JJENw12X7uojmZ8qjStr9eziEy6aUD+jOKI3FqDbKDjgHrDfoRgmVvWonLw== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 5262ad91-0815-4d10-a64c-08d672f29441 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB5837; x-ms-traffictypediagnostic: VI1PR05MB5837: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR05MB5837; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB5837; x-forefront-prvs: 09086FB5C5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(136003)(39860400002)(346002)(199004)(13464003)(189003)(476003)(81166006)(2906002)(102836004)(5024004)(9686003)(256004)(486006)(53936002)(186003)(6306002)(14444005)(26005)(106356001)(71200400001)(66066001)(6246003)(71190400001)(68736007)(446003)(11346002)(105586002)(478600001)(8936002)(5660300001)(81156014)(316002)(966005)(7736002)(6116002)(3846002)(110136005)(74316002)(25786009)(14454004)(97736004)(575784001)(45080400002)(86362001)(76176011)(53546011)(6436002)(6506007)(33656002)(229853002)(99286004)(7696005)(305945005)(55016002)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB5837; H:VI1PR05MB4574.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: TVVvpx1ych3NPacJBLwpzk42GBviBzVVve3b4hRno7q452QM+DC4OpW8/Daa8uzxL8nxoRfWIUGZIz66W1zMS1E2YKxCp0D9WjYMbcr6iSUQmZIW868UcEMA6IWAoOU3LXDangEUYxBK1bFj6TRgRx6QlHMNdh1kuEcuq2B47okiCxzxFUIca9SlTfzCjMymLFLz5kJ+cRzu65VRxrqrBF4v8tl4kqkThwDlD/7nmwDQO+NMZd5P2l7fDPw6s51jry+25UCBEy3CkjNrGVfOXYWjAl0ECmOtVLP5vDwaPPCoK3i458uVS1aGm31lk0vc spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5262ad91-0815-4d10-a64c-08d672f29441 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2019 09:45:51.3285 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB5837 Subject: Re: [dpdk-users] Cannot run DPDK applications using Mellanox NIC under Hyper-V 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: Sat, 05 Jan 2019 09:45:53 -0000 HI Liwu,=20 Are you running your application on Azure VMs? Thanks, Olga -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of Liwu Liu Sent: Saturday, January 5, 2019 12:29 AM To: users@dpdk.org Subject: [dpdk-users] Cannot run DPDK applications using Mellanox NIC under= Hyper-V Hi Team, We used to have similar problem for Ubuntu 18.04 hypervisor and resolve= d by set log_num_mgm_entry_size=3D-1. (Refer to https://emea01.safelinks.pr= otection.outlook.com/?url=3Dhttps%3A%2F%2Fmails.dpdk.org%2Farchives%2Fusers= %2F2018-November%2F003647.html&data=3D02%7C01%7Colgas%40mellanox.com%7C= 0f967c6706714e2e992008d67294013a%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C1= %7C636822377359958550&sdata=3DAsxbxqWhKsGgMAMulz92p6SXzfPR%2FCxebrJ88fM= O%2B5k%3D&reserved=3D0 ) Somehow for Windows Servers with MLNX VPI, I do not know where to set suc= h and DPDK over MLX4 on linux vm has same failure of attaching flow. [ 374.568992] __mlx4_ib_create_flow: mcg table is full. Fail= to register network rule. size =3D 64 (out of memory error code) Would like to get your help on this. It seems to be the case that the P= F interface is not configured to trust VF interfaces to be able to add new = flow rules. Many thanks for help, Liwu *** Please note that this message and any attachments may contain confiden= tial and proprietary material and information and are intended only for the= use of the intended recipient(s). If you are not the intended recipient, y= ou are hereby notified that any review, use, disclosure, dissemination, dis= tribution or copying of this message and any attachments is strictly prohib= ited. If you have received this email in error, please immediately notify t= he sender and destroy this e-mail and any attachments and all copies, wheth= er electronic or printed. Please also note that any views, opinions, conclu= sions or commitments expressed in this message are those of the individual = sender and do not necessarily reflect the views of Fortinet, Inc., its affi= liates, and emails are not binding on Fortinet and only a writing manually = signed by Fortinet's General Counsel can be a binding commitment of Fortine= t to Fortinet's customers or partners. Thank you. ***=20