From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id BEAF891B8 for ; Mon, 20 Jun 2016 12:21:56 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 20 Jun 2016 03:21:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,497,1459839600"; d="scan'208";a="1005782934" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.97]) ([10.237.220.97]) by fmsmga002.fm.intel.com with ESMTP; 20 Jun 2016 03:21:55 -0700 To: Gadre Nayan , users@dpdk.org References: From: Ferruh Yigit Message-ID: <5767C3C2.9010905@intel.com> Date: Mon, 20 Jun 2016 11:21:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-users] KNI Request handler not called for 10G cards X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 10:21:57 -0000 On 6/20/2016 10:59 AM, Gadre Nayan wrote: > The request RTE_KNI_REQ_CFG_NETWORK_IF does not get generated on an > admin link up/down command for 10G interfaces. > > Thanks > Nayan > > On Mon, Jun 20, 2016 at 3:14 PM, Gadre Nayan wrote: >> Hi dpdk users, >> >> The callback rte_kni_handle_request does not get called for 10G >> interfaces on Admin up/down commands (ifconfig vEth0 up/down), but >> works fine with 1G interfaces. >> >> Is this a known issue, if there any patch for this to work with 10G interfaces. >> >> Thanks Hi Nayan, That part should be independent from hardware, RTE_KNI_REQ_CFG_NETWORK_IF sent whenever kni_net_open() called. And ifconfig xxx up should cause kni_net_open() to be called. KNI is virtual interface, and rte_kni is driver for it, the request/response part is handled by rte_kni driver, so shouldn't differ if DPDK port is 1G or 10G. Do you debug and observe kni_net_open() not called or do you observe ifconfig up is not working? If observed second, perhaps the reason can be something else? Thanks, ferruh