From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id DE5371B222 for ; Thu, 12 Oct 2017 12:46:15 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id i124so12105531wmf.3 for ; Thu, 12 Oct 2017 03:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=N3FzVXPgepOx0Por8KjRsKfmUoQmTzcKEL1SI2x3MMY=; b=FEDoV0zeG4pNtSX3lnhwOFZAoOWPX4yVTOX2YxLhAOq/xo0g/xxJZZUM2jedKLll3+ HhW+/HqOt5lBC90//5dcDnUacBAz0xkswfdj0IVdwM8GveeXdyjMYqd3GrXOE5tEKzZB cUICJV5yntr4Y9IrI8kiZKTgnj0U7gvzGKfk2E6Ved2Qxs6HE+pyk7qauc8xSdQLm3SU zoXunt4dhStvDcybJj9YXfxo57GDAd/jfAJt8/xicNfR1VQpalynTC3RdGsAz9QgWLAX vbwLz1mnjetELQRiDwjL7PlLkhRzdrR8pSRpkUrm29Z/9ZmJ7cjPyYpsmVlp0JugPrKv 4JyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=N3FzVXPgepOx0Por8KjRsKfmUoQmTzcKEL1SI2x3MMY=; b=NAAbR9/Sj07OZM7OhIkOo0u4yW4s2ekHJA3wvQ26ssvg7/BAGDrxfEHb1P5BL+OPY/ VrIDyZLywbZMGPIs8ODvajDD+39e8lDgk3ZcrP+BuXnzoVVp5f+6bx2S8aeTuVBEusis 1qpDDPHadIipT4ECF+31UA+Tlw+z0wAn6tcC1dDCXUBZO1EpGcMFMG0puslb2ZNUzodS Cfk3tC1yrR1tAtXHlQl/+0phjqweOgDY/rZCNx6ePbBMQ9fSbJ9us5xJPmdhAOIjMLaE 9ty0lFUOpzLNNVf9CcUwsOhK/wpdy//id6KTo9BXKjS0RLbjonQi5fPPsnnylcihAY4V rrwA== X-Gm-Message-State: AMCzsaVgRVpLwFzCPyWcdQlsbQPD7YE5ccS0b3YsCm48qXOr8G6Atmdk iHpeo8QTNlI2DQ2WgAKaR0qdgL4M X-Google-Smtp-Source: AOwi7QDWDDw9EQZ7M95503MwgjBC+rjpHaEw9N1Of8hDKY9xoGDCbSEeWth/1nteAwBPbr+2sqie2A== X-Received: by 10.223.151.51 with SMTP id r48mr1692050wrb.164.1507805174986; Thu, 12 Oct 2017 03:46:14 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id z192sm16481146wmz.28.2017.10.12.03.46.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Oct 2017 03:46:14 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 12 Oct 2017 12:45:36 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v5 09/20] net/bonding: use local prefix for local function 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, 12 Oct 2017 10:46:16 -0000 Signed-off-by: Gaetan Rivet --- drivers/net/bonding/rte_eth_bond_args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_args.c b/drivers/net/bonding/rte_eth_bond_args.c index dea0265..e816da3 100644 --- a/drivers/net/bonding/rte_eth_bond_args.c +++ b/drivers/net/bonding/rte_eth_bond_args.c @@ -90,7 +90,7 @@ find_port_id_by_dev_name(const char *name) } static inline int -pci_addr_cmp(const struct rte_device *dev, const void *_pci_addr) +bond_pci_addr_cmp(const struct rte_device *dev, const void *_pci_addr) { struct rte_pci_device *pdev; const struct rte_pci_addr *paddr = _pci_addr; @@ -119,7 +119,7 @@ parse_port_id(const char *port_str) /* try parsing as pci address, physical devices */ if (pci_bus->parse(port_str, &dev_addr) == 0) { - dev = pci_bus->find_device(NULL, pci_addr_cmp, &dev_addr); + dev = pci_bus->find_device(NULL, bond_pci_addr_cmp, &dev_addr); if (dev == NULL) { RTE_LOG(ERR, PMD, "unable to find PCI device\n"); return -1; -- 2.1.4