From: Patrick McHardy Subject: Re: [PATCH nf-next 2/2] netfilter: nft_counter: add per-cpu support Date: Fri, 19 Jun 2015 00:25:30 +0200 Message-ID: <20150618222529.GA24649@acer.localdomain> References: <1434651697-9905-1-git-send-email-pablo@netfilter.org> <1434651697-9905-2-git-send-email-pablo@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@vger.kernel.org, fw@strlen.de, eric.dumazet@gmail.com To: Pablo Neira Ayuso Return-path: Received: from stinky.trash.net ([213.144.137.162]:49172 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032AbbFRWZe (ORCPT ); Thu, 18 Jun 2015 18:25:34 -0400 Content-Disposition: inline In-Reply-To: <1434651697-9905-2-git-send-email-pablo@netfilter.org> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On 18.06, Pablo Neira Ayuso wrote: > This patch adds rule per-cpu counters. This introduces a new NFTA_COUNTER_TYPE > netlink attribute to indicate the type of counters to be used. The default is > the compact seqlock representation for compatibility. I don't think that userspace should care about the implementation details. I'd just switch to percpu unconditionally.