From: Thomas Graf Subject: Re: Sending big Netlink messages to userspace Date: Thu, 26 Jun 2008 12:01:10 +0200 Message-ID: <20080626100110.GL20815@postel.suug.ch> References: <4861282C.4000208@trash.net> <20080625104401.GJ20815@postel.suug.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Patrick McHardy , netdev@vger.kernel.org, Vince Busam To: Julius Volz Return-path: Received: from postel.suug.ch ([194.88.212.233]:43291 "EHLO postel.suug.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752162AbYFZKAw (ORCPT ); Thu, 26 Jun 2008 06:00:52 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: * Julius Volz 2008-06-25 20:56 > So userspace now gets one callback invocation per part of a multipart > message. I guess it's not possible to aggregate the data into just one > callback invocation? Typically the aggregation is done when multipart messages are fed into a cache/collection which is then provided to the caller. This requires the caller to implement object and cache operations and is based on the assumption that a single netlink message represents a single object. In your case I'd suggest to do the aggregation on your own.