git: c424e27b7418 - main - mlx5en: allow userspace to enable/disable allmutli mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Sep 2026 14:12:42 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=c424e27b7418016ba5acaf430169f065f7891ec7
commit c424e27b7418016ba5acaf430169f065f7891ec7
Author: Vag Singh <vag.singh@oneconvergence.com>
AuthorDate: 2025-08-12 02:59:29 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-09-16 14:12:06 +0000
mlx5en: allow userspace to enable/disable allmutli mode
[PATCH 05/31] FreeBSD OFED support for DPDK MLX5 PMD
FreeBSD doesn’t allow userspace to send ioctl call for
configuring allmulti mode. Added ALLMULTI flag in mlx5en.
In MLX5 PMD, allmulti mode will be enabled/disabled in DPDK
only if allmulti is supported by the mlx5en. it won't be changed
on network interface side.
Differential revision: https://reviews.freebsd.org/D32179
MFC after: 1 month
---
sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
index 6d8e1ba41709..ed1b59da1049 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
@@ -4646,7 +4646,8 @@ mlx5e_create_ifp(struct mlx5_core_dev *mdev)
if_initname(ifp, "mce", device_get_unit(mdev->pdev->dev.bsddev));
if_setmtu(ifp, ETHERMTU);
if_setinitfn(ifp, mlx5e_open);
- if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
+ if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
+ IFF_ALLMULTI);
if_setioctlfn(ifp, mlx5e_ioctl);
if_settransmitfn(ifp, mlx5e_xmit);
if_setqflushfn(ifp, if_qflush);