From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-x234.google.com (mail-ee0-x234.google.com [IPv6:2a00:1450:4013:c00::234]) by dpdk.org (Postfix) with ESMTP id E5F639A for ; Wed, 8 Jan 2014 10:42:42 +0100 (CET) Received: by mail-ee0-f52.google.com with SMTP id d17so552272eek.11 for ; Wed, 08 Jan 2014 01:43:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=a8VEx9mznKOlpfzW9fSPHvWfW+EchUhwg4qatDwu9/4=; b=OL9HFkp+MtJ4yt/Yeqg/2Ek4Ef3yc9EyWYnCrW9a+baZaO/0kWc1ahBHZ/nAoXwZlp +u9kEI4jR92jcLWgiLp5baeS0QjstXmLGlZ3LZQEwCwdN0Znm3Uc/QAGj2vHUhw2wq9M HHvggOMcn7ZpMKoyIFgZEtpzYuZoDwc13bNavwfp3hNtA/3lEYiTktk7T2owo+4iFrHg 0M//ImM/DtZ4AxpZD6X5wvUlQtxOxxziPTlD42utat3RUaE8mx0k14jyrSL+LsHq75P0 jSDVexyuHgsGfBGxQep49EbgEl7vWdbIFIZZ98+nuv0U7anPEQmQVHRqKg/mq1ySXrsd l+Dw== MIME-Version: 1.0 X-Received: by 10.14.3.1 with SMTP id 1mr24996749eeg.94.1389174234682; Wed, 08 Jan 2014 01:43:54 -0800 (PST) Received: by 10.15.94.5 with HTTP; Wed, 8 Jan 2014 01:43:54 -0800 (PST) Date: Wed, 8 Jan 2014 10:43:54 +0100 Message-ID: From: Mats Liljegren To: Thomas Monjalon , stephen@networkplumber.org Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" Subject: [dpdk-dev] [PATCH 0/2] RFC v2: Introduce if_index field to struct rte_eth_dev_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: Wed, 08 Jan 2014 09:42:43 -0000 This is my second attempt. I have now splitted the patch into a generic and a pcap-specific. I also use interface index instead of interface name. Mats Liljegren (2): Introduce if_index field to struct rte_eth_dev_info pcap: Fill in if_index field for rte_eth_dev_info_get() calls lib/librte_ether/rte_ethdev.c | 1 + lib/librte_ether/rte_ethdev.h | 1 + lib/librte_pmd_pcap/rte_eth_pcap.c | 39 ++++++++++++++++++++++++++++++-------- lib/librte_pmd_pcap/rte_eth_pcap.h | 6 ++++-- 4 files changed, 37 insertions(+), 10 deletions(-) -- 1.8.3.2