pcap: fix build
The commit 83b4113693
(add unique name to devices) didn't compile if
CONFIG_RTE_LIBRTE_PMD_PCAP is enabled.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
bcc733c478
commit
ae7a7cd162
@ -719,7 +719,7 @@ rte_pmd_pcap_devinit(const char *name, const char *params)
|
||||
if (ret < 0)
|
||||
return -1;
|
||||
|
||||
return rte_eth_from_pcaps(pcaps.pcaps, 1, pcaps.pcaps, 1,
|
||||
return rte_eth_from_pcaps(name, pcaps.pcaps, 1, pcaps.pcaps, 1,
|
||||
numa_node, kvlist);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user