Skip to content

Commit e50e30b

Browse files
MeghanaMalladiTIcshilwant
authored andcommitted
feat(PRU-ICSS): Add Multicast+VLAN filtering documentation
Add documentation for multicast filtering for VLAN interfaces in dual EMAC and HSR offload mode for ICSSG driver. Signed-off-by: Meghana Malladi <[email protected]>
1 parent 6b15503 commit e50e30b

File tree

2 files changed

+66
-3
lines changed

2 files changed

+66
-3
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_Offload.rst

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ All multi-cast addresses not registered will be filtered out.
115115

116116
Multicast MAC address can be added/deleted using ip maddr commands or Linux socket ioctl SIOCADDMULTI/SIOCDELMULTI.
117117

118-
.. rubric:: Show muliticast address
118+
.. rubric:: Show multicast address
119119

120120
Show current list of multicast address for the HSR interface
121121

@@ -145,7 +145,7 @@ Example:
145145
inet6 ff02::1
146146
inet6 ff01::1
147147
148-
.. rubric:: Add muliticast address
148+
.. rubric:: Add multicast address
149149

150150
Add a multicast address
151151

@@ -217,7 +217,7 @@ Example: To add a multicast address and display the list in HSR and slave ports
217217
inet6 ff02::1 users 2
218218
inet6 ff01::1
219219
220-
.. rubric:: Delete muliticast address
220+
.. rubric:: Delete multicast address
221221

222222
Delete a multicast address
223223

@@ -288,6 +288,46 @@ slave intefaces.
288288
inet6 ff02::1 users 2
289289
inet6 ff01::1
290290
291+
.. rubric:: *Multicast Filtering for VLAN Interfaces*
292+
293+
Multicast filtering for VLAN interfaces is also supported.
294+
295+
Show current list of multicast address for the HSR VLAN interface
296+
297+
.. code-block:: console
298+
299+
ip maddr show dev <hsr_vlan_intf>
300+
301+
Example:
302+
303+
.. code-block:: console
304+
305+
# ip maddr show dev hsr0.5
306+
307+
Add multicast address for the HSR VLAN interface
308+
309+
.. code-block:: console
310+
311+
ip maddr add <multicast_mac_addr> dev <hsr_vlan_intf>
312+
313+
Example:
314+
315+
.. code-block:: console
316+
317+
# ip maddr add 01:80:c4:00:00:0e dev hsr0.5
318+
319+
Delete multicast address for the HSR VLAN interface
320+
321+
.. code-block:: console
322+
323+
ip maddr del <multicast_mac_addr> dev <hsr_vlan_intf>
324+
325+
Example:
326+
327+
.. code-block:: console
328+
329+
# ip maddr del 01:80:c4:00:00:0e dev hsr0.5
330+
291331
.. rubric:: Performance
292332

293333
This section describes the throughput and CPU usage metrics in the offload case

source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/PRU_ICSSG_Ethernet.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Features supported
4848
- XDP Native Mode and XDP Generic Mode
4949
- Cut Through forwarding
5050
- PHY Interrupt mode for ICSSG2
51+
- Multicast filtering support for VLAN interfaces
5152

5253
.. rubric:: **Features not supported**
5354

@@ -498,6 +499,28 @@ socket ioctl SIOCADDMULTI/SIOCDELMULTI.
498499

499500
# ip maddr del 01:00:5e:00:00:05 dev eth1
500501

502+
.. rubric:: **Multicast + VLAN**
503+
504+
Multicast MAC address can be added/deleted using *ip maddr* commands for vlan interfaces.
505+
506+
*Show multicast address for vlan interface*
507+
508+
.. code-block:: console
509+
510+
~# ip maddr show eth1.5
511+
512+
*Add multicast address for vlan interface*
513+
514+
.. code-block:: console
515+
516+
~# ip maddr add 01:00:5e:00:00:05 dev eth1.5
517+
518+
*Delete multicast address for vlan interface*
519+
520+
.. code-block:: console
521+
522+
~# ip maddr del 01:00:5e:00:00:05 dev eth1.5
523+
501524
|
502525
503526
Promiscous Mode

0 commit comments

Comments
 (0)