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

2015-07-16 Thread Simon Horman
On Thu, Jul 16, 2015 at 01:04:52AM -0700, sfel...@gmail.com wrote: > From: Scott Feldman [snip] > Scott Feldman (5): > net: don't reforward packets already forwarded by offload device > net: add phys ID compare helper to test if two IDs are the same > switchdev: add offload_fwd_mark genera

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

2015-07-16 Thread Jiri Pirko
.. > >Scott Feldman (5): > net: don't reforward packets already forwarded by offload device > net: add phys ID compare helper to test if two IDs are the same > switchdev: add offload_fwd_mark generator helper > rocker: add offload_fwd_mark support > switchdev: update documentation for off

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

2015-07-16 Thread sfeldma
From: Scott Feldman 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 - remove some unrelated changes that snuck in v1: This patchset wa

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

2015-06-17 Thread sfeldma
From: Scott Feldman (RFC because we're at rc7+ now) v2: - s/fwd_mark/offload_fwd_mark - use consume_skb rather than kfree_skb when dropping pkt on egress. - Use Jiri's suggestion to use ifindex of one of the ports in a group as the mark for all the ports in the group. This can be done wi