[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFSKS=NujO_LXWjMFhXwiHGjB0RDEVXqSOUKooSywSLPKHw5sw@mail.gmail.com>
Date: Tue, 24 Nov 2020 14:26:53 -0600
From: George McCollister <george.mccollister@...il.com>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
"open list:OPEN FIRMWARE AND..." <devicetree@...r.kernel.org>
Subject: Re: [PATCH net-next 1/3] dsa: add support for Arrow XRS700x tag trailer
On Mon, Nov 23, 2020 at 4:18 PM Florian Fainelli <f.fainelli@...il.com> wrote:
>
>
>
> On 11/20/2020 10:16 AM, George McCollister wrote:
> > Add support for Arrow SpeedChips XRS700x single byte tag trailer. This
> > is modeled on tag_trailer.c which works in a similar way.
> >
> > Signed-off-by: George McCollister <george.mccollister@...il.com>
>
> One question below:
>
> [snip]
>
> > + if (pskb_trim_rcsum(skb, skb->len - 1))
> > + return NULL;
> > +
> > + /* Frame is forwarded by hardware, don't forward in software. */
> > + skb->offload_fwd_mark = 1;
>
> Given the switch does not give you a forwarding reason, I suppose this
> is fine, but do you possibly have to qualify this against different
> source MAC addresses?
I don't see any reason why I'd need to do that but maybe I'm missing something.
> --
> Florian
Powered by blists - more mailing lists