Subject: Re: [PATCH net-next v2 1/5] net: don't reforward packets already forwarded by offload device

From: roopa <[email-masked]>
Date: Thu, 16 Jul 2015 20:32:14 -0700

On 7/16/15, 1:04 AM, [email-masked] wrote:
> From: Scott Feldman <[email-masked]>
>
> Just before queuing skb for xmit on port, check if skb has been marked by
> switchdev port driver as already fordwarded by device.  If so, drop skb.  A
> non-zero skb->offload_fwd_mark field is set by the switchdev port
> driver/device on ingress to indicate the skb has already been forwarded by
> the device to egress ports with matching dev->skb_mark.  The switchdev port
> driver would assign a non-zero dev->skb_mark for each device port netdev
typo: dev->offload_fwd_mark
> during registration, for example.
>
> Signed-off-by: Scott Feldman <[email-masked]>
>
Acked-by: Roopa Prabhu <[email-masked]>

Thanks scott!