Thread (16 messages) 16 messages, 5 authors, 2015-07-17

Re: [PATCH net-next v2 4/5] rocker: add offload_fwd_mark support

flat view

From: Jiri Pirko <jiri@resnulli.us>
Date: 2015-07-16 08:22:43

Thu, Jul 16, 2015 at 10:04:56AM CEST, sfeldma@gmail.com wrote:
From: Scott Feldman <redacted>

If device flags ingress packet as "fwd offload", mark the
skb->offlaod_fwd_mark using the ingress port's dev->offlaod_fwd_mark.  This
will be the hint to the kernel that this packet has already been forwarded
by device to egress ports matching skb->offlaod_fwd_mark.

For rocker, derive port dev->offlaod_fwd_mark based on device switch ID and
port ifindex.  If port is bridged, use the bridge ifindex rather than the
port ifindex.

Signed-off-by: Scott Feldman <redacted>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help