svn commit: r215177 - head/release/picobsd/build

2010-11-12 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 12 12:48:41 2010 New Revision: 215177 URL: http://svn.freebsd.org/changeset/base/215177 Log: move the initialization of BINMAKE earler, so it is available throughout the entire build process. Submitted by: Matteo Landi MFC after:3 days Modified:

svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys

2010-11-12 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 12 13:02:26 2010 New Revision: 215178 URL: http://svn.freebsd.org/changeset/base/215178 Log: This commit implements the SO_USER_COOKIE socket option, which lets you tag a socket with an uint32_t value. The cookie can then be used by the kernel for various

svn commit: r215179 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw

2010-11-12 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 12 13:05:17 2010 New Revision: 215179 URL: http://svn.freebsd.org/changeset/base/215179 Log: The first customer of the SO_USER_COOKIE option: the sockarg ipfw option matches packets associated to a local socket and with a non-zero so_user_cookie value. The

svn commit: r239738 - head/release/picobsd/build

2012-08-27 Thread Luigi Rizzo
Author: luigi Date: Mon Aug 27 16:42:32 2012 New Revision: 239738 URL: http://svn.freebsd.org/changeset/base/239738 Log: use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage. Modified: head/release/picobsd/build/picobsd Modified: head/release/picobsd/build/picobsd

svn commit: r241719 - head/sys/dev/netmap

2012-10-18 Thread Luigi Rizzo
Oct 19 03:01:25 2012 (r241718) +++ head/sys/dev/netmap/netmap_kern.h Fri Oct 19 04:13:12 2012 (r241719) @@ -1,6 +1,6 @@ /* * Copyright (C) 2011-2012 Matteo Landi, Luigi Rizzo. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without

Re: svn commit: r241913 - in head: . sys/net sys/netgraph sys/netinet sys/netinet6 sys/netipsec sys/netpfil/ipfw sys/netpfil/pf sys/sys

2012-10-22 Thread Luigi Rizzo
On Mon, Oct 22, 2012 at 09:09:04PM +, Gleb Smirnoff wrote: Author: glebius Date: Mon Oct 22 21:09:03 2012 New Revision: 241913 URL: http://svn.freebsd.org/changeset/base/241913 Log: Switch the entire IPv4 stack to keep the IP packet header in network byte order. Any host byte

Re: svn commit: r208857 - head/sys/netinet

2010-06-05 Thread Luigi Rizzo
On Sat, Jun 05, 2010 at 09:39:53PM +, Randall Stewart wrote: Author: rrs Date: Sat Jun 5 21:39:52 2010 New Revision: 208857 URL: http://svn.freebsd.org/changeset/base/208857 Log: Purge out a Windows def that somehow slipped past the scrubber. i wonder if it makes sense to scrub

Re: svn commit: r208857 - head/sys/netinet

2010-06-05 Thread Luigi Rizzo
. cheers luigi R On Jun 5, 2010, at 5:44 PM, Luigi Rizzo wrote: On Sat, Jun 05, 2010 at 09:39:53PM +, Randall Stewart wrote: Author: rrs Date: Sat Jun 5 21:39:52 2010 New Revision: 208857 URL: http://svn.freebsd.org/changeset/base/208857 Log: Purge out a Windows def that somehow

svn commit: r210118 - head/sbin/ipfw

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:34:56 2010 New Revision: 210118 URL: http://svn.freebsd.org/changeset/base/210118 Log: better printing of headers when listing flows Modified: head/sbin/ipfw/dummynet.c Modified: head/sbin/ipfw/dummynet.c

svn commit: r210119 - head/sys/netinet/ipfw

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:37:02 2010 New Revision: 210119 URL: http://svn.freebsd.org/changeset/base/210119 Log: fix a comment and final empty line Modified: head/sys/netinet/ipfw/dn_heap.c Modified: head/sys/netinet/ipfw/dn_heap.c

svn commit: r210120 - head/sys/netinet/ipfw

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:37:59 2010 New Revision: 210120 URL: http://svn.freebsd.org/changeset/base/210120 Log: whitespace fixes Modified: head/sys/netinet/ipfw/ip_fw2.c Modified: head/sys/netinet/ipfw/ip_fw2.c

svn commit: r210121 - head/sys/net

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:41:06 2010 New Revision: 210121 URL: http://svn.freebsd.org/changeset/base/210121 Log: small portability fix to build on linux/windows Modified: head/sys/net/pfil.h Modified: head/sys/net/pfil.h

svn commit: r210122 - head/sys/net

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:41:59 2010 New Revision: 210122 URL: http://svn.freebsd.org/changeset/base/210122 Log: whitespace cleanup Modified: head/sys/net/radix.c Modified: head/sys/net/radix.c == ---

svn commit: r210123 - head/sys/netinet/ipfw

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 14:43:12 2010 New Revision: 210123 URL: http://svn.freebsd.org/changeset/base/210123 Log: remove some conditional #ifdefs (no-op on FreeBSD); run the timer routine on cpu 0. Modified: head/sys/netinet/ipfw/ip_fw_dynamic.c Modified:

svn commit: r210125 - head/release/picobsd/qemu

2010-07-15 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 15 16:32:59 2010 New Revision: 210125 URL: http://svn.freebsd.org/changeset/base/210125 Log: add some modern stuff: SMP, SCHED_ULE, PREEMPTION and support for VIMAGE Modified: head/release/picobsd/qemu/PICOBSD head/release/picobsd/qemu/crunch.conf Modified:

Re: svn commit: r210121 - head/sys/net

2010-07-17 Thread Luigi Rizzo
On Sat, Jul 17, 2010 at 02:21:48PM +0100, Rui Paulo wrote: On 15 Jul 2010, at 15:41, Luigi Rizzo wrote: Author: luigi Date: Thu Jul 15 14:41:06 2010 New Revision: 210121 URL: http://svn.freebsd.org/changeset/base/210121 Log: small portability fix to build on linux/windows

svn commit: r213252 - head/release/picobsd/build

2010-09-28 Thread Luigi Rizzo
Author: luigi Date: Tue Sep 28 22:30:11 2010 New Revision: 213252 URL: http://svn.freebsd.org/changeset/base/213252 Log: use make from the toolchain, as the source tree may depend on specific features (e.g. on recent HEAD, rtld fails with older 'make') MFC after:3 days Modified:

svn commit: r213253 - head/sys/netinet/ipfw

2010-09-28 Thread Luigi Rizzo
Author: luigi Date: Tue Sep 28 22:46:13 2010 New Revision: 213253 URL: http://svn.freebsd.org/changeset/base/213253 Log: Whitespace changes to reduce diffs wrt the most recent ipfw/dummynet code: + remove an unused macro, + adjust the constants in an enum + small whitespace changes

svn commit: r213254 - head/sys/netinet/ipfw

2010-09-28 Thread Luigi Rizzo
Author: luigi Date: Tue Sep 28 23:23:23 2010 New Revision: 213254 URL: http://svn.freebsd.org/changeset/base/213254 Log: fix breakage in in-kernel NAT: the code did not honor net.inet.ip.fw.one_pass and always moved to the next rule in case of a successful nat. This should fix several

svn commit: r213265 - head/sys/netinet/ipfw

2010-09-29 Thread Luigi Rizzo
Author: luigi Date: Wed Sep 29 09:22:12 2010 New Revision: 213265 URL: http://svn.freebsd.org/changeset/base/213265 Log: fix handling of initial credit for an idle pipe. This fixes the bug where setting bw 1 MTU/tick resulted in infinite bandwidth if io_fast=1 PR: 147245

svn commit: r213267 - head/sys/netinet/ipfw

2010-09-29 Thread Luigi Rizzo
Author: luigi Date: Wed Sep 29 09:40:20 2010 New Revision: 213267 URL: http://svn.freebsd.org/changeset/base/213267 Log: whitespace changes in preparation for future commits Modified: head/sys/netinet/ipfw/dn_sched.h head/sys/netinet/ipfw/dn_sched_wf2q.c

svn commit: r213329 - head/sys/netinet/ipfw

2010-10-01 Thread Luigi Rizzo
Author: luigi Date: Fri Oct 1 15:38:35 2010 New Revision: 213329 URL: http://svn.freebsd.org/changeset/base/213329 Log: put back the assigment to sched_time. It was correct, and it was necessary. Submitted by: Riccardo Panicucci Modified: head/sys/netinet/ipfw/ip_dn_io.c Modified:

svn commit: r213810 - head/sbin/ipfw

2010-10-13 Thread Luigi Rizzo
Author: luigi Date: Wed Oct 13 22:07:57 2010 New Revision: 213810 URL: http://svn.freebsd.org/changeset/base/213810 Log: document logging through bpf Modified: head/sbin/ipfw/ipfw.8 Modified: head/sbin/ipfw/ipfw.8

svn commit: r236256 - head/sys/modules/netmap

2012-05-29 Thread Luigi Rizzo
Author: luigi Date: Tue May 29 19:55:07 2012 New Revision: 236256 URL: http://svn.freebsd.org/changeset/base/236256 Log: add support to build netmap as a module, but for the time being keep it disconnected from the main build. MFC after:3 days Added: head/sys/modules/netmap/

svn commit: r238765 - head/sys/dev/e1000

2012-07-25 Thread Luigi Rizzo
Author: luigi Date: Wed Jul 25 11:28:15 2012 New Revision: 238765 URL: http://svn.freebsd.org/changeset/base/238765 Log: Use legacy interrupts as a default. This gives up to 10% speedup when used in qemu (and this driver is for non-PCIe cards, so probably its largest use is in virtualized

svn commit: r238818 - head/sys/dev/netmap

2012-07-26 Thread Luigi Rizzo
Author: luigi Date: Thu Jul 26 21:37:58 2012 New Revision: 238818 URL: http://svn.freebsd.org/changeset/base/238818 Log: define prefetch as a noop on !x86 Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c

Re: svn commit: r238818 - head/sys/dev/netmap

2012-07-27 Thread Luigi Rizzo
On Thu, Jul 26, 2012 at 11:39:59PM +0200, Roman Divacky wrote: Why dont you use __builtin_prefetch() ? ignorance :) thanks for the pointer, i'll look at it. i suppose it works for clang too ? cheers luigi ___ svn-src-head@freebsd.org mailing list

svn commit: r238831 - head/sys/dev/netmap

2012-07-27 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 27 10:31:26 2012 New Revision: 238831 URL: http://svn.freebsd.org/changeset/base/238831 Log: remove unused definition, whitespace cleanup Modified: head/sys/dev/netmap/netmap_kern.h Modified: head/sys/dev/netmap/netmap_kern.h

svn commit: r238837 - head/sys/dev/netmap

2012-07-27 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 27 10:52:21 2012 New Revision: 238837 URL: http://svn.freebsd.org/changeset/base/238837 Log: use __builtin_prefetch() for prefetch. merge in the remaining part of the linux-specific glue so i do not need to maintain two different distributions. Modified:

svn commit: r238900 - head/sbin/ipfw

2012-07-30 Thread Luigi Rizzo
Author: luigi Date: Mon Jul 30 10:55:23 2012 New Revision: 238900 URL: http://svn.freebsd.org/changeset/base/238900 Log: Fix some compile errors at high WARNS, including one for an uninitialized variable. unused parameters and variables are annotated with (void)foo; /*

svn commit: r238903 - head/sbin/ipfw

2012-07-30 Thread Luigi Rizzo
Author: luigi Date: Mon Jul 30 11:02:22 2012 New Revision: 238903 URL: http://svn.freebsd.org/changeset/base/238903 Log: remove the last __unused instance in sbin/ipfw. This particular function (show_prerequisites() ) we should actually remove the argument from the callers as well, but i'll

svn commit: r238912 - head/sys/dev/netmap

2012-07-30 Thread Luigi Rizzo
Author: luigi Date: Mon Jul 30 18:21:48 2012 New Revision: 238912 URL: http://svn.freebsd.org/changeset/base/238912 Log: - move the inclusion of netmap headers to the common part of the code; - more portable annotations for unused arguments; Modified: head/sys/dev/netmap/netmap.c

Re: svn commit: r238912 - head/sys/dev/netmap

2012-07-30 Thread Luigi Rizzo
On Mon, Jul 30, 2012 at 08:53:29PM -0700, Garrett Cooper wrote: On Mon, Jul 30, 2012 at 8:47 PM, Doug Barton do...@freebsd.org wrote: It seems this broke the build? On 07/30/2012 11:21, Luigi Rizzo wrote: Author: luigi Date: Mon Jul 30 18:21:48 2012 New Revision: 238912 URL: http

svn commit: r238937 - head/sys/dev/netmap

2012-07-30 Thread Luigi Rizzo
Author: luigi Date: Tue Jul 31 05:51:48 2012 New Revision: 238937 URL: http://svn.freebsd.org/changeset/base/238937 Log: remove a redundant MALLOC_DECLARE Modified: head/sys/dev/netmap/netmap_kern.h Modified: head/sys/dev/netmap/netmap_kern.h

svn commit: r238941 - head/sys/netinet

2012-07-31 Thread Luigi Rizzo
Author: luigi Date: Tue Jul 31 08:04:49 2012 New Revision: 238941 URL: http://svn.freebsd.org/changeset/base/238941 Log: nobody uses this file except the userspace ipfw code, but the cast of a pointer to an integer needs a cast to prevent a warning for size mismatch. MFC after:1

svn commit: r238977 - head/sys/netinet/ipfw

2012-08-01 Thread Luigi Rizzo
Author: luigi Date: Wed Aug 1 18:49:00 2012 New Revision: 238977 URL: http://svn.freebsd.org/changeset/base/238977 Log: add a cast to avoid a signed/unsigned warning (to be removed when we will have TUNABLE_UINT constructors) Modified: head/sys/netinet/ipfw/ip_fw2.c Modified:

svn commit: r238982 - head/sys/dev/netmap

2012-08-02 Thread Luigi Rizzo
Author: luigi Date: Thu Aug 2 07:35:40 2012 New Revision: 238982 URL: http://svn.freebsd.org/changeset/base/238982 Log: Add a newline on an error message; rename linux functions to avoid confusion; fix error reporting on linux Modified: head/sys/dev/netmap/netmap.c Modified:

svn commit: r238983 - head/share/man/man4

2012-08-02 Thread Luigi Rizzo
@@ for (;;) { .Nm supports the following interfaces: .Xr em 4 , +.Xr igb 4 , .Xr ixgbe 4 , -.Xr re 4 , +.Xr lem 4 , +.Xr re 4 +.Sh SEE ALSO +.Xr vale 4 +.Pp +http://info.iet.unipi.it/~luigi/netmap/ +.Pp +Luigi Rizzo, Revisiting network I/O APIs: the netmap framework, +Communications of the ACM, 55 (3

svn commit: r238985 - head/sys/dev/netmap

2012-08-02 Thread Luigi Rizzo
Author: luigi Date: Thu Aug 2 11:59:43 2012 New Revision: 238985 URL: http://svn.freebsd.org/changeset/base/238985 Log: fix some signed/unsigned warnings in the netmap code. Unfortunately the original drivers still have a lot of sign conversion/comparison warnings. Modified:

svn commit: r238988 - head/sys/netinet/ipfw

2012-08-02 Thread Luigi Rizzo
Author: luigi Date: Thu Aug 2 12:45:13 2012 New Revision: 238988 URL: http://svn.freebsd.org/changeset/base/238988 Log: replace __unused with a portable construct; fix a couple of signed/unsigned warnings. Modified: head/sys/netinet/ipfw/ip_dummynet.c Modified:

svn commit: r239009 - head/sys/conf

2012-08-03 Thread Luigi Rizzo
Author: luigi Date: Fri Aug 3 14:00:26 2012 New Revision: 239009 URL: http://svn.freebsd.org/changeset/base/239009 Log: support building vtnet as an embedded driver Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r239092 - head/sys/netinet/ipfw

2012-08-06 Thread Luigi Rizzo
Author: luigi Date: Mon Aug 6 10:50:43 2012 New Revision: 239092 URL: http://svn.freebsd.org/changeset/base/239092 Log: use FREE_PKT instead of m_freem to free an mbuf. The former is the standard form used in ipfw/dummynet, so that it is easier to remap it to different memory managers

svn commit: r239093 - head/sys/netinet/ipfw

2012-08-06 Thread Luigi Rizzo
Author: luigi Date: Mon Aug 6 11:02:23 2012 New Revision: 239093 URL: http://svn.freebsd.org/changeset/base/239093 Log: move functions outside the SYSBEGIN/SYSEND block (SYSBEGIN/SYSEND are specific to ipfw/dummynet and are used to emulate sysctl on platforms that do not have them, and

svn commit: r239124 - in head/sys/netinet: . ipfw

2012-08-07 Thread Luigi Rizzo
Author: luigi Date: Tue Aug 7 07:52:25 2012 New Revision: 239124 URL: http://svn.freebsd.org/changeset/base/239124 Log: s/lenght/length/ in comments Modified: head/sys/netinet/ip_dummynet.h head/sys/netinet/ipfw/dummynet.txt Modified: head/sys/netinet/ip_dummynet.h

svn commit: r227614 - in head: share/man/man4 sys/dev/netmap sys/net tools/tools tools/tools/netmap

2011-11-17 Thread Luigi Rizzo
me for advice on how to add netmap support to specific devices. CREDITS: Netmap has been developed by Luigi Rizzo and other collaborators at the Universita` di Pisa, and supported by EU project CHANGE (http://www.change-project.eu/) The code is distributed under a BSD

svn commit: r227845 - head/sys/conf

2011-11-22 Thread Luigi Rizzo
Author: luigi Date: Tue Nov 22 21:50:38 2011 New Revision: 227845 URL: http://svn.freebsd.org/changeset/base/227845 Log: forgot to merge NETMAP entries in sys/conf ! Modified: head/sys/conf/NOTES head/sys/conf/files head/sys/conf/options Modified: head/sys/conf/NOTES

svn commit: r227875 - head/sys/dev/netmap

2011-11-23 Thread Luigi Rizzo
Author: luigi Date: Wed Nov 23 09:45:48 2011 New Revision: 227875 URL: http://svn.freebsd.org/changeset/base/227875 Log: fix formatting warning using casts. The numbers involved are small and these are debug statements, so there is no reason to obfuscate the format string with

svn commit: r227878 - head/release/picobsd/build

2011-11-23 Thread Luigi Rizzo
Author: luigi Date: Wed Nov 23 12:05:39 2011 New Revision: 227878 URL: http://svn.freebsd.org/changeset/base/227878 Log: some tweaks to build picobsd for different architectures. Modified: head/release/picobsd/build/Makefile.conf head/release/picobsd/build/picobsd Modified:

svn commit: r228276 - in head: sys/dev/ixgbe sys/dev/netmap sys/net tools/tools/netmap

2011-12-05 Thread Luigi Rizzo
Author: luigi Date: Mon Dec 5 12:06:53 2011 New Revision: 228276 URL: http://svn.freebsd.org/changeset/base/228276 Log: 1. Fix the handling of link reset while in netmap more. A link reset now is completely transparent for the netmap client: even if the NIC resets its own ring (e.g.

svn commit: r228280 - head/sys/dev/netmap

2011-12-05 Thread Luigi Rizzo
Author: luigi Date: Mon Dec 5 15:21:21 2011 New Revision: 228280 URL: http://svn.freebsd.org/changeset/base/228280 Log: revise the implementation of the rings connected to the host stack Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c

svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-05 Thread Luigi Rizzo
Author: luigi Date: Mon Dec 5 15:33:13 2011 New Revision: 228281 URL: http://svn.freebsd.org/changeset/base/228281 Log: add netmap support for em, lem, igb and re. On my hardware, em in netmap mode does about 1.388 Mpps on one card (on an Asus motherboard), and 1.1 Mpps on another

Re: svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-05 Thread Luigi Rizzo
On Mon, Dec 05, 2011 at 07:38:54PM +0100, Marius Strobl wrote: On Mon, Dec 05, 2011 at 03:33:14PM +, Luigi Rizzo wrote: ... +#ifdef DEV_NETMAP + if (slot) { + int si = i + na-tx_rings[txr-me].nkr_hwofs; + void *addr

Re: svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-08 Thread Luigi Rizzo
On Thu, Dec 08, 2011 at 12:49:18PM -0500, John Baldwin wrote: On 12/5/11 2:31 PM, Luigi Rizzo wrote: On Mon, Dec 05, 2011 at 07:38:54PM +0100, Marius Strobl wrote: On Mon, Dec 05, 2011 at 03:33:14PM +, Luigi Rizzo wrote: ... +#ifdef DEV_NETMAP + if (slot

Re: svn commit: r228415 - head/sys/dev/e1000

2011-12-12 Thread Luigi Rizzo
On Sun, Dec 11, 2011 at 06:46:14PM +, Jack F Vogel wrote: Author: jfv Date: Sun Dec 11 18:46:14 2011 New Revision: 228415 URL: http://svn.freebsd.org/changeset/base/228415 Log: Last change still had an issue, one more time... Jack, the previous commit (rev. 228387) removed netmap

svn commit: r228803 - head/sys/dev/e1000

2011-12-22 Thread Luigi Rizzo
Author: luigi Date: Thu Dec 22 15:33:41 2011 New Revision: 228803 URL: http://svn.freebsd.org/changeset/base/228803 Log: put back netmap support, deleted by mistake in a previous commit Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c

svn commit: r228844 - head/sys/dev/netmap

2011-12-23 Thread Luigi Rizzo
Author: luigi Date: Fri Dec 23 16:02:14 2011 New Revision: 228844 URL: http://svn.freebsd.org/changeset/base/228844 Log: whitespace fixes (one missing newline, one extra tab) Modified: head/sys/dev/netmap/if_em_netmap.h head/sys/dev/netmap/ixgbe_netmap.h Modified:

svn commit: r228845 - head/sys/dev/netmap

2011-12-23 Thread Luigi Rizzo
Author: luigi Date: Fri Dec 23 16:03:57 2011 New Revision: 228845 URL: http://svn.freebsd.org/changeset/base/228845 Log: 1. don't use if_pspare directly, but through a macro WMA() 2. move a variable declaration at the beginning of a block Modified: head/sys/dev/netmap/netmap.c

svn commit: r228881 - head/sys/dev/netmap

2011-12-25 Thread Luigi Rizzo
Author: luigi Date: Sun Dec 25 21:00:56 2011 New Revision: 228881 URL: http://svn.freebsd.org/changeset/base/228881 Log: remove a variable definition which shadows the correct one. Submitted by: Eitan Adler Modified: head/sys/dev/netmap/if_igb_netmap.h Modified:

svn commit: r229511 - head/release/picobsd/build

2012-01-04 Thread Luigi Rizzo
Author: luigi Date: Wed Jan 4 19:37:25 2012 New Revision: 229511 URL: http://svn.freebsd.org/changeset/base/229511 Log: remove some stale options (such as running without /boot/loader) improve support for multi-arch and cross-arch builds, by adding a suffix to the kernel config file and

Re: svn commit: r223666 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw

2011-06-30 Thread Luigi Rizzo
On Thu, Jun 30, 2011 at 10:14:44PM -0700, Julian Elischer wrote: On 6/29/11 3:06 AM, Andrey V. Elsukov wrote: Author: ae Date: Wed Jun 29 10:06:58 2011 New Revision: 223666 URL: http://svn.freebsd.org/changeset/base/223666 Log: Add new rule actions call and return to ipfw. They make

svn commit: r218359 - head/release/picobsd/build

2011-02-05 Thread Luigi Rizzo
Author: luigi Date: Sat Feb 5 23:03:40 2011 New Revision: 218359 URL: http://svn.freebsd.org/changeset/base/218359 Log: following the recent (218130) changes to Makefile and Makefile.inc1, we need to set TARGET and TARGET_ARCH to get a correct WMAKEENV. I am setting both to i386 since this

svn commit: r218360 - head/sys/netinet/ipfw

2011-02-05 Thread Luigi Rizzo
Author: luigi Date: Sat Feb 5 23:32:17 2011 New Revision: 218360 URL: http://svn.freebsd.org/changeset/base/218360 Log: correct the 'output_time' of packets generated by dummynet. In the dec.2009 rewrite I introduced a bug, using for the computation the arrival time instead of the time the

svn commit: r218675 - head/sys/geom/sched

2011-02-14 Thread Luigi Rizzo
Author: luigi Date: Mon Feb 14 08:09:02 2011 New Revision: 218675 URL: http://svn.freebsd.org/changeset/base/218675 Log: Correct a subtle bug in the 'gsched_rr' disk scheduler. The algorithm is supposed to work as follows: in order to prevent starvation, when a new client starts being

svn commit: r233947 - head/tools/tools/netmap

2012-04-06 Thread Luigi Rizzo
Author: luigi Date: Fri Apr 6 14:26:05 2012 New Revision: 233947 URL: http://svn.freebsd.org/changeset/base/233947 Log: we need to specify a NETMAP_API version or the ioctl() will fail. Modified: head/tools/tools/netmap/pcap.c Modified: head/tools/tools/netmap/pcap.c

svn commit: r234137 - head/sys/dev/ixgbe

2012-04-11 Thread Luigi Rizzo
Author: luigi Date: Wed Apr 11 15:02:14 2012 New Revision: 234137 URL: http://svn.freebsd.org/changeset/base/234137 Log: Enable prefetching of descriptors on the TX ring, using the same values as in the Intel driver 3.8.21 for linux. The fact that it is standard in the above driver

svn commit: r234140 - head/sys/dev/netmap

2012-04-11 Thread Luigi Rizzo
Author: luigi Date: Wed Apr 11 16:11:08 2012 New Revision: 234140 URL: http://svn.freebsd.org/changeset/base/234140 Log: A couple of changes related to ixgbe operation in netmap mode: - add a sysctl, dev.netmap.ix_crcstrip, to control whether ixgbe should strip the CRC on received

svn commit: r234168 - head/tools/tools/netmap

2012-04-12 Thread Luigi Rizzo
Author: luigi Date: Thu Apr 12 08:38:56 2012 New Revision: 234168 URL: http://svn.freebsd.org/changeset/base/234168 Log: use getopt to parse options, add one option to set the wait time for link-up events Modified: head/tools/tools/netmap/bridge.c Modified:

svn commit: r234169 - head/sys/dev/netmap

2012-04-12 Thread Luigi Rizzo
Author: luigi Date: Thu Apr 12 08:54:01 2012 New Revision: 234169 URL: http://svn.freebsd.org/changeset/base/234169 Log: use correct selinfo pointer for the generic interrupt handler (it is never used in current FreeBSD drivers). Modified: head/sys/dev/netmap/netmap.c Modified:

svn commit: r234171 - head/sys/net

2012-04-12 Thread Luigi Rizzo
Author: luigi Date: Thu Apr 12 10:32:34 2012 New Revision: 234171 URL: http://svn.freebsd.org/changeset/base/234171 Log: remove an unnecessary #define Modified: head/sys/net/netmap.h Modified: head/sys/net/netmap.h

svn commit: r234174 - head/sys/dev/netmap

2012-04-12 Thread Luigi Rizzo
(empty, because file is newly added) +++ head/sys/dev/netmap/netmap_mem1.c Thu Apr 12 11:27:09 2012 (r234174) @@ -0,0 +1,521 @@ +/* + * Copyright (C) 2011 Matteo Landi, Luigi Rizzo. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

svn commit: r234185 - head/sys/dev/netmap

2012-04-12 Thread Luigi Rizzo
Author: luigi Date: Thu Apr 12 14:06:05 2012 New Revision: 234185 URL: http://svn.freebsd.org/changeset/base/234185 Log: Apparently the length field in advanced descriptors does not include the CRC irrespective of the setting of CRCSTRIP. The 82599 data sheets (sec. 7.1.6) say differently.

svn commit: r234225 - head/sys/dev/netmap

2012-04-13 Thread Luigi Rizzo
Author: luigi Date: Fri Apr 13 15:33:12 2012 New Revision: 234225 URL: http://svn.freebsd.org/changeset/base/234225 Log: do not use a deprecated field in a structure. Modified: head/sys/dev/netmap/if_re_netmap.h Modified: head/sys/dev/netmap/if_re_netmap.h

svn commit: r234227 - in head: sys/dev/netmap sys/net tools/tools/netmap

2012-04-13 Thread Luigi Rizzo
Author: luigi Date: Fri Apr 13 16:03:07 2012 New Revision: 234227 URL: http://svn.freebsd.org/changeset/base/234227 Log: A bit of cleanup in the names of fields of netmap-related structures. Use the name 'ring' instead of 'queue' in all fields. Bump NETMAP_API. Modified:

svn commit: r234228 - head/sys/dev/netmap

2012-04-13 Thread Luigi Rizzo
Fri Apr 13 16:32:33 2012 (r234228) @@ -0,0 +1,720 @@ +/* + * Copyright (C) 2012 Matteo Landi, Luigi Rizzo. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met

svn commit: r234229 - in head/sys/dev: ixgbe netmap

2012-04-13 Thread Luigi Rizzo
Author: luigi Date: Fri Apr 13 16:42:54 2012 New Revision: 234229 URL: http://svn.freebsd.org/changeset/base/234229 Log: Properly disable crc stripping when operating in netmap mode. Contrarily to what i wrote in my previous commit, the 82599 does include the CRC in the length. The

Re: svn commit: r234228 - head/sys/dev/netmap

2012-04-13 Thread Luigi Rizzo
On Fri, Apr 13, 2012 at 10:59:59AM -0700, Adrian Chadd wrote: On 13 April 2012 09:32, Luigi Rizzo lu...@freebsd.org wrote: Author: luigi Date: Fri Apr 13 16:32:33 2012 New Revision: 234228 URL: http://svn.freebsd.org/changeset/base/234228 Log: ?add the new memory allocator

svn commit: r234290 - head/sys/dev/netmap

2012-04-14 Thread Luigi Rizzo
Author: luigi Date: Sat Apr 14 16:44:18 2012 New Revision: 234290 URL: http://svn.freebsd.org/changeset/base/234290 Log: i prefer this fix for the -Wformat warning (just one cast, all the other variables are already correct for %x). My previous attempt put the cast in the wrong place.

Re: svn commit: r234834 - in head/sys: contrib/pf/net net netinet netinet/ipfw ofed/drivers/infiniband/ulp/ipoib

2012-04-30 Thread Luigi Rizzo
On Mon, Apr 30, 2012 at 10:22:23AM +, Alexander V. Chernikov wrote: Author: melifaro Date: Mon Apr 30 10:22:23 2012 New Revision: 234834 URL: http://svn.freebsd.org/changeset/base/234834 Log: Move several enums and structures required for L2 filtering from ip_fw_private.h to

Re: svn commit: r234834 - in head/sys: contrib/pf/net net netinet netinet/ipfw ofed/drivers/infiniband/ulp/ipoib

2012-04-30 Thread Luigi Rizzo
On Mon, Apr 30, 2012 at 04:17:30PM +0400, Alexander V. Chernikov wrote: On 30.04.2012 15:36, Gleb Smirnoff wrote: On Mon, Apr 30, 2012 at 01:48:36PM +0200, Luigi Rizzo wrote: L On Mon, Apr 30, 2012 at 10:22:23AM +, Alexander V. Chernikov wrote: LAuthor: melifaro LDate: Mon Apr 30

svn commit: r234956 - head/tools/tools/netmap

2012-05-03 Thread Luigi Rizzo
Author: luigi Date: Thu May 3 15:37:05 2012 New Revision: 234956 URL: http://svn.freebsd.org/changeset/base/234956 Log: - add code to run pkt-gen on top of libpcap so we can see the difference from a native API - add some testing options, such as conditional prefetching and packet

svn commit: r234962 - head/tools/tools/netmap

2012-05-03 Thread Luigi Rizzo
Author: luigi Date: Thu May 3 16:09:44 2012 New Revision: 234962 URL: http://svn.freebsd.org/changeset/base/234962 Log: add some performance data Modified: head/tools/tools/netmap/README Modified: head/tools/tools/netmap/README

Re: svn commit: r234834 - in head/sys: contrib/pf/net net netinet netinet/ipfw ofed/drivers/infiniband/ulp/ipoib

2012-05-03 Thread Luigi Rizzo
On Thu, May 03, 2012 at 01:00:16PM +0400, Alexander V. Chernikov wrote: ... Reverted in r234946 thank you very much for the quick resolution of the issue. I really appreciate it. cheers luigi ___ svn-src-head@freebsd.org mailing list

svn commit: r234975 - head/tools/tools/netmap

2012-05-03 Thread Luigi Rizzo
Author: luigi Date: Thu May 3 17:08:40 2012 New Revision: 234975 URL: http://svn.freebsd.org/changeset/base/234975 Log: add support for pcap receive statistics (used by net-mgmt/darkstat) Modified: head/tools/tools/netmap/README head/tools/tools/netmap/pcap.c Modified:

svn commit: r234983 - head/release/picobsd/build

2012-05-03 Thread Luigi Rizzo
Author: luigi Date: Thu May 3 20:50:55 2012 New Revision: 234983 URL: http://svn.freebsd.org/changeset/base/234983 Log: Omit clang when building picobsd, it takes way too long. Also note that loader.conf support is incomplete. Modified: head/release/picobsd/build/picobsd Modified:

svn commit: r234984 - head/tools/tools/netrate/netsend

2012-05-03 Thread Luigi Rizzo
Author: luigi Date: Thu May 3 21:03:21 2012 New Revision: 234984 URL: http://svn.freebsd.org/changeset/base/234984 Log: indicate the time per packet in nanoseconds. Modified: head/tools/tools/netrate/netsend/netsend.c Modified: head/tools/tools/netrate/netsend/netsend.c

svn commit: r234986 - head/sys/dev/netmap

2012-05-03 Thread Luigi Rizzo
Author: luigi Date: Thu May 3 21:16:53 2012 New Revision: 234986 URL: http://svn.freebsd.org/changeset/base/234986 Log: print 'netmap stack ring full' only in verbose mode. Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c

svn commit: r235547 - head/sys/dev/ixgbe

2012-05-17 Thread Luigi Rizzo
Author: luigi Date: Thu May 17 14:36:19 2012 New Revision: 235547 URL: http://svn.freebsd.org/changeset/base/235547 Log: fix a typo in a comment Modified: head/sys/dev/ixgbe/ixgbe.c Modified: head/sys/dev/ixgbe/ixgbe.c

svn commit: r235562 - head/sys/dev/netmap

2012-05-17 Thread Luigi Rizzo
Author: luigi Date: Thu May 17 20:05:13 2012 New Revision: 235562 URL: http://svn.freebsd.org/changeset/base/235562 Log: this file is too old and not interesting anymore now that netmap has been MFC'ed. Deleted: head/sys/dev/netmap/head.diff ___

svn commit: r203876 - head/release/picobsd/tinyware/login

2010-02-14 Thread Luigi Rizzo
Author: luigi Date: Sun Feb 14 15:51:36 2010 New Revision: 203876 URL: http://svn.freebsd.org/changeset/base/203876 Log: a minimal set of changes to adapt to the utmp-utmpx changes. lastlog still not implemented, i am hoping that Ed or someone has some idea on how to fix this, but it is

svn commit: r204713 - head/sys/netinet/ipfw

2010-03-04 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 4 16:52:26 2010 New Revision: 204713 URL: http://svn.freebsd.org/changeset/base/204713 Log: improve compatibility with RELENG_7.2 Modified: head/sys/netinet/ipfw/ip_fw_sockopt.c Modified: head/sys/netinet/ipfw/ip_fw_sockopt.c

svn commit: r204716 - head/sbin/ipfw

2010-03-04 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 4 16:54:56 2010 New Revision: 204716 URL: http://svn.freebsd.org/changeset/base/204716 Log: reduce diffs with the cross-platform version (windows needs some extra initialization) Modified: head/sbin/ipfw/main.c Modified: head/sbin/ipfw/main.c

svn commit: r204735 - head/sys/netinet/ipfw/test

2010-03-04 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 4 21:01:59 2010 New Revision: 204735 URL: http://svn.freebsd.org/changeset/base/204735 Log: don't use keywords as variable names. Modified: head/sys/netinet/ipfw/test/mylist.h Modified: head/sys/netinet/ipfw/test/mylist.h

svn commit: r204736 - head/sys/netinet/ipfw/test

2010-03-04 Thread Luigi Rizzo
Author: luigi Date: Thu Mar 4 21:52:40 2010 New Revision: 204736 URL: http://svn.freebsd.org/changeset/base/204736 Log: portability fixes Modified: head/sys/netinet/ipfw/test/dn_test.h head/sys/netinet/ipfw/test/test_dn_sched.c Modified: head/sys/netinet/ipfw/test/dn_test.h

svn commit: r204862 - head/sys/netinet/ipfw

2010-03-08 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 8 11:22:47 2010 New Revision: 204862 URL: http://svn.freebsd.org/changeset/base/204862 Log: do not report an error unnecessarily Modified: head/sys/netinet/ipfw/ip_dummynet.c Modified: head/sys/netinet/ipfw/ip_dummynet.c

svn commit: r204866 - head/sys/netinet/ipfw/test

2010-03-08 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 8 11:27:39 2010 New Revision: 204866 URL: http://svn.freebsd.org/changeset/base/204866 Log: cosmetic changes and C++ compatibility Modified: head/sys/netinet/ipfw/test/dn_test.h Modified: head/sys/netinet/ipfw/test/dn_test.h

svn commit: r205179 - head/sbin/ipfw

2010-03-15 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 15 18:20:51 2010 New Revision: 205179 URL: http://svn.freebsd.org/changeset/base/205179 Log: print correctly commands of the form ipfw add 100 allow ip from { 1.2.3.4 or 5.6.7.8 } (note that the above example could be better written as ipfw

svn commit: r205181 - head/sbin/ipfw

2010-03-15 Thread Luigi Rizzo
Author: luigi Date: Mon Mar 15 18:26:09 2010 New Revision: 205181 URL: http://svn.freebsd.org/changeset/base/205181 Log: accept lower case m as a synonym for Mega (bit/s or bytes/s). Modified: head/sbin/ipfw/dummynet.c Modified: head/sbin/ipfw/dummynet.c

svn commit: r205417 - in head/sys: conf netinet/ipfw netinet/ipfw/test

2010-03-21 Thread Luigi Rizzo
Author: luigi Date: Sun Mar 21 16:30:32 2010 New Revision: 205417 URL: http://svn.freebsd.org/changeset/base/205417 Log: Add a priority-based packet scheduler. Sponsored by: The ONELAB2 Project Submitted by: Riccardo Panicucci Added: head/sys/netinet/ipfw/dn_sched_prio.c (contents,

svn commit: r205602 - head/sys/netinet/ipfw

2010-03-24 Thread Luigi Rizzo
Author: luigi Date: Wed Mar 24 15:16:59 2010 New Revision: 205602 URL: http://svn.freebsd.org/changeset/base/205602 Log: Honor ip.fw.one_pass when a packet comes out of a pipe without being delayed. I forgot to handle this case when i did the mtag cleanup three months ago. PR:

svn commit: r205620 - head/sys/modules/dummynet

2010-03-24 Thread Luigi Rizzo
Author: luigi Date: Wed Mar 24 18:35:31 2010 New Revision: 205620 URL: http://svn.freebsd.org/changeset/base/205620 Log: make the module loadable Submitted by: Marcin Wisnicki Modified: head/sys/modules/dummynet/Makefile Modified: head/sys/modules/dummynet/Makefile

  1   2   3   4   >