TLV value field.
The type is u8.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_bridge.h | 90 +++
include/uapi/linux/rtnetlink.h | 1 +
net/bridge/Makefile| 2 +-
net/bridge/br_cfm.c
.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_bridge.h | 6 ++
net/bridge/br_cfm_netlink.c| 161 +
net/bridge/br_netlink.c| 29 +-
net/bridge/br_private.h| 6 ++
4
This makes it possible to include or exclude the CFM
protocol according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/Kconfig | 11 +++
net/bridge/br_device.c | 3 +++
net/bridge/br_private.h
This EtherType is used by all CFM protocal frames transmitted
according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi
from Peer MEP.
The type is u32 (bool).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked
.
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
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 39
on each added Peer MEP.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 23 +++
net/bridge/Makefile | 2 +
net/bridge/br_cfm.c | 260
net/bridge
received with the expected interval.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 4 +
net/bridge/br_cfm.c | 269
net/bridge/br_private_cfm.h | 32
3 files
).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/br_cfm.c | 48
arding.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/br_device.c | 1 +
net/bridge/br_input.c | 33 -
net/bridge/br_mrp.c | 19 +++
net/bridge/br_private.h | 19 -
commit of MEP implementation
(Patch 4 out of 10)
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
Henrik Bjoernlund (10):
net: bridge: extend the process of special frames
bridge: cfm: Add BRIDGE_CFM to Kconfig.
bridge: uapi: cfm: Added EtherType used by the CFM protocol.
Thank you for the review. Comments below.
The 10/19/2020 09:21, Jakub Kicinski wrote:>
> On Mon, 19 Oct 2020 08:51:04 + Henrik Bjoernlund wrote:
> > Thank you for the review. Comments below.
> >
> > The 10/15/2020 10:34, Jakub Kicinski wrote:
> > >
> &g
Thank you for the review. Comments below.
The 10/15/2020 10:34, Jakub Kicinski wrote:
>
> On Thu, 15 Oct 2020 11:54:15 + Henrik Bjoernlund wrote:
> > + [IFLA_BRIDGE_CFM_MEP_CONFIG_MDLEVEL] = {
> > + .type = NLA_U32, .validation_type = NLA_VALI
This makes it possible to include or exclude the CFM
protocol according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/Kconfig | 11 +++
net/bridge/br_device.c | 3 +++
net/bridge/br_private.h
received with the expected interval.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 4 +
net/bridge/br_cfm.c | 269
net/bridge/br_private_cfm.h | 32
3 files
arding.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/br_device.c | 1 +
net/bridge/br_input.c | 33 -
net/bridge/br_mrp.c | 19 +++
net/bridge/br_private.h | 19 -
.
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
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 39
This EtherType is used by all CFM protocal frames transmitted
according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi
was not freed during error handling return.
-Removed unused struct definition.
-Changed bool to u8 bitfields for space save.
-Utilizing the NETLINK policy validation feature.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
Henrik Bjoernlund (10):
net: bridge: extend the
from Peer MEP.
The type is u32 (bool).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked
).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/br_cfm.c | 48
.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_bridge.h | 6 ++
net/bridge/br_cfm_netlink.c| 161 +
net/bridge/br_netlink.c| 29 +-
net/bridge/br_private.h| 6 ++
4
on each added Peer MEP.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 23 +++
net/bridge/Makefile | 2 +
net/bridge/br_cfm.c | 278
net/bridge
TLV value field.
The type is u8.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_bridge.h | 90 +++
include/uapi/linux/rtnetlink.h | 1 +
net/bridge/Makefile| 2 +-
net/bridge/br_cfm.c
Thanks for your review. Comments below.
Regards
Henrik
The 10/14/2020 15:58, Jakub Kicinski wrote:>
> On Mon, 12 Oct 2020 14:04:18 + Henrik Bjoernlund wrote:
> > Connectivity Fault Management (CFM) is defined in 802.1Q section 12.14.
> >
> > Connectivity Fault Ma
Thanks for your review. Comments below.
Regards
Henrik
The 10/14/2020 15:59, Jakub Kicinski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Mon, 12 Oct 2020 14:04:23 + Henrik Bjoernlund wrote:
> > + s
Thanks for your review. Comments below.
Regards
Henrik
The 10/14/2020 16:16, Jakub Kicinski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Mon, 12 Oct 2020 14:04:24 + Henrik Bjoernlund wrote:
> > +struct
Thanks for your review. Comments below.
Regards
Henrik
The 10/14/2020 16:30, Jakub Kicinski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Mon, 12 Oct 2020 14:04:22 + Henrik Bjoernlund wrote:
> > + if (c
Thanks for your review. Comments below.
Regards
Henrik
The 10/14/2020 16:26, Jakub Kicinski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Mon, 12 Oct 2020 14:04:24 + Henrik Bjoernlund wrote:
> > + /* This
Thanks for your review. Comments below.
Regards
Henrik
The 10/14/2020 16:00, Jakub Kicinski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Mon, 12 Oct 2020 14:04:22 + Henrik Bjoernlund wrote:
> > with restricted
Thanks for your review. Comment below.
Regards
Henrik
The 10/14/2020 16:33, Jakub Kicinski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Mon, 12 Oct 2020 14:04:26 + Henrik Bjoernlund wrote:
> > + i
received with the expected interval.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 10 ++
net/bridge/br_cfm.c | 269
net/bridge/br_private_cfm.h | 32
3 files
arding.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
net/bridge/br_device.c | 1 +
net/bridge/br_input.c | 33 -
net/bridge/br_mrp.c | 19 +++
net/bridge/br_private.h | 19 ---
4 files changed, 60 in
TLV value field.
The type is u8.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_bridge.h | 90 +++
include/uapi/linux/rtnetlink.h | 1 +
net/bridge/Makefile| 2 +-
net/bridge/br_cfm.c
).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/br_cfm.c | 48
.
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
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 39
from Peer MEP.
The type is u32 (bool).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
list to
the
first cache line.
Helper functions nla_get_mac() and nla_get_maid() are removed.
The NLA_POLICY_NESTED() macro is used to initialize the br_cfm_policy
array.
Fixed reverse xmas tree.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
Henrik Bjoernlund (10):
.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/if_bridge.h | 6 ++
net/bridge/br_cfm_netlink.c| 161 +
net/bridge/br_netlink.c| 29 +-
net/bridge/br_private.h| 6 ++
4 files changed, 200 insertions
connectivity
status on each added Peer MEP.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/cfm_bridge.h | 23 +++
net/bridge/Makefile | 2 +
net/bridge/br_cfm.c | 278 +
This makes it possible to include or exclude the CFM
protocol according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
net/bridge/Kconfig | 11 +++
net/bridge/br_device.c | 3 +++
net/bridge/br_private.h
This EtherType is used by all CFM protocal frames transmitted
according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi
Thanks for the review. Comments below.
The 10/09/2020 18:45, Jakub Kicinski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Fri, 9 Oct 2020 14:35:27 + Henrik Bjoernlund wrote:
> > +static inline struct mac_addr
TLV value field.
The type is u8.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/if_bridge.h | 90 +++
include/uapi/linux/rtnetlink.h | 1 +
net/bridge/Makefile| 2 +-
net/bridge/br_cfm.c| 5 +
net/bridge
).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
net/bridge/br_cfm.c | 48
net
This makes it possible to include or exclude the CFM
protocol according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
net/bridge/Kconfig | 11 +++
net/bridge/br_device.c | 3 +++
net/bridge/br_private.h | 3 +++
3 files changed, 17
connectivity
status on each added Peer MEP.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/cfm_bridge.h | 23 +++
net/bridge/Makefile | 2 +
net/bridge/br_cfm.c | 278
net/bridge/br_if.c
NETLINK implementation split into three commits.
Commit "bridge: cfm: Bridge port remove" is merged with
commit "bridge: cfm: Kernel space implementation of CFM. MEP create/delete."
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
Henrik Bjoernlund (
received with the expected interval.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/cfm_bridge.h | 10 ++
net/bridge/br_cfm.c | 269
net/bridge/br_private_cfm.h | 32
3 files changed, 311 insertions(+)
diff
.
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
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/cfm_bridge.h | 39 -
net/bridge/br_cfm.c
from Peer MEP.
The type is u32 (bool).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
This EtherType is used by all CFM protocal frames transmitted
according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi
.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/if_bridge.h | 6 ++
net/bridge/br_cfm_netlink.c| 161 +
net/bridge/br_netlink.c| 29 +-
net/bridge/br_private.h| 6 ++
4 files changed, 200 insertions
arding.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
net/bridge/br_device.c | 1 +
net/bridge/br_input.c | 33 -
net/bridge/br_mrp.c | 19 +++
net/bridge/br_private.h | 18 --
4 files changed, 60 in
This commit is correcting NETLINK br_fill_ifinfo() to be able to
handle 'filter_mask' with multiple flags asserted.
Fixes: 36a8e8e265420 ("bridge: Extend br_fill_ifinfo to return MPR status")
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Suggested-by: Nikolay
received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/if_bridge.h | 125 ++
include/uapi/linux/rtnetlink.h | 2 +
net/bridge/Makefile
).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
net/bridge/br_cfm.c | 48
net
.
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
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/cfm_bridge.h | 39 -
net/bridge/br_cfm.c
ceiver state machine can be
enabled and disabled.
According to 802.1Q section 19.2.8
A MEP can have Peer MEPs added and removed by
br_cfm_cc_peer_mep_add() and br_cfm_cc_peer_mep_remove()
The Continuity Check feature can maintain connectivity
status on each added Peer MEP.
Signed-of
This is addition of CFM functionality to delete MEP instances
on a port that is removed from the bridge.
A MEP can only exist on a port that is related to a bridge.
Signed-off-by: Henrik Bjoernlund m
Reviewed-by: Horatiu Vultur
---
net/bridge/br_cfm.c | 13 +
net/bridge
//github.com/microchip-ung/cfm but it is considered to
integrate
this into 'iproute2'.
v2 -> v3
The switchdev definition and utilization has been removed as there was no
switchdev implementation.
Some compiling issues are fixed as Reported-by: kernel test robot
.
Henrik Bjoernl
received with the expected interval.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
include/uapi/linux/cfm_bridge.h | 10 ++
net/bridge/br_cfm.c | 269
net/bridge/br_private_cfm.h | 32
3 files changed, 311 insertions(+)
diff
rmal forwarding.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
net/bridge/br_device.c | 1 +
net/bridge/br_input.c | 31 ++-
net/bridge/br_mrp.c | 19 +++
net/bridge/br_private.h | 18 --
4 files changed, 58 in
This EtherType is used by all CFM protocal frames transmitted
according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
Acked-by: Nikolay Aleksandrov
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi
This makes it possible to include or exclude the CFM
protocol according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
Reviewed-by: Horatiu Vultur
---
net/bridge/Kconfig | 11 +++
net/bridge/br_device.c | 3 +++
net/bridge/br_private.h | 3 +++
3 files changed, 17
This EtherType is used by all CFM protocal frames transmitted
according to 802.1Q section 12.14.
Acked-by: Nikolay Aleksandrov
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi
This makes it possible to include or exclude the CFM
protocol according to 802.1Q section 12.14.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
net/bridge/Kconfig | 11 +++
net/bridge/br_device.c | 3 +++
net/bridge/br_private.h | 3 +++
3 files changed, 17
).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
net/bridge/br_cfm.c | 48
net
received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/if_bridge.h | 125 ++
include/uapi/linux/rtnetlink.h | 2 +
net/bridge/Makefile
Signed-off-by: Henrik Bjoernlund
---
net/bridge/Makefile | 2 +-
net/bridge/br_cfm.c | 270 ++
net/bridge/br_cfm_netlink.c | 51 +++
net/bridge/br_cfm_switchdev.c | 203 +
net/bridge/br_private_cfm.h | 63
This is addition of CFM functionality to delete MEP instances
on a port that is removed from the bridge.
A MEP can only exist on a port that is related to a bridge.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund m
---
net/bridge/br_cfm.c | 13 +
net/bridge
received with the expected interval.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/cfm_bridge.h | 10 ++
net/bridge/br_cfm.c | 269
net/bridge/br_private_cfm.h | 32
3 files changed, 311 insertions(+)
diff
switchdev_port_obj_get(SWITCHDEV_OBJ_ID_MEP_STATUS_CFM)
Get Peer MEP status
switchdev_port_obj_get(SWITCHDEV_OBJ_ID_PEER_MEP_STATUS_CFM)
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
include/linux/if_bridge.h | 13 +
include/net/switchdev.h | 115
where required.
-Shaping up on error messages.
-Correction NETLINK br_fill_ifinfo() to be able to handle 'filter_mask'
with multiple flags asserted.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
Henrik Bjoernlund (11):
net: bridge: extend the pro
rmal forwarding.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
net/bridge/br_device.c | 1 +
net/bridge/br_input.c | 31 ++-
net/bridge/br_mrp.c | 19 +++
net/bridge/br_private.h | 18 --
4 files changed, 58 in
-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/cfm_bridge.h | 23 +++
net/bridge/Makefile | 2 +
net/bridge/br_cfm.c | 263
net/bridge/br_private_cfm.h | 61
4 files changed, 349 insertions(+)
.
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()
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/cfm_bridge.h | 39 -
net/bridge/br_cfm.c
Thanks for the review. Comments below.
The 09/04/2020 08:02, Jakub Kicinski wrote:
>
> On Fri, 4 Sep 2020 09:15:24 + Henrik Bjoernlund wrote:
> > + rcu_read_lock();
> > + b_port = rcu_dereference(mep->b_port);
> > + if (!b_port)
> > +
received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/if_bridge.h | 125 ++
include/uapi/linux/rtnetlink.h | 2 +
net/bridge/Makefile| 2 +-
net/bridge
).
When a sequence number is not one higher than previously received
then it is unexpected.
This is cleared after GETLINK IFLA_BRIDGE_CFM_CC_PEER_STATUS_INFO.
Signed-off-by: Henrik Bjoernlund
---
net/bridge/br_cfm.c | 43 +
net/bridge/br_cfm_netlink.c | 24
This is addition of CFM functionality to delete MEP instances
on a port that is removed from the bridge.
A MEP can only exist on a port that is related to a bridge.
Signed-off-by: Henrik Bjoernlund
---
net/bridge/br_cfm.c | 13 +
net/bridge/br_if.c | 1 +
net/bridge
and 'cfm_server' programs are standalone placed in a
cfm repository https://github.com/microchip-ung/cfm but it is considered
to integrate this into 'iproute2'.
Reviewed-by: Horatiu Vultur
Signed-off-by: Henrik Bjoernlund
Henrik Bjoernlund (7):
net: bridge: exten
contain Peer MEP Continuity Check status information that
can be retrieved by br_cfm_cc_peer_status_get().
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/cfm_bridge.h | 75 +++
net/bridge/Makefile | 2 +
net/bridge/br_cfm.c | 880
This EtherType is used by all CFM protocal frames transmitted
according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h
index
arding.
Signed-off-by: Henrik Bjoernlund
---
net/bridge/br_device.c | 1 +
net/bridge/br_input.c | 31 ++-
net/bridge/br_mrp.c | 19 +++
net/bridge/br_private.h | 18 --
4 files changed, 58 insertions(+), 11 deletions(-)
d
This makes it possible to include or exclude the CFM
protocol according to 802.1Q section 12.14.
Signed-off-by: Henrik Bjoernlund
---
net/bridge/Kconfig | 11 +++
net/bridge/br_device.c | 3 +++
net/bridge/br_private.h | 3 +++
3 files changed, 17 insertions(+)
diff --git a
86 matches
Mail list logo