Re: [PATCH net-next v5 01/10] net: bridge: extend the process of special frames

From: Nikolay Aleksandrov
Date: Wed Oct 14 2020 - 06:50:45 EST


On Mon, 2020-10-12 at 14:04 +0000, Henrik Bjoernlund wrote:
> This patch extends the processing of frames in the bridge. Currently MRP
> frames needs special processing and the current implementation doesn't
> allow a nice way to process different frame types. Therefore try to
> improve this by adding a list that contains frame types that need
> special processing. This list is iterated for each input frame and if
> there is a match based on frame type then these functions will be called
> and decide what to do with the frame. It can process the frame then the
> bridge doesn't need to do anything or don't process so then the bridge
> will do normal forwarding.
>
> Signed-off-by: Henrik Bjoernlund <henrik.bjoernlund@xxxxxxxxxxxxx>
> Reviewed-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>
> ---
> 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 insertions(+), 12 deletions(-)
>

Looks good.
Acked-by: Nikolay Aleksandrov <nikolay@xxxxxxxxxx>