[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181012.102025.2235133411976941650.davem@davemloft.net>
Date: Fri, 12 Oct 2018 10:20:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nikolay@...ulusnetworks.com
Cc: netdev@...r.kernel.org, bridge@...ts.linux-foundation.org,
roopa@...ulusnetworks.com
Subject: Re: [PATCH net-next] net: bridge: add support for per-port vlan
stats
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Date: Fri, 12 Oct 2018 13:41:16 +0300
> This patch adds an option to have per-port vlan stats instead of the
> default global stats. The option can be set only when there are no port
> vlans in the bridge since we need to allocate the stats if it is set
> when vlans are being added to ports (and respectively free them
> when being deleted). Also bump RTNL_MAX_TYPE as the bridge is the
> largest user of options. The current stats design allows us to add
> these without any changes to the fast-path, it all comes down to
> the per-vlan stats pointer which, if this option is enabled, will
> be allocated for each port vlan instead of using the global bridge-wide
> one.
>
> CC: bridge@...ts.linux-foundation.org
> CC: Roopa Prabhu <roopa@...ulusnetworks.com>
> Signed-off-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Applied, thanks.
Powered by blists - more mailing lists