summaryrefslogtreecommitdiff
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2020-11-24 11:25:25 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-26 00:33:35 +0300
commitbfd042321a7afa769c855c37f2bbe2703dc72ef2 (patch)
tree49ca55956872c3d1fe42d4961f26947406b9b902 /include/net/devlink.h
parentf460019b4c9e0389b932e1ca2c01b598c7ae769e (diff)
downloadlinux-bfd042321a7afa769c855c37f2bbe2703dc72ef2.tar.xz
bridge: mrp: Implement LC mode for MRP
Extend MRP to support LC mode(link check) for the interconnect port. This applies only to the interconnect ring. Opposite to RC mode(ring check) the LC mode is using CFM frames to detect when the link goes up or down and based on that the userspace will need to react. One advantage of the LC mode over RC mode is that there will be fewer frames in the normal rings. Because RC mode generates InTest on all ports while LC mode sends CFM frame only on the interconnect port. All 4 nodes part of the interconnect ring needs to have the same mode. And it is not possible to have running LC and RC mode at the same time on a node. Whenever the MIM starts it needs to detect the status of the other 3 nodes in the interconnect ring so it would send a frame called InLinkStatus, on which the clients needs to reply with their link status. This patch adds InLinkStatus frame type and extends existing rules on how to forward this frame. Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Link: https://lore.kernel.org/r/20201124082525.273820-1-horatiu.vultur@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions