From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 1A9BC5323 for ; Mon, 27 Jan 2014 16:44:54 +0100 (CET) Received: by mail-wg0-f41.google.com with SMTP id n12so4340309wgh.0 for ; Mon, 27 Jan 2014 07:46:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=1KaZnjGceJdFgjes7DCvOhxacED6/o3hUoggcSLdoOw=; b=gIKk0fiLCcLCylJphaXARAwVh9Q7aaZ9WyixfPG15BDztnvbY09Tnv0A1rDJVYPArq PljsVv1r0AZVyPYfSjI9/83ZzY0/FSFGeKWm2v83CdJJlMZ3ZPgjzPkotloaVDNUUymZ kEtw29wB1hoGyVLgFa+mNfLn6xo9PfIf9Bd14+PBE41DgSFChdVAjbAGzJZ6UhRnR8Ba MUrVTmkB/7qnEkRQj97sK+34XEFhmg1ZG5cy8sEanYK1yKvzY2EJrd9qaXPPB4mnbfBp usvUKgnZCXkStlInCx0GQt5HHKYAv7IlcGmsLOCf0UdyfLYa2YgPTLYlSUav2+sgASLj Apgw== X-Gm-Message-State: ALoCoQkRmUFx6y+GiCLPmw/876FXLQp0MWlTj65SRIwsocjqPk9oh2n1XQR1qzLqXRcOadOj2/Ej X-Received: by 10.180.81.38 with SMTP id w6mr12316533wix.27.1390837571957; Mon, 27 Jan 2014 07:46:11 -0800 (PST) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id p1sm29955015wie.1.2014.01.27.07.46.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jan 2014 07:46:11 -0800 (PST) From: Thomas Monjalon Organization: 6WIND To: Mats Liljegren Date: Mon, 27 Jan 2014 16:46:09 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <1390569855-8557-1-git-send-email-liljegren.mats2@gmail.com> <1390569855-8557-2-git-send-email-liljegren.mats2@gmail.com> In-Reply-To: <1390569855-8557-2-git-send-email-liljegren.mats2@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201401271646.09633.thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 1/2] ethdev: introduce if_index in device info 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: Mon, 27 Jan 2014 15:44:54 -0000 24/01/2014 14:24, liljegren.mats2@gmail.com: > From: Mats Liljegren > > This field is intended for pcap to describe the name of the interface > as known to Linux. It is an interface index, but can be translated into > an interface name using if_indextoname() function. > > When using pcap, interrupt affinity becomes important, and this field > gives the application a chance to ensure that interrupt affinity is set > to the lcore handling the device. > > Signed-off-by: Mats Liljegren Acked and applied with a typo fixed. > + unsigned int if_index; /**< Index to bounded host interface, or 0 if none. s/bounded/bound/ Thank you -- Thomas