From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by dpdk.org (Postfix) with ESMTP id BE5A35A1F for ; Tue, 6 Oct 2015 09:36:02 +0200 (CEST) Received: by pacfv12 with SMTP id fv12so206417855pac.2 for ; Tue, 06 Oct 2015 00:36:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=WIyuZ7nsUlBQvnnm4KcjKi/7F8Y0fxN22oy6Aoi0Kh4=; b=FTDMLgxnbtjVdw+9M7YmAP8X9nOoSC6CswarJYPQFHLfUZ4umbr97R/P/Q7Rxq2MKg cn4nDBWKcBeGP36m8hECVF2IwIcW9JeMb00uziJ1qXEzPw9ZoEmIzkRUtpE9FByV+XIc FnVxZy5oWmDb3hTao674hK7QZTJ3mNisL2kpP4zJ223ND33tjhKJOInDnOt9NT8vsgMI P2u5ayjFgOYz0d2T8NjHDn2nzO8mx79g3altOJLr1krcaSOuxzcQR6INZPx40BMQqRuF X5Azzy6u2cZjE6GlULmWqdm2Q8XcTFdcBJVJmWVjT8afOq3cpEV0jjjZe8HmCvl7QDdX NgOQ== X-Gm-Message-State: ALoCoQn8P1TXO/b3qcw/R2mCSZiCeyg/S0KcJUtZN5sJCrY4L+m4gkIbRv0vKaoEzDYhJUi7VkFc X-Received: by 10.66.141.137 with SMTP id ro9mr44903889pab.41.1444116962143; Tue, 06 Oct 2015 00:36:02 -0700 (PDT) Received: from uryu.home.lan ([144.49.132.22]) by smtp.gmail.com with ESMTPSA id ih4sm15398803pbc.28.2015.10.06.00.36.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2015 00:36:01 -0700 (PDT) Date: Tue, 6 Oct 2015 08:35:55 +0100 From: Stephen Hemminger To: Chas Williams <3chas3@gmail.com> Message-ID: <20151006083555.72293697@uryu.home.lan> In-Reply-To: <1444058768-9208-1-git-send-email-3chas3@gmail.com> References: <1443798007-20122-1-git-send-email-3chas3@gmail.com> <1444058768-9208-1-git-send-email-3chas3@gmail.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] devargs: add blacklisting by linux interface name 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, 06 Oct 2015 07:36:03 -0000 On Mon, 5 Oct 2015 11:26:08 -0400 Chas Williams <3chas3@gmail.com> wrote: > diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h > index 83e3c28..852c149 100644 > --- a/lib/librte_eal/common/include/rte_pci.h > +++ b/lib/librte_eal/common/include/rte_pci.h > @@ -161,6 +161,7 @@ struct rte_pci_device { > struct rte_pci_resource mem_resource[PCI_MAX_RESOURCE]; /**< PCI Memory Resource */ > struct rte_intr_handle intr_handle; /**< Interrupt handle */ > struct rte_pci_driver *driver; /**< Associated driver */ > + char name[32]; Why not use IFNAMSIZ rather than magic constant here?