2020-08-06 20:39:29

by Karicheri, Muralidharan

[permalink] [raw]
Subject: [net-next iproute2 PATCH v4 0/2] iplink: hsr: add support for creating PRP device

This series enhances the iproute2 iplink module to add support
for creating PRP device similar to HSR. The kernel part of this
is already merged to net-next and the same can be referenced
at https://www.spinics.net/lists/linux-api/msg42615.html

v3 of the series is rebased to iproute2-next/master at
git://git.kernel.org/pub/scm/network/iproute2/iproute2-next
and send as v4.

Please apply this if looks good.

Murali Karicheri (2):
iplink: hsr: add support for creating PRP device similar to HSR
ip: iplink: prp: update man page for new parameter

ip/iplink_hsr.c | 19 +++++++++++++++++--
man/man8/ip-link.8.in | 9 ++++++++-
2 files changed, 25 insertions(+), 3 deletions(-)

--
2.17.1


2020-08-06 20:41:28

by Karicheri, Muralidharan

[permalink] [raw]
Subject: [net-next iproute2 PATCH v4 2/2] ip: iplink: prp: update man page for new parameter

PRP support requires a proto parameter which is 0 for hsr and 1 for
prp. Default is hsr and is backward compatible.

Signed-off-by: Murali Karicheri <[email protected]>
---
man/man8/ip-link.8.in | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index c6bd2c530547..367105b72f44 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -1404,7 +1404,8 @@ the following additional arguments are supported:
.BI slave1 " SLAVE1-IF " slave2 " SLAVE2-IF "
.RB [ " supervision"
.IR ADDR-BYTE " ] ["
-.BR version " { " 0 " | " 1 " } ]"
+.BR version " { " 0 " | " 1 " } ["
+.BR proto " { " 0 " | " 1 " } ]"

.in +8
.sp
@@ -1425,6 +1426,12 @@ Default option is "0", possible values 0-255.
- Selects the protocol version of the interface. Default option is "0", which
corresponds to the 2010 version of the HSR standard. Option "1" activates the
2012 version.
+
+.BR proto " { " 0 " | " 1 " }"
+- Selects the protocol at the interface. Default option is "0", which
+corresponds to the HSR standard. Option "1" activates the Parallel
+Redundancy Protocol (PRP).
+.
.in -8

.TP
--
2.17.1

2020-08-10 15:47:11

by Karicheri, Muralidharan

[permalink] [raw]
Subject: Re: [net-next iproute2 PATCH v4 0/2] iplink: hsr: add support for creating PRP device

iproute2 maintainers,

On 8/6/20 4:37 PM, Murali Karicheri wrote:
> This series enhances the iproute2 iplink module to add support
> for creating PRP device similar to HSR. The kernel part of this
> is already merged to net-next and the same can be referenced
> at https://www.spinics.net/lists/linux-api/msg42615.html
>
> v3 of the series is rebased to iproute2-next/master at
> git://git.kernel.org/pub/scm/network/iproute2/iproute2-next
> and send as v4.
>
> Please apply this if looks good.
>
> Murali Karicheri (2):
> iplink: hsr: add support for creating PRP device similar to HSR
> ip: iplink: prp: update man page for new parameter
>
> ip/iplink_hsr.c | 19 +++++++++++++++++--
> man/man8/ip-link.8.in | 9 ++++++++-
> 2 files changed, 25 insertions(+), 3 deletions(-)
>
Please merge this series to iproute2 as it is the missing piece
needed to fully support PRP protocol support in netdev subsystem. Kernel
part is already merged and expected to be in v5.9.x kernel.

Thanks
--
Murali Karicheri
Texas Instruments