From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by dpdk.org (Postfix) with ESMTP id A197D4C96 for ; Fri, 9 Nov 2018 16:16:20 +0100 (CET) Received: by mail-qk1-f176.google.com with SMTP id n12so2086778qkh.11 for ; Fri, 09 Nov 2018 07:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4TSkXVZCgHe4fWDPbgzpqkiyFomLhFLzWksY+0DkF2A=; b=Oxkmb22Dzeg8Za4w1lYbs70wcI8SQq8szbeNLcdcXPSOAkY96H4JHwqnhPjNCNFczN eCUvRr5VYPoJUKKZkAJ8RkObHed705DmejVcKpfSivTB/VbrENlFYHDqHOMdgT/y4wua G9thHAsge2yDySa8ikzJaLu1zaCU7f6bLIvatLXiVqDegCUe48t6hIeIdHuiQQ+M26f0 HJIhyyLfCaTRVuJWhuiHlwXff0TR5MMqPUL0tFCdNAb/2pbLciFq9rh/PAOHR9yH1kf7 ZvnWEeTvsnC9YWANFzDgVhBpQsAXPbdVrSV++nfNXevCpuE0SD3tvdNwps2QbfuilpNg ohww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4TSkXVZCgHe4fWDPbgzpqkiyFomLhFLzWksY+0DkF2A=; b=DqvZugWwFbJxQ44SX0Sh7Fw99t68iAenFo5+DBFhCJbn9Hl+vXEvf51dHhrYlF7zGV INlQ2pwS6DhPEGhYALXExUxuzBFiaJy3jDc+mp+cVN1aCpko8/2Fk8ThIapDGvTdHNq9 0Evj70y0bAUxVNXk+3UfEaHKRnhO6jU8NwEObolPO9EruzaQ/Zf2yy7GfVOkWtLeqFNc mBmylFS4n+8+X2O0TfDEK7zFHH5EThEyPHU9BJdHzt0f7C+Lv4JFVRTkm7L3u+3iEQEI GfaSah/KyDTTekPZg6SygcLYoZJ+JlSlicbGZUuFpS3fOEF/7f+TyWfC9cFxY3qN+yzv lv2A== X-Gm-Message-State: AGRZ1gKbcMjxPUiIk6sOXN2I3OuIOw1bxikCPo0F4FbTrgfKJ4GH8Wh/ mTSxmcIfQ3IRGI+XneB8jnwbT2n00PdI+780S912urFt X-Google-Smtp-Source: AJdET5fd/AOH35cxifZe5AvPqPl4OUvE7GTQvyZoOSESMRkRPUZY0hwARwylx3Nq2f6nvYH20s4fR91eIYljJy3IHa8= X-Received: by 2002:a37:b2c2:: with SMTP id b185mr8561222qkf.194.1541776579574; Fri, 09 Nov 2018 07:16:19 -0800 (PST) MIME-Version: 1.0 From: Andres Avila Date: Fri, 9 Nov 2018 10:16:07 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Refreshing list of available ports after initialization 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: Fri, 09 Nov 2018 15:16:20 -0000 Hi everyone, I am currently trying a specific scenario related to NIC bonding in DPDK. I am whitelisting two ports to be used in Active-Backup mode, but one of the ports is down when rte_eal_init is called during initialization. In our case, this gives us this warning message: PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -15 EAL: Releasing pci mapped resource for 0000:02:10.1 EAL: Calling pci_unmap_resource for 0000:02:10.1 at 0x7ff380008000 EAL: Calling pci_unmap_resource for 0000:02:10.1 at 0x7ff38000c000 EAL: Requested device 0000:02:10.1 cannot be used Due to this, the port is just ignored in the portlist available and the rte_eth_dev_count is set to 1 instead of 2 ports. I was wondering if there is any way to refresh the port list after initialization or is it only possible to do it by calling rte_eal_init again? Thanks, Andres