From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) by dpdk.org (Postfix) with ESMTP id 94A6B2E8A for ; Thu, 2 Jan 2014 10:31:19 +0100 (CET) Received: by mail-la0-f48.google.com with SMTP id n7so7058304lam.21 for ; Thu, 02 Jan 2014 01:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=x2lug50Np9U82IGG233aRKND2UqQsUgHUce5vq9g/Mo=; b=jvBMHkEg4DUuewCFb30qLFg0BcaPbqZTGHLo6GCkVR7gyzh7XWx7Mg64LoNgie4nd9 ATBgWeyptI2j8PpB1CII/q59K2WUVkzMvpcAP47itjhHpuRIq+7IHWDkZDvC7YqWyx9x 4n+hxJic2fcbxSc+ta4pqUXhIDrJ4olSoj/BGoU9pFrmyJZSoEPABz9H/sm8Jde8D6Sg r5loi+RFUTe9Ua5VMeQAajinUHFwbRNWYZq60OUoCEnShejlzMHYp9zTVbFpT/6uA4r6 1wo+mVgcIzExRx+/AtFObBbg9bFS+ptrE5lfZPNV1ii6F2tyoYOcA6h+rE5RfMC1Cn8Q nd0A== MIME-Version: 1.0 X-Received: by 10.152.163.69 with SMTP id yg5mr18554514lab.33.1388655149442; Thu, 02 Jan 2014 01:32:29 -0800 (PST) Received: by 10.114.191.232 with HTTP; Thu, 2 Jan 2014 01:32:29 -0800 (PST) Date: Thu, 2 Jan 2014 15:02:29 +0530 Message-ID: From: cr singh To: dev@dpdk.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] regarding KNI 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, 02 Jan 2014 09:31:20 -0000 hello devs, I am using DPDK 1.5.0 and trying to use KNI interface to measure throughput through it ------------------------------------------------------------------------------------------------------------ I have machine with 2 lcores and 2 physical interface, and in running kni sample application --config parameter we are supposed to give 1)port no, 2)lcore_rx, 3)lcore_tx, right? so can it be possible to give same lcore no. for both ports, like kni -c 0x3 -n 4 -- -P -p 0x3 --config"(0,0,1),(1,0,1)" As i have tried and after running this two interface vEth0 and vEth1 is created, but when i am giving ip with ifconfig to vEth1 then it is showing the below message ... SIOCSIFFLAGS: Timer expired, while i am able to bring up the the vEth0 interface successfully. ----------------------------------------------------------------------------------------------------- i am pasting some details which prints while running the application ... Checking link status .....done Port 0 Link Up - speed 1000 Mbps - full-duplex Port 1 Link Up - speed 1000 Mbps - full-duplex APP: Lcore 1 is writing to port 0 APP: Lcore 0 is reading from port 0 and here in last two line Lcore 1 and Lcore 0 is writting and reading for port 0 and may be therefore i am able to bring up the vEth0. and there is no core for port 1 so it is failing. --------------------------------------------------------------------------------------------------------- So my question is why can't we use same lcores for reading and writing for both ports, does DPDK restricts using same lcores for 2 ports (as it seems), and if so, then why?? Thanks in advance C R