From owner-freebsd-net@FreeBSD.ORG Tue Jan 24 11:37:30 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DAA4106564A for ; Tue, 24 Jan 2012 11:37:30 +0000 (UTC) (envelope-from prvs=1370443d68=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8D09A8FC15 for ; Tue, 24 Jan 2012 11:37:29 +0000 (UTC) X-Spam-Processed: mail1.multiplay.co.uk, Tue, 24 Jan 2012 11:26:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50017683607.msg for ; Tue, 24 Jan 2012 11:26:07 +0000 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1370443d68=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-net@freebsd.org Message-ID: <66BBF95CED1F4B2B8233EC2D5A610ACD@multiplay.co.uk> From: "Steven Hartland" To: "Nikolay Denev" , "Marcin Markowski" References: <159d4fbce722663a84f3cea12da828a5@leon.pl><6A254A40-7DA5-4EFE-93C5-4E084F33B78A@gmail.com> <62333c6068c0df493b2e4e9ec86f34d2@leon.pl> Date: Tue, 24 Jan 2012 11:26:19 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: freebsd-net@freebsd.org Subject: Re: Performance problem using Intel X520-DA2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2012 11:37:30 -0000 ----- Original Message ----- From: "Marcin Markowski" > I tried to compile the kernel with NETMAP on FreeBSD 8 and 9, but I get > warnings and > the compilation ends. > > cc1: warnings being treated as errors > ../../../dev/netmap/netmap.c: In function 'netmap_memory_init': > ../../../dev/netmap/netmap.c:1557: warning: format '%d' expects type > 'int', but argument 7 has type 'size_t' > ../../../dev/netmap/netmap.c:1564: warning: format '%d' expects type > 'int', but argument 7 has type 'size_t' > ../../../dev/netmap/netmap.c: In function 'netmap_memory_fini': > ../../../dev/netmap/netmap.c:1607: warning: format '%d' expects type > 'int', but argument 2 has type 'size_t' > ../../../dev/netmap/netmap.c: In function 'netmap_init': > ../../../dev/netmap/netmap.c:1636: warning: format '%d' expects type > 'int', but argument 2 has type 'size_t' > *** Error code 1 > > I'll try HEAD and see if it will be the same. If its just that error, change %d to %ld and that should fix it. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.