[dpdk-dev] [PATCH v4 1/2] ethdev: introduce if_index in device info
thomas.monjalon at 6wind.com
Mon Jan 27 16:46:09 CET 2014
24/01/2014 14:24, liljegren.mats2 at gmail.com:
> From: Mats Liljegren <mats.liljegren at enea.com>
> 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 <mats.liljegren at enea.com>
Acked and applied with a typo fixed.
> + unsigned int if_index; /**< Index to bounded host interface, or 0 if none.
More information about the dev