[dpdk-dev] [PATCH] RFC: Introduce host_ifname field to struct rte_eth_dev_info

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jan 2 14:51:11 CET 2014


Hello,

04/12/2013 16:39, Mats Liljegren :
> The only place where I know which core will handle which pcap
> interface, is within my DPDK application. But DPDK did not save the
> host interface name anywhere, so it was nowhere to be found.
> 
> I created a patch for this, found below. Is this something that could
> be upstreamed?

Thank you for your patch.
I think it's a good idea to store OS ifname in rte_eth_dev_info.

Could you please split generic declaration and pcap implementation in 2 
patches ?

We should maybe keep ifname as variable name (you are using host_ifname and 
iface_name).

-- 
Thomas


More information about the dev mailing list