Re: [v2 PATCH 0/2] macvlan: Avoid unnecessary multicast cloning

2016-06-01 Thread David Miller
From: Herbert Xu Date: Wed, 1 Jun 2016 11:42:18 +0800 > This patch tries to improve macvlan multicast performance by > maintaining a filter hash at the macvlan_port level so that we > can quickly determine whether a given packet is needed or not. > > It is preceded

[v2 PATCH 0/2] macvlan: Avoid unnecessary multicast cloning

2016-05-31 Thread Herbert Xu
On Tue, May 31, 2016 at 02:07:13PM -0700, David Miller wrote: > > I think you need to set the vlan->port->mc_filter to all 1's in the > PROMISC/ALLMUTI branch here. > > Otherwise packets won't properly pass your new hash test. Good point. Here's v2. This patch tries to improve macvlan