Re: [PATCH net-next v3 0/5] switchdev: avoid duplicate packet forwarding

2015-07-20 Thread David Miller
From: sfel...@gmail.com Date: Sat, 18 Jul 2015 18:24:47 -0700 > With switchdev support for offloading L2/L3 forwarding data path to a > switch device, we have a general problem where both the device and the > kernel may forward the packet, resulting in duplicate packets on the wire. > Anytime a pa

Re: [PATCH net-next v3 0/5] switchdev: avoid duplicate packet forwarding

2015-07-20 Thread Andrew Lunn
> This looks good to me, and it looks like this is also relevant for > DSA-driven switches, however I am not exactly clear on how we could > potentially use this on such switches. > > For Broadcom tags, there is a reason code forwarded along with the tag > making it to the CPU, and the "mirror" bi

Re: [PATCH net-next v3 0/5] switchdev: avoid duplicate packet forwarding

2015-07-20 Thread Florian Fainelli
Hi Scott, On 18/07/15 18:24, sfel...@gmail.com wrote: > From: Scott Feldman > > v3: > > - Per Nicolas Dichtel review: remove errant empty union. > > v2: > > - Per davem review: in sk_buff, union fwd_mark with secmark to save space >since features appear to be mutually exclusive. > - Pe

[PATCH net-next v3 0/5] switchdev: avoid duplicate packet forwarding

2015-07-18 Thread sfeldma
From: Scott Feldman v3: - Per Nicolas Dichtel review: remove errant empty union. v2: - Per davem review: in sk_buff, union fwd_mark with secmark to save space since features appear to be mutually exclusive. - Per Simon Horman review: - fix grammar in switchdev.txt wrt fwd_mark - re