]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: cfm: Kernel space implementation of CFM. CCM frame RX added.
authorHenrik Bjoernlund <henrik.bjoernlund@microchip.com>
Tue, 27 Oct 2020 10:02:47 +0000 (10:02 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 30 Oct 2020 01:39:43 +0000 (18:39 -0700)
commite0bb8cff67d5bbfe8eda09e35bfcf25c3c497ef5
treea766f90d4364979a18fa957cc57180188c178f41
parent14fce85c85e3386cc4b3df1debc006b7d2ee6e99
bridge: cfm: Kernel space implementation of CFM. CCM frame RX added.

This is the third commit of the implementation of the CFM protocol
according to 802.1Q section 12.14.

Functionality is extended with CCM frame reception.
The MEP instance now contains CCM based status information.
Most important is the CCM defect status indicating if correct
CCM frames are received with the expected interval.

Signed-off-by: Henrik Bjoernlund <henrik.bjoernlund@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/cfm_bridge.h
net/bridge/br_cfm.c
net/bridge/br_private_cfm.h