Verified in Noble and Jammy, with the following result:
-----------------------------------------------------------------------------------
ubuntu@localhost:~$ uname -a
Linux localhost.localdomain 6.8.0-1024-bluefield #28-Ubuntu SMP PREEMPT_DYNAMIC
Mon Jun 8 07:27:41 UTC 2026 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@localhost:~$ sudo ./test_multicast.py
=== Verification Suite for oob_net0 ===
[+] Found 3 configured multicast MAC(s) on oob_net0:
- 33:33:ff:08:8f:ba
- 33:33:00:00:00:01
- 01:00:5e:00:00:01
[+] Condition Met: Count <= 3 (3). Interface should filter specifically.
[+] Pass: ALLMULTI flag is not active (as expected).
[>] Starting Traffic Test Phase (Mode: SPECIFIC)...
-> Action: Sending traffic to configured MACs: ['33:33:ff:08:8f:ba',
'33:33:00:00:00:01', '01:00:5e:00:00:01']
-> Expectation: Traffic SHOULD be permitted.
-> Action: Sending traffic to an unconfigured/random multicast MAC.
-> Expectation: Traffic SHOULD be dropped.
[+] Traffic Test Phase Completed.
ubuntu@localhost:~$ for i in {1..6}; do
sudo ip maddr add 33:33:00:00:00:0$i dev oob_net0
done
ubuntu@localhost:~$ sudo ./test_multicast.py
=== Verification Suite for oob_net0 ===
[+] Found 8 configured multicast MAC(s) on oob_net0:
- 33:33:00:00:00:01
- 33:33:00:00:00:06
- 33:33:ff:08:8f:ba
- 01:00:5e:00:00:01
- 33:33:00:00:00:05
- 33:33:00:00:00:04
- 33:33:00:00:00:02
- 33:33:00:00:00:03
[+] Condition Met: Count > 3 (8). Interface must enter ALLMULTI mode.
[-] FAIL: Interface has > 3 multicast MACs but ALLMULTI flag is MISSING!
ubuntu@localhost:~$ ip link show oob_net0
3: oob_net0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether a0:88:c2:08:8f:ba brd ff:ff:ff:ff:ff:ff
altname enamlnxbf17i0
ubuntu@localhost:~$ sudo ifconfig oob_net0 allmulti
ubuntu@localhost:~$ ip link show oob_net0
3: oob_net0: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether a0:88:c2:08:8f:ba brd ff:ff:ff:ff:ff:ff
altname enamlnxbf17i0
ubuntu@localhost:~$ sudo ./test_multicast.py
=== Verification Suite for oob_net0 ===
[+] Found 8 configured multicast MAC(s) on oob_net0:
- 33:33:00:00:00:02
- 33:33:00:00:00:06
- 33:33:00:00:00:04
- 33:33:ff:08:8f:ba
- 33:33:00:00:00:01
- 01:00:5e:00:00:01
- 33:33:00:00:00:05
- 33:33:00:00:00:03
[+] Condition Met: Count > 3 (8). Interface must enter ALLMULTI mode.
[+] Pass: ALLMULTI flag is explicitly ACTIVE on the interface.
[>] Starting Traffic Test Phase (Mode: ALLMULTI)...
-> Action: Sending traffic to multiple random multicast MACs.
-> Expectation: All multicast traffic SHOULD be permitted (ALLMULTI active).
[+] Traffic Test Phase Completed.
ubuntu@localhost:~$ sudo ifconfig oob_net0 -allmulti
ubuntu@localhost:~$ ip link show oob_net0
3: oob_net0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether a0:88:c2:08:8f:ba brd ff:ff:ff:ff:ff:ff
altname enamlnxbf17i0
ubuntu@localhost:~$ ip link show oob_net0
3: oob_net0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode
DEFAULT group default qlen 1000
link/ether a0:88:c2:08:8f:ba brd ff:ff:ff:ff:ff:ff
altname enamlnxbf17i0
ubuntu@localhost:~$ sudo ifconfig oob_net0 multicast
ubuntu@localhost:~$ ip link show oob_net0
3: oob_net0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether a0:88:c2:08:8f:ba brd ff:ff:ff:ff:ff:ff
altname enamlnxbf17i0
ubuntu@localhost:~$ ip link show oob_net0
3: oob_net0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc fq_codel
state UP mode DEFAULT group default qlen 1000
link/ether a0:88:c2:08:8f:ba brd ff:ff:ff:ff:ff:ff
altname enamlnxbf17i0
ubuntu@localhost:~$ sudo ifconfig oob_net0 -allmulti
ubuntu@localhost:~$ ip link show oob_net0
3: oob_net0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether a0:88:c2:08:8f:ba brd ff:ff:ff:ff:ff:ff
altname enamlnxbf17i0
ubuntu@localhost:~$
----------------------------------------------------------------------------------------------------
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151223
Title:
mlxbf_gige: interface defaults to ALLMULTI mode
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2151223/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs