From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 12181374 for ; Thu, 15 Jun 2017 15:54:51 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jun 2017 06:54:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,343,1493708400"; d="scan'208";a="1141576307" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.91]) ([10.237.220.91]) by orsmga001.jf.intel.com with ESMTP; 15 Jun 2017 06:54:48 -0700 To: Gowrishankar , Declan Doherty Cc: dev@dpdk.org, Chao Zhu , Thomas Monjalon , Adrien Mazarguil , Nelio Laranjeiro , Gaetan Rivet References: From: Ferruh Yigit Message-ID: Date: Thu, 15 Jun 2017 14:54:47 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/bonding: support bifurcated driver in eal cli using --vdev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 13:54:52 -0000 On 6/14/2017 11:49 AM, Gowrishankar wrote: > From: Gowrishankar Muthukrishnan > > At present, creating bonding devices using --vdev is broken for PMD like > mlx5 as it is neither UIO nor VFIO based and hence PMD driver is unknown > to find_port_id_by_pci_addr(), as below. > > testpmd --vdev 'net_bonding0,mode=1,slave=,socket_id=0' > > PMD: bond_ethdev_parse_slave_port_kvarg(150) - Invalid slave port value > () specified > EAL: Failed to parse slave ports for bonded device net_bonding0 > > This patch adds RTE_KDRV_BIFURCATED in rte_kernel_driver for the PMD > driver like mlx5 to be a known one. > > Signed-off-by: Gowrishankar Muthukrishnan Patch is for bonding but changes are in eal and related to mlx support, so adding more developers may be interested.