]> 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)
commitda1461b644d0caebaf8614eefad5dce83e802456
tree5b69bffa059f72b3fa4000a2d57275a8c0ab6c77
parentb9e18a8d6e6e2e74be4695a48ffe3577161cf775
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