lkml.org 
[lkml]   [2020]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH net-next 10/12] bridge: uapi: mrp: Extend MRP_INFO attributes for interconnect status
    Date
    Extend the existing MRP_INFO to return status of MRP interconnect. In
    case there is no MRP interconnect on the node then the role will be
    disabled so the other attributes can be ignored.

    Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
    ---
    include/uapi/linux/if_bridge.h | 5 +++++
    1 file changed, 5 insertions(+)

    diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
    index 722b114959f66..a637755b7c2ef 100644
    --- a/include/uapi/linux/if_bridge.h
    +++ b/include/uapi/linux/if_bridge.h
    @@ -243,6 +243,11 @@ enum {
    IFLA_BRIDGE_MRP_INFO_TEST_INTERVAL,
    IFLA_BRIDGE_MRP_INFO_TEST_MAX_MISS,
    IFLA_BRIDGE_MRP_INFO_TEST_MONITOR,
    + IFLA_BRIDGE_MRP_INFO_I_IFINDEX,
    + IFLA_BRIDGE_MRP_INFO_IN_STATE,
    + IFLA_BRIDGE_MRP_INFO_IN_ROLE,
    + IFLA_BRIDGE_MRP_INFO_IN_TEST_INTERVAL,
    + IFLA_BRIDGE_MRP_INFO_IN_TEST_MAX_MISS,
    __IFLA_BRIDGE_MRP_INFO_MAX,
    };

    --
    2.27.0
    \
     
     \ /
      Last update: 2020-07-06 11:40    [W:6.265 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site