All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/1] Support for VLAN interface over HSR/PRP
@ 2020-09-01 19:54 Murali Karicheri
  2020-09-01 19:54 ` [PATCH net-next 1/1] net: hsr/prp: add vlan support Murali Karicheri
  2020-09-02 16:14 ` [PATCH net-next 0/1] Support for VLAN interface over HSR/PRP Murali Karicheri
  0 siblings, 2 replies; 12+ messages in thread
From: Murali Karicheri @ 2020-09-01 19:54 UTC (permalink / raw)
  To: davem, kuba, netdev, linux-kernel, nsekhar, grygorii.strashko

This series add support for creating VLAN interface over HSR or
PRP interface. Typically industrial networks uses VLAN in
deployment and this capability is needed to support these
networks.

This is tested using two TI AM572x IDK boards connected back
to back over CPSW  ports (eth0 and eth1).

Following is the setup

                Physical Setup
                ++++++++++++++
                      
 _______________    (CPSW)     _______________
 |              |----eth0-----|               |
 |TI AM572x IDK1|             | TI AM572x IDK2|
 |______________|----eth1-----|_______________|


                Network Topolgy
                +++++++++++++++

                       TI AM571x IDK  TI AM572x IDK            

                                  
192.168.100.10                 CPSW ports                 192.168.100.20
             IDK-1                                        IDK-2
hsr0/prp0.100--| 192.168.2.10  |--eth0--| 192.168.2.20 |--hsr0/prp0.100
               |----hsr0/prp0--|        |---hsr0/prp0--|
hsr0/prp0.101--|               |--eth1--|              |--hsr0/prp0/101

192.168.101.10                                            192.168.101.20

Following tests:-
 - create hsr or prp interface and ping the interface IP address
   and verify ping is successful.
 - Create 2 VLANs over hsr or prp interface on both IDKs (VID 100 and
   101). Ping between the IP address of the VLAN interfaces
 - Do iperf UDP traffic test with server on one IDK and client on the
   other. Do this using 100 and 101 subnet IP addresses
 - Dump /proc/net/vlan/{hsr|prp}0.100 and verify frames are transmitted
   and received at these interfaces.
 - Delete the vlan and hsr/prp interface and verify interfaces are
   removed cleanly.

Logs for IDK-1 at https://pastebin.ubuntu.com/p/NxF83yZFDX/
Logs for IDK-2 at https://pastebin.ubuntu.com/p/YBXBcsPgVK/

Murali Karicheri (1):
  net: hsr/prp: add vlan support

 net/hsr/hsr_device.c  |  4 ----
 net/hsr/hsr_forward.c | 16 +++++++++++++---
 2 files changed, 13 insertions(+), 7 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-09-09 16:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 19:54 [PATCH net-next 0/1] Support for VLAN interface over HSR/PRP Murali Karicheri
2020-09-01 19:54 ` [PATCH net-next 1/1] net: hsr/prp: add vlan support Murali Karicheri
2020-09-04 15:45   ` Willem de Bruijn
2020-09-08 16:38     ` Murali Karicheri
2020-09-08 17:34       ` Willem de Bruijn
2020-09-02 16:14 ` [PATCH net-next 0/1] Support for VLAN interface over HSR/PRP Murali Karicheri
2020-09-02 22:29   ` Murali Karicheri
2020-09-04 15:52     ` Willem de Bruijn
2020-09-08 16:55       ` Murali Karicheri
2020-09-08 17:51         ` Willem de Bruijn
2020-09-08 18:50           ` Willem de Bruijn
2020-09-09 16:08           ` Murali Karicheri

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.