OSDN Git Service

Merge branch 'bridge-mrp-Update-MRP_PORT_ROLE'
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 21:38:05 +0000 (14:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 21:38:05 +0000 (14:38 -0700)
commitf7fb92acd9e5606f6666bb0f9a7240002a6b3ff0
tree20a600442e4e86d13643d03771909596ce875f31
parent26ac10be3c80a26d03c950b7387c4b9566c260b6
parent7882c895b71b8cd6c81946fcc8e13d15a2841de7
Merge branch 'bridge-mrp-Update-MRP_PORT_ROLE'

Horatiu Vultur says:

====================
bridge: mrp: Update MRP_PORT_ROLE

This patch series does the following:
- fixes the enum br_mrp_port_role_type. It removes the port role none(0x2)
  because this is in conflict with the standard. The standard defines the
  interconnect port role as value 0x2.
- adds checks regarding current defined port roles: primary(0x0) and
  secondary(0x1).

v2:
 - add the validation code when setting the port role.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>