From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtps.tssg.org (smtps.tssg.org [87.44.7.195]) by dpdk.org (Postfix) with ESMTP id 4635F1E35 for ; Wed, 8 Aug 2018 12:30:14 +0200 (CEST) Received: from unknown (HELO [IPv6:2001:770:20:29:b0b0:41ee:ffcf:af23]) ([IPv6:2001:770:20:29:b0b0:41ee:ffcf:af23]) by smtps.tssg.org with ESMTP/TLS/DHE-RSA-AES128-SHA; 08 Aug 2018 11:30:12 +0100 X-IronPort-AV: E=Sophos;i="5.51,457,1526338800"; d="scan'208,217";a="8007524" To: users@dpdk.org From: Sidhant Hasija Message-ID: <252c1462-2086-bff3-febb-1f7c7b80b2f1@tssg.org> Date: Wed, 8 Aug 2018 11:30:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Error attaching dpdk ports to ovs 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: Wed, 08 Aug 2018 10:30:14 -0000 Hello dpdk-users, I am very much new to dpdk usage and development, and is eager to dive deep into it. My laptop has a Realtek NIC (RTL8101/2/6E), which going by the list of supported hardware pages is unsupported as also confirmed by the following error while starting ethtool application. Prior to starting the application, my ethernet card was successfully bound to vfio-pci module, and I also tested with binding to igb-uio module. EAL: Detected 4 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: VFIO support initialized Number of NICs: 0 EAL: Error - exiting with code: 1   Cause: No available NIC ports! Unable to move ahead due to NIC not being supported, I tried to setup ovs with dpdk. However, while attaching a port to ovs netdev bridge as written in the getting started guide, I get the following error. $ ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev $ ovs-vsctl add-port br0 brp1 -- set Interface  brp1 type=dpdk options:dpdk-devargs=0000:06:00.0 2018-08-08T10:09:33.136Z|00062|dpdk|ERR|EAL: Driver cannot attach the device (0000:06:00.0) 2018-08-08T10:09:33.136Z|00063|dpdk|ERR|EAL: No port found for device (0000:06:00.0) 2018-08-08T10:09:33.136Z|00064|netdev_dpdk|WARN|Error attaching device '0000:06:00.0' to DPDK 2018-08-08T10:09:33.136Z|00065|netdev|WARN|brp1: could not set configuration (Invalid argument) I tried with 2.9.2 and dpdk 17.11.0, as well with dpdk 18 and ovs master (2.10). I think the problem here is that I am trying to attach a physical interface to ovs bridge using its PCI address which is either not present or unsupported. It will be really helpful if you can please provide inputs on how to use dpdk without a physical interface and the direction to troubleshoot above ovs error. I dont have any specific use-case as yet, but just want to dive deep into dpdk and start learning. Many Thanks, Sidhant Hasija