]> git.proxmox.com Git - mirror_iproute2.git/commit
iplink: hsr: add support for creating PRP device similar to HSR
authorMurali Karicheri <m-karicheri2@ti.com>
Mon, 17 Aug 2020 21:17:36 +0000 (17:17 -0400)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 23 Aug 2020 04:14:12 +0000 (21:14 -0700)
commit68f027724b5fa0854b63d3346a38cb9c62fe1493
tree2fae1018dc400182e6aa3aeff70334b0119a9f94
parent8e6bce735a132150c23503a55ea0aef55a01425f
iplink: hsr: add support for creating PRP device similar to HSR

This patch enhances the iplink command to add a proto parameters to
create PRP device/interface similar to HSR. Both protocols are
quite similar and requires a pair of Ethernet interfaces. So re-use
the existing HSR iplink command to create PRP device/interface as
well. Use proto parameter to differentiate the two protocols.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iplink_hsr.c