Re: [RFC PATCH net-next 3/4] rocker: add fwd_mark support

2015-06-14 Thread Jiri Pirko
Sun, Jun 14, 2015 at 08:00:11PM CEST, sfel...@gmail.com wrote: >On Sun, Jun 14, 2015 at 12:02 AM, Jiri Pirko wrote: >> Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote: >>>From: Scott Feldman >>> >>>If device flags ingress packet as "fwd offload", mark the skb->fwd_mark >>>using the

Re: [RFC PATCH net-next 3/4] rocker: add fwd_mark support

2015-06-14 Thread Scott Feldman
On Sun, Jun 14, 2015 at 12:02 AM, Jiri Pirko wrote: > Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote: >>From: Scott Feldman >> >>If device flags ingress packet as "fwd offload", mark the skb->fwd_mark >>using the ingress port's dev->fwd_mark. This will be the hint to the >>kernel

Re: [RFC PATCH net-next 3/4] rocker: add fwd_mark support

2015-06-14 Thread Jiri Pirko
Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote: >From: Scott Feldman > >If device flags ingress packet as "fwd offload", mark the skb->fwd_mark >using the ingress port's dev->fwd_mark. This will be the hint to the >kernel that this packet has already been forwarded by device to egr

[RFC PATCH net-next 3/4] rocker: add fwd_mark support

2015-06-13 Thread sfeldma
From: Scott Feldman If device flags ingress packet as "fwd offload", mark the skb->fwd_mark using the ingress port's dev->fwd_mark. This will be the hint to the kernel that this packet has already been forwarded by device to egress ports matching skb->fwd_mark. For rocker, derive port dev->fwd_