Skip to content

Commit 8891572

Browse files
committed
Fix crash bug of DPDK's driver when working on multi_process with AWS
1 parent c1a249e commit 8891572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpdk/drivers/net/ena/ena_ethdev.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,8 @@ static int eth_ena_dev_init(struct rte_eth_dev *eth_dev)
12781278

12791279
static int adapters_found;
12801280

1281-
memset(adapter, 0, sizeof(struct ena_adapter));
1281+
// Temporary modification for multi process
1282+
// memset(adapter, 0, sizeof(struct ena_adapter));
12821283
ena_dev = &adapter->ena_dev;
12831284

12841285
eth_dev->dev_ops = &ena_dev_ops;

0 commit comments

Comments
 (0)