mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
a806ad8ee2
commit
dc32cbb3db
@@ -20,6 +20,10 @@
|
||||
CFM_IF_STATUS_TLV_LENGTH)
|
||||
#define CFM_FRAME_PRIO 7
|
||||
#define CFM_CCM_TLV_OFFSET 70
|
||||
#define CFM_CCM_PDU_MAID_OFFSET 10
|
||||
#define CFM_CCM_PDU_MEPID_OFFSET 8
|
||||
#define CFM_CCM_PDU_SEQNR_OFFSET 4
|
||||
#define CFM_CCM_PDU_TLV_OFFSET 74
|
||||
#define CFM_CCM_ITU_RESERVED_SIZE 16
|
||||
|
||||
struct br_cfm_common_hdr {
|
||||
|
Reference in New Issue
Block a user