Re: [net-next] tipc: improve throughput between nodes in netns

2019-10-21 Thread Eric Dumazet
> ma...@donjonn.com; tipc-discuss...@lists.sourceforge.net; > netdev@vger.kernel.org > Subject: Re: [net-next] tipc: improve throughput between nodes in netns > > > On 10/21/19 7:20 PM, Hoang Le wrote: >> n->net = net; >> n->capabilities = capabiliti

RE: [net-next] tipc: improve throughput between nodes in netns

2019-10-21 Thread Hoang Le
: [net-next] tipc: improve throughput between nodes in netns On 10/21/19 7:20 PM, Hoang Le wrote: > n->net = net; > n->capabilities = capabilities; > + n->pnet = NULL; > + for_each_net_rcu(tmp) { This does not scale well, if say you have a thousand netns

Re: [net-next] tipc: improve throughput between nodes in netns

2019-10-21 Thread Eric Dumazet
On 10/21/19 7:20 PM, Hoang Le wrote: > n->net = net; > n->capabilities = capabilities; > + n->pnet = NULL; > + for_each_net_rcu(tmp) { This does not scale well, if say you have a thousand netns ? > + tn_peer = net_generic(tmp, tipc_net_id); > + if (!