gazelle/0253-add-multicast-enable-in-dpdk_ethdev_init.patch
jiangheng a0c9b8b7d8 sync add multicast enable in dpdk_ethdev_init
(cherry picked from commit 10a49582c1f02fc59e3142067ede212f879e8c2d)
2023-06-20 20:11:55 +08:00

26 lines
627 B
Diff

From dd3d8211edce4dbf0550a3736b07d9fb96472897 Mon Sep 17 00:00:00 2001
From: kircher <majun65@huawei.com>
Date: Tue, 20 Jun 2023 17:35:34 +0800
Subject: [PATCH] add multicast enable in dpdk_ethdev_init
---
src/lstack/core/lstack_dpdk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lstack/core/lstack_dpdk.c b/src/lstack/core/lstack_dpdk.c
index 1dab9a3..f865d55 100644
--- a/src/lstack/core/lstack_dpdk.c
+++ b/src/lstack/core/lstack_dpdk.c
@@ -566,6 +566,8 @@ int32_t dpdk_ethdev_init(int port_id, bool bond_port)
}
}
+ rte_eth_allmulticast_enable(port_id);
+
return 0;
}
--
2.27.0