]> 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)
commitdc32cbb3dbd7da38c700d6e0fc6354df24920525
treea766f90d4364979a18fa957cc57180188c178f41
parenta806ad8ee2aa7826b279c3f92c67956eb101ae42
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