Performance problem using Intel X520-DA2

Steven Hartland killing at multiplay.co.uk
Tue Jan 24 11:37:30 UTC 2012


----- Original Message ----- 
From: "Marcin Markowski" <mmarkowski at leon.pl>
> 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 at multiplay.co.uk.



More information about the freebsd-net mailing list