Skip to content

Commit

Permalink
bridge: mrp: Connect MRP API with the switchdev API
Browse files Browse the repository at this point in the history
Implement the MRP API.

In case the HW can't generate MRP Test frames then the SW will try to generate
the frames. In case that also the SW will fail in generating the frames then a
error is return to the userspace. The userspace is responsible to generate all
the other MRP frames regardless if the test frames are generated by HW or SW.

The forwarding/termination of MRP frames is happening in the kernel and is done
by the MRP instance. The userspace application doesn't do the forwarding.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Horatiu Vultur authored and David S. Miller committed Apr 27, 2020
1 parent fadd409 commit 9a9f26e
Show file tree
Hide file tree
Showing 3 changed files with 589 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o

obj-$(CONFIG_NETFILTER) += netfilter/

bridge-$(CONFIG_BRIDGE_MRP) += br_mrp_switchdev.o
bridge-$(CONFIG_BRIDGE_MRP) += br_mrp_switchdev.o br_mrp.o br_mrp_netlink.o
Loading

0 comments on commit 9a9f26e

Please sign in to comment.