* [PATCH net] bridge: uapi: mrp: Fix MRP_PORT_ROLE
@ 2020-06-17 11:32 Horatiu Vultur
2020-06-20 2:58 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Horatiu Vultur @ 2020-06-17 11:32 UTC (permalink / raw)
To: nikolay, davem, UNGLinuxDriver, linux-kernel; +Cc: Horatiu Vultur
Currently the MRP_PORT_ROLE_NONE has the value 0x2 but this is in conflict
with the IEC 62439-2 standard. The standard defines the following port
roles: primary (0x0), secondary(0x1), interconnect(0x2).
Therefore remove the port role none.
Fixes: 4714d13791f831 ("bridge: uapi: mrp: Add mrp attributes.")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
---
include/uapi/linux/mrp_bridge.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/uapi/linux/mrp_bridge.h b/include/uapi/linux/mrp_bridge.h
index 84f15f48a7cb1..bee3665402129 100644
--- a/include/uapi/linux/mrp_bridge.h
+++ b/include/uapi/linux/mrp_bridge.h
@@ -36,7 +36,6 @@ enum br_mrp_port_state_type {
enum br_mrp_port_role_type {
BR_MRP_PORT_ROLE_PRIMARY,
BR_MRP_PORT_ROLE_SECONDARY,
- BR_MRP_PORT_ROLE_NONE,
};
enum br_mrp_tlv_header_type {
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] bridge: uapi: mrp: Fix MRP_PORT_ROLE
2020-06-17 11:32 [PATCH net] bridge: uapi: mrp: Fix MRP_PORT_ROLE Horatiu Vultur
@ 2020-06-20 2:58 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-06-20 2:58 UTC (permalink / raw)
To: horatiu.vultur; +Cc: nikolay, UNGLinuxDriver, linux-kernel
Please send networking patches for review to netdev@vger.kernel.org
Thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-20 2:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 11:32 [PATCH net] bridge: uapi: mrp: Fix MRP_PORT_ROLE Horatiu Vultur
2020-06-20 2:58 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).