From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by dpdk.org (Postfix) with ESMTP id 761D2B3C0 for ; Tue, 26 Aug 2014 16:08:23 +0200 (CEST) Received: by mail-we0-f172.google.com with SMTP id x48so14917440wes.31 for ; Tue, 26 Aug 2014 07:12:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=yaaoJnF5uM/SmjCm32Nbk1TCDpu8GKziBmIuSs8xRZ0=; b=fiztdGwXwN1+PYvXBRClbIDM3Bij6SwY42KboBRzJPQ9ddSDVxAI88GlPpj3YVgrDg zc104KEWhTezWHnIWKCFxQcl0/bq3wIs4zRG97QzHHs8l3VczsdWuNp0/8g+Tbn1XccF bT9giSPDr2ggqNxTLyxY9opXMr0G83SIiZZa9BsHo+D5Wj+aJ+n6DPy5BUJfQ0l0iAdQ Hkop1cRNeg8buU+8hee9zAH+jDeUHRMQ9lv1aTEqyoph2QK5RjXazlkEuU9GTFqVLHrm RDbJIusvSL9Y7E0jMjJ9EqEW/TWeapNIQ1784DGzvWppzZVBTgjFAztfHHthqBfo+5HO 2pow== X-Gm-Message-State: ALoCoQn8fU1YEdcnewxCCS+Vgr0i+7jLb9vJjJb4hwZlSNAgJuV2duOt5zEQ3Ba5lOODREYEQud0 X-Received: by 10.194.63.205 with SMTP id i13mr16688139wjs.74.1409062343515; Tue, 26 Aug 2014 07:12:23 -0700 (PDT) Received: from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id cy9sm12568145wib.18.2014.08.26.07.12.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Aug 2014 07:12:22 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Tue, 26 Aug 2014 16:12:15 +0200 Message-Id: <1409062338-26477-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH 0/3] eal / bonding pmd cleanup 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: Tue, 26 Aug 2014 14:08:23 -0000 This patchset reworks the bonding pmd so that we don't need to modify the eal for this pmd to work. Basically, the arguments parsed at bond_init are stored in the bond private structure to be used at dev_configure time. If no argument are present, we suppose that the bonding api has been called. -- David Marchand David Marchand (3): bond: move param parsing in dev_configure Revert "eal: support link bonding device initialization" eal: probe pci devices at rte_eal_init time lib/librte_eal/bsdapp/eal/eal.c | 6 +-- lib/librte_eal/common/eal_common_dev.c | 58 +++++++++------------------ lib/librte_eal/common/eal_common_pci.c | 3 -- lib/librte_eal/common/include/eal_private.h | 7 ++++ lib/librte_eal/common/include/rte_dev.h | 14 +------ lib/librte_eal/linuxapp/eal/eal.c | 7 +--- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 33 +++++++++++---- lib/librte_pmd_bond/rte_eth_bond_private.h | 2 + 8 files changed, 57 insertions(+), 73 deletions(-) -- 1.7.10.4