[dpdk-dev] [PATCH] pcap: Fix ethernet device's name for pcap port

2015-01-20 Thread Remi Pommarel
Ethernet device's data should contain the virtual device name for pcap port. This name is correctly set by rte_eth_dev_allocate() at initialization time, but it is directly lost. Signed-off-by: Remi Pommarel --- lib/librte_pmd_pcap/rte_eth_pcap.c | 1 + 1 file changed, 1 insertion(+)

[dpdk-dev] [PATCH] eal/common: Fix enabled core number with core list argument

2015-01-20 Thread Remi Pommarel
When using core list argument to define which core to enable (ie -l) the core_num field of the rte configuration is not updated the same way as using coremask. This causes rte_lcore_num() to yield different value from the one using coremask. Signed-off-by: Remi Pommarel --- lib/librte_eal