mirror of https://github.com/F-Stack/f-stack.git
Fix crash bug of DPDK's driver when working on multi_process with AWS
This commit is contained in:
parent
c1a249e1a6
commit
8891572376
|
@ -1278,7 +1278,8 @@ static int eth_ena_dev_init(struct rte_eth_dev *eth_dev)
|
||||||
|
|
||||||
static int adapters_found;
|
static int adapters_found;
|
||||||
|
|
||||||
memset(adapter, 0, sizeof(struct ena_adapter));
|
// Temporary modification for multi process
|
||||||
|
// memset(adapter, 0, sizeof(struct ena_adapter));
|
||||||
ena_dev = &adapter->ena_dev;
|
ena_dev = &adapter->ena_dev;
|
||||||
|
|
||||||
eth_dev->dev_ops = &ena_dev_ops;
|
eth_dev->dev_ops = &ena_dev_ops;
|
||||||
|
|
Loading…
Reference in New Issue