From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mats Liljegren Subject: [PATCH 0/2] RFC v2: Introduce if_index field to struct rte_eth_dev_info Date: Wed, 8 Jan 2014 10:43:54 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Thomas Monjalon , stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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