Re: [Bridge] [PATCH net-next] net: bridge: add support for per-port vlan stats

2018-10-12 Thread David Miller
From: Nikolay Aleksandrov 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

Re: [Bridge] [PATCH net-next] net: bridge: add support for per-port vlan stats

2018-10-12 Thread Stephen Hemminger
On Fri, 12 Oct 2018 13:41:16 +0300 Nikolay Aleksandrov wrote: > 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 be

Re: [Bridge] [PATCH net-next] net: bridge: add support for per-port vlan stats

2018-10-12 Thread Nikolay Aleksandrov
On October 12, 2018 6:39:32 PM GMT+03:00, Stephen Hemminger wrote: >On Fri, 12 Oct 2018 13:41:16 +0300 >Nikolay Aleksandrov wrote: > >> 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] [PATCH net-next] net: bridge: add support for per-port vlan stats

2018-10-12 Thread Nikolay Aleksandrov
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