From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx01.mlp.com (mx01.mlp.com [204.212.175.37]) by dpdk.org (Postfix) with ESMTP id 4FCA014EC for ; Sun, 5 Feb 2017 18:34:33 +0100 (CET) IronPort-PHdr: =?us-ascii?q?9a23=3A5Ni3Ch9qFDo1Bv9uRHKM819IXTAuvvDOBiVQ1KB3?= =?us-ascii?q?2ugcTK2v8tzYMVDF4r011RmSDNmdtK8P0rKO+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1?= =?us-ascii?q?Ov71GonPhMiryuy+4ZPebgFHiTanY75/LBq6oRjNusUKnIBvNrs/xhzVr3VSZu?= =?us-ascii?q?9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnY?= =?us-ascii?q?UQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gy?= =?us-ascii?q?kFKjE56nnahMxugqxGvBKvqR9xw4/Ib46aL/dxZL/RcNcASGZdQspdSSpMCZ68?= =?us-ascii?q?YYsVCOoBOP5Vo4f7qVQUrBqxHxOsC/3pyj9LgX/6xbAx3OslEQ7cwQMrAtYCv3?= =?us-ascii?q?TTrNXvMKcdTPu7zLTSwjXFc/Na3Dnx45XPfx8upfGDR69/fdDXx0Y1FgLKlE+Q?= =?us-ascii?q?ppLjPzOW0eQAqGaa7+16VeKrlmEnshxxrSKpxscwkIXGmoUVylXd+Ch/3Y07Js?= =?us-ascii?q?W4RVZmbdK4CpddtCCXO5F4T888WW1ltiI3xqUbtZKnZiQHyI4ryhzfZvCdboSE?= =?us-ascii?q?/g/vWP6fIThmh39pZLeyihOz/EWjxODxWMy53VlEoydGj9XBs34N2h3O5sWET/?= =?us-ascii?q?Z98EWs1iyS2w3V9+pKO1o7lbDBJJ4k2rMwk50TvlndESLug0X2ibOWdl0j+ui1?= =?us-ascii?q?9+TrerXmqYGYN49zkgzwPaUhlcKiD+o6LAYDQXSX9Oum2LD/80P1WrJEgPssnK?= =?us-ascii?q?XDrJ/aIsEbqra4Aw9TzIkj9w6yAyq63NgCnnQKLUhJdRyZg4TzNVzDJOj0DfKl?= =?us-ascii?q?jFStlDdryerGPrrkApjVIXfDlK3ucqtn50Ba0gUyzMpQ54hKBbEHI/LzXVT8td?= =?us-ascii?q?LfDh8jNwy73v/nCMhn2YMYRWKDGLOWMKTXsVOQ/OIgP/GMZJMJuDb6M/Ul+uXu?= =?us-ascii?q?gmEjmV8GZqSmwIMXZ227Hvh8JEWZe3Xs0Z89FjJA8RclQfbxoFGaXT0VYGy9EO?= =?us-ascii?q?h0siwgBZi9JYvbSoPrh6aOinSVBJpTMypiA0KFC3rudILAE8kIYS7aYvBmiDgI?= =?us-ascii?q?bKWoTZNgn1n6igvzx/xDJ/jd4CAetpXLy99v4+HKiBg06Xp/CMHLgDLFdH19gm?= =?us-ascii?q?5dH2x+56t4u0Eoklo=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2H3BQDvYJdY/ycgVgpdHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgkSBNRCBEKMAjG6HOBqGCAKDIhUBAQEBAQEBAQEBAQKBB4IzGYJ?= =?us-ascii?q?RXgEVFVYmAQQbunImiwgBAQgCASWGTYlEgzKCMQWbZgGcW4Yvkww1gSFPhxOIT?= =?us-ascii?q?oEMAQEB?= X-IPAS-Result: =?us-ascii?q?A2H3BQDvYJdY/ycgVgpdHAEBBAEBCgEBFwEBBAEBCgEBgkS?= =?us-ascii?q?BNRCBEKMAjG6HOBqGCAKDIhUBAQEBAQEBAQEBAQKBB4IzGYJRXgEVFVYmAQQbu?= =?us-ascii?q?nImiwgBAQgCASWGTYlEgzKCMQWbZgGcW4Yvkww1gSFPhxOIToEMAQEB?= X-IronPort-AV: E=Sophos;i="5.33,338,1477972800"; d="scan'208,217";a="60506346" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from unknown (HELO EXUSHTC04.AD.MLP.com) ([10.86.32.39]) by smtp666.mlp.com with ESMTP; 05 Feb 2017 12:34:31 -0500 Received: from EXUSMBX02.AD.MLP.com ([fe80::6833:4381:f618:f7a1]) by EXUSHTC04.AD.MLP.com ([::1]) with mapi id 14.03.0248.002; Sun, 5 Feb 2017 12:34:31 -0500 From: "Lazarenko, Vlad (WorldQuant)" To: "'users@dpdk.org'" Thread-Topic: KNI drive without supported NICs? Thread-Index: AdJ/1hnyemCxBa6QQJ61Qksgd/d/Dw== Date: Sun, 5 Feb 2017 17:34:30 +0000 Message-ID: <790E2AC11206AC46B8F4BB82078E34F806276F93@EXUSMBX02.AD.MLP.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.5.75.101] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] KNI drive without supported NICs? 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: Sun, 05 Feb 2017 17:34:33 -0000 Gentlemen and gentleladies, I am trying to get the KNI working on my dev box. So I've loaded the rte_kn= i.ko module and made sure /dev/kni has correct permissions. But when I am t= rying to run the KNI example, it fails with "No supported Ethernet device f= ound" error: $ build/kni -n 4 -c 0xf0 -- -P -p 0x3 --config=3D"(0,4,6),(1,5,7)" EAL: Detected 24 lcore(s) EAL: PCI device 0000:01:00.0 on NUMA socket -1 EAL: probe driver: 8086:10d3 net_e1000_em EAL: Error - exiting with code: 1 Cause: No supported Ethernet device found My dev box does not in fact have supported NICs. But my understanding about= KNI was that it allows to access Linux network stack trough the KNI kernel= module, where applications create a virtual Ethernet devices (i.e. /sys/cl= ass/net/vEth*), thus there is no need for a real supported NIC or taking ov= er the entire NIC. On the other hand, the example application calls rte_eth_dev_count() first,= which in my case returns 0, and exits. Is my understanding about what KNI actually is wrong? Or am I missing somet= hing else? Thanks, Vlad ###########################################################################= ######## The information contained in this communication is confidential, may be subject to legal privilege, and is intended only for the individual named. If you are not the named addressee, please notify the sender immediately and delete this email from your system. The views expressed in this email are the views of the sender only. Outgoing and incoming electronic communicati= ons to this address are electronically archived and subject to review and/or di= sclosure to someone other than the recipient. ###########################################################################= ########