[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150716082203.GC2145@nanopsycho.orion>
Date: Thu, 16 Jul 2015 10:22:03 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: sfeldma@...il.com
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com,
simon.horman@...ronome.com
Subject: Re: [PATCH net-next v2 1/5] net: don't reforward packets already
forwarded by offload device
Thu, Jul 16, 2015 at 10:04:53AM CEST, sfeldma@...il.com wrote:
>From: Scott Feldman <sfeldma@...il.com>
>
>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
>during registration, for example.
>
>Signed-off-by: Scott Feldman <sfeldma@...il.com>
Acked-by: Jiri Pirko <jiri@...nulli.us>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists