]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30f34c34e83a7297fb574dbdc9948b0622c07dd2
tree5b69bffa059f72b3fa4000a2d57275a8c0ab6c77
parent6224f6b59b3c402c9b6666d357fb24fd292b08cb
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