From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com [209.85.216.46]) by dpdk.org (Postfix) with ESMTP id 4D6D9B6AE for ; Thu, 19 Feb 2015 23:22:33 +0100 (CET) Received: by mail-qa0-f46.google.com with SMTP id n4so9004497qaq.5 for ; Thu, 19 Feb 2015 14:22:32 -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=U/3jrEVPTrMSISgXBln+s6xcvAOazCkF4EAcb9FHrPI=; b=wlgjygz0HlpL/8cRH1cNNx4MSHNvJO+DkUJ5LIwvH3dm06fBmPwXmxLFCLIvZjh2Fq AiUHRxjuB1ikAWmjnQfM5JZ5mgLra/ynrxeGgzoCzpoYUJc8q33j+6vkiThqG5L3Sp8c byCdrTZSiPThfFGY7ydHK3+QhCvK+QY+O+CZGoY7wZQ8Mk7mO45hIatCZ0AkMbX3HzFN Ib/P9stEPfwsq364bBkk0CM0hP9uo8GEJ+3Mek5QcL2fVltyRf4HVcXo3hsFhg8G5Pjd AgY09q8o9tnYU5rsT2IZFcNjdbMUKLx7AIHGOto6R1ut/8B/OsZvkWKshzAOyNwu3hAm RG8g== MIME-Version: 1.0 X-Received: by 10.140.23.134 with SMTP id 6mr4250898qgp.84.1424384552813; Thu, 19 Feb 2015 14:22:32 -0800 (PST) Received: by 10.140.85.169 with HTTP; Thu, 19 Feb 2015 14:22:32 -0800 (PST) Date: Thu, 19 Feb 2015 22:22:32 +0000 Message-ID: From: Daniele Di Proietto To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-dev] Binding NICs while running DPDK app 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, 19 Feb 2015 22:22:33 -0000 Hi, I would like to implement a scenario like the following: - Some NICs are bound to the igb_uio driver - A DPDK application is started and it sends/receives packet to/from those NICs. - Another set of NICs are bound to the igb_uio driver. - The same DPDK application continues processing packets from the old NICs and starts processing packets from the new NICs as well. I have done some tests and the DPDK application sees the new NICs after a call to rte_eal_pci_probe(). Though I'm having some question: - Can I call rte_eal_pci_probe() whenever I want? Will it interfere with existing NICs' operations? (the documentation doesn't say much about that) - Will it work with DPDK 1.7 and DPDK 1.8? I'm asking because I've noticed that in DPDK 1.7 rte_eal_pci_probe() checks if a NIC is already registered, while in DPDK 1.8 this check has been removed. I've seen that there's some work towards proper hotplug support, but I was hoping to get the above (just adding, no removals) working with current DPDK releases. Thanks, Daniele Di Proietto