net: mrp: move struct definitions out of uapi
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 21 Jan 2021 20:40:37 +0000 (21:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 20:38:42 +0000 (12:38 -0800)
commit6781939054a1a161e06e7a7955a4846be770a711
tree5b69bffa059f72b3fa4000a2d57275a8c0ab6c77
parentdc090de854b9d7fdbc6f4df70bd7fc1b43eeccf8
net: mrp: move struct definitions out of uapi

None of these are actually used in the kernel/userspace interface -
there's a userspace component of implementing MRP, and userspace will
need to construct certain frames to put on the wire, but there's no
reason the kernel should provide the relevant definitions in a UAPI
header.

In fact, some of those definitions were broken until previous commit,
so only keep the few that are actually referenced in the kernel code,
and move them to the br_private_mrp.h header.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/mrp_bridge.h
net/bridge/br_private_mrp.h