Re: [PATCH net-next v4 05/10] bridge: cfm: Kernel space implementation of CFM. CCM frame TX added.

From: Nikolay Aleksandrov
Date: Fri Oct 09 2020 - 17:50:04 EST


On Fri, 2020-10-09 at 14:35 +0000, Henrik Bjoernlund wrote:
> This is the second commit of the implementation of the CFM protocol
> according to 802.1Q section 12.14.
>
> Functionality is extended with CCM frame transmission.
>
> Interface is extended with these functions:
> br_cfm_cc_rdi_set()
> br_cfm_cc_ccm_tx()
> br_cfm_cc_config_set()
>
> A MEP Continuity Check feature can be configured by
> br_cfm_cc_config_set()
> The Continuity Check parameters can be configured to be used when
> transmitting CCM.
>
> A MEP can be configured to start or stop transmission of CCM frames by
> br_cfm_cc_ccm_tx()
> The CCM will be transmitted for a selected period in seconds.
> Must call this function before timeout to keep transmission alive.
>
> A MEP transmitting CCM can be configured with inserted RDI in PDU by
> br_cfm_cc_rdi_set()
>
> Signed-off-by: Henrik Bjoernlund <henrik.bjoernlund@xxxxxxxxxxxxx>
> Reviewed-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>
> ---
> include/uapi/linux/cfm_bridge.h | 39 ++++-
> net/bridge/br_cfm.c | 284 ++++++++++++++++++++++++++++++++
> net/bridge/br_private_cfm.h | 54 ++++++
> 3 files changed, 376 insertions(+), 1 deletion(-)
>

Acked-by: Nikolay Aleksandrov <nikolay@xxxxxxxxxx>