Ena NIC can't work in multi processes,#244

dev
jfb8856606 2019-06-25 19:23:25 +08:00
parent 1743e020f9
commit 83c1cad8a5
1 changed files with 2 additions and 1 deletions

View File

@ -1603,7 +1603,8 @@ static int eth_ena_dev_init(struct rte_eth_dev *eth_dev)
static int adapters_found;
bool wd_state;
memset(adapter, 0, sizeof(struct ena_adapter));
// Temporary modification for multi process
//memset(adapter, 0, sizeof(struct ena_adapter));
ena_dev = &adapter->ena_dev;
eth_dev->dev_ops = &ena_dev_ops;