From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g2t2352.austin.hp.com (g2t2352.austin.hp.com [15.217.128.51]) by dpdk.org (Postfix) with ESMTP id 9FB625926 for ; Wed, 9 Jul 2014 22:13:17 +0200 (CEST) Received: from G2W4316.americas.hpqcorp.net (g2w4316.austin.hp.com [16.197.9.73]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g2t2352.austin.hp.com (Postfix) with ESMTPS id 4BC8C146 for ; Wed, 9 Jul 2014 20:13:39 +0000 (UTC) Received: from G2W4311.americas.hpqcorp.net (16.197.24.199) by G2W4316.americas.hpqcorp.net (16.197.9.73) with Microsoft SMTP Server (TLS) id 14.3.169.1; Wed, 9 Jul 2014 20:12:20 +0000 Received: from G2W2432.americas.hpqcorp.net ([169.254.6.242]) by G2W4311.americas.hpqcorp.net ([16.197.24.199]) with mapi id 14.03.0169.001; Wed, 9 Jul 2014 20:12:20 +0000 From: "Olson, Matt Lyle" To: "dev@dpdk.org" Thread-Topic: Running kni with low amount of cores Thread-Index: Ac+bsbTzVYFlsn5aQ9WbmDGiTxNUeQ== Date: Wed, 9 Jul 2014 20:12:20 +0000 Message-ID: <0262E9805BD2664BBA70725A838003031C86BD@G2W2432.americas.hpqcorp.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.193.232.24] 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-dev] Running kni with low amount of cores 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: Wed, 09 Jul 2014 20:13:18 -0000 Hello, I have two NIC devices and a quad core system that I'm trying to run kni on= . I would like to leave two cores for general use and two cores for kni. Wh= en run kni on just one of the ports, everything works fine and I can use th= at vEth normally. The exact command I run is this: ./kni -c 0x0c -n 2 -- -P= -p 0x1 -config=3D"(0,2,3)" But when I try to run kni on both ports, I can'= t find a configuration to make it work. Here's all the configs that I have = tried, but none of them seem to work properly, the same way as just a singl= e port: "(0,2,3), (1,2,3)" "(0,2,3), (1,3,2)" "(0,2,2), (1,3,3)". I'= m wondering if it is supposed to work this way, where each port needs its = own Tx and Rx core, or if there is a way to get around it. If it is suppose= d to work this way, would it be worth my time to edit the code to allow me = to have all Rx information dealt with on one core and all Tx on another? Thanks, Matt Olson