eview recommended.
> iscsi(4) trasz Pre-commit review recommended.
> rctl(8)trasz Pre-commit review recommended.
>
>
--
-+---
Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell
= pkt-gen nmreplay bridge vale-ctl
> CLEANFILES = $(PROGS) *.o
> MAN=
> CFLAGS += -Werror -Wall
> -CFLAGS += -nostdinc -I ../../../sys -I/usr/include
> CFLAGS += -Wextra
>
> LDFLAGS += -lpthread
>
--
-+--
Author: luigi
Date: Thu Oct 27 09:46:22 2016
New Revision: 308000
URL: https://svnweb.freebsd.org/changeset/base/308000
Log:
Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail:
- use PCI_VENDOR and PCI_DEVICE ids from a publicly allocated range
(thanks to RedHat)
-
Author: luigi
Date: Tue Oct 18 16:18:25 2016
New Revision: 307574
URL: https://svnweb.freebsd.org/changeset/base/307574
Log:
remove stale and unused code from various files
fix build on 32 bit platforms
simplify logic in netmap_virt.h
The commands (in net/netmap.h) to configure communic
Author: luigi
Date: Tue Oct 18 15:50:20 2016
New Revision: 307573
URL: https://svnweb.freebsd.org/changeset/base/307573
Log:
remove conditional code for an obsolete feature. if_ptnet now does better.
Modified:
head/sys/dev/e1000/if_lem.c
Modified: head/sys/dev/e1000/if_lem.c
Author: luigi
Date: Tue Oct 18 15:41:57 2016
New Revision: 307572
URL: https://svnweb.freebsd.org/changeset/base/307572
Log:
remove trailing whitespace. No code changes.
Modified:
head/sys/dev/netmap/if_vtnet_netmap.h
head/sys/dev/netmap/netmap_monitor.c
head/sys/dev/netmap/netmap_pipe.c
Author: luigi
Date: Tue Oct 18 15:24:56 2016
New Revision: 307571
URL: https://svnweb.freebsd.org/changeset/base/307571
Log:
fix a stale sentence in the manpage
Modified:
head/share/man/man4/netmap.4
Modified: head/share/man/man4/netmap.4
=
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/net/netmap_virt.h Sun Oct 16 18:27:41 2016(r307396)
@@ -0,0 +1,325 @@
+/*
+ * Copyright (C) 2013-2016 Luigi Rizzo
+ * Copyright (C) 2013-2016 Giuseppe Lettieri
+ * Copyright (C
Author: luigi
Date: Sun Oct 16 15:22:17 2016
New Revision: 307395
URL: https://svnweb.freebsd.org/changeset/base/307395
Log:
add two missing files for the netmap import
Added:
head/sys/dev/netmap/if_ptnet.c (contents, props changed)
head/sys/dev/netmap/netmap_pt.c (contents, props chang
= ixgbe_netmap_rxsync;
na.nm_register = ixgbe_netmap_reg;
na.num_tx_rings = na.num_rx_rings = adapter->num_queues;
+ na.nm_intr = ixgbe_netmap_intr;
netmap_attach(&na);
}
Modified: head/sys/dev/netmap/netmap.c
Author: luigi
Date: Fri Oct 14 15:16:44 2016
New Revision: 307320
URL: https://svnweb.freebsd.org/changeset/base/307320
Log:
adjust picobsd script to work with HEAD
Modified:
head/release/picobsd/build/picobsd
Modified: head/release/picobsd/build/picobsd
=
Author: luigi
Date: Wed Jan 27 02:22:31 2016
New Revision: 294882
URL: https://svnweb.freebsd.org/changeset/base/294882
Log:
cleanup and document in some detail the internals of the testing code
for dummynet schedulers
Modified:
head/sys/netpfil/ipfw/test/Makefile
head/sys/netpfil/ipfw/te
Author: luigi
Date: Wed Jan 27 02:14:08 2016
New Revision: 294881
URL: https://svnweb.freebsd.org/changeset/base/294881
Log:
the _Static_assert was not supposed to be in the commit.
Modified:
head/sys/netpfil/ipfw/dn_sched_rr.c
Modified: head/sys/netpfil/ipfw/dn_sched_rr.c
==
Author: luigi
Date: Wed Jan 27 02:08:30 2016
New Revision: 294879
URL: https://svnweb.freebsd.org/changeset/base/294879
Log:
bugfix: the scheduler template (dn_schk) for the round robin scheduler
is followed by another structure (rr_schk) whose size must be set
in the schk_datalen field of t
Author: luigi
Date: Tue Jan 26 23:37:07 2016
New Revision: 294859
URL: https://svnweb.freebsd.org/changeset/base/294859
Log:
fix various warnings to compile the test code with -Wextra
Modified:
head/sys/netpfil/ipfw/test/Makefile
head/sys/netpfil/ipfw/test/main.c
head/sys/netpfil/ipfw/tes
Author: luigi
Date: Tue Jan 26 23:36:18 2016
New Revision: 294858
URL: https://svnweb.freebsd.org/changeset/base/294858
Log:
fix various warnings (signed/unsigned, printf types, unused arguments)
Modified:
head/sys/netpfil/ipfw/dn_sched_qfq.c
Modified: head/sys/netpfil/ipfw/dn_sched_qfq.c
==
Author: luigi
Date: Tue Jan 26 22:46:58 2016
New Revision: 294857
URL: https://svnweb.freebsd.org/changeset/base/294857
Log:
prevent warnings for signed/unsigned comparisons and unused arguments.
Add checks for parameters overflowing 32 bit.
Modified:
head/sys/netpfil/ipfw/dn_sched_rr.c
Mo
Author: luigi
Date: Tue Jan 26 22:45:45 2016
New Revision: 294856
URL: https://svnweb.freebsd.org/changeset/base/294856
Log:
prevent warning for unused argument
Modified:
head/sys/netpfil/ipfw/dn_sched_fifo.c
Modified: head/sys/netpfil/ipfw/dn_sched_fifo.c
===
Author: luigi
Date: Tue Jan 26 22:45:05 2016
New Revision: 294855
URL: https://svnweb.freebsd.org/changeset/base/294855
Log:
avoid warnings for signed/unsigned comparison and unused arguments
Modified:
head/sys/netpfil/ipfw/dn_heap.c
Modified: head/sys/netpfil/ipfw/dn_heap.c
Author: luigi
Date: Tue Jan 26 04:48:24 2016
New Revision: 294761
URL: https://svnweb.freebsd.org/changeset/base/294761
Log:
Revert one chunk from commit 285362, which introduced an off-by-one error
in computing a shift index. The error was due to the use of mixed
fls() / __fls() functions i
Author: luigi
Date: Sun Jul 19 18:06:30 2015
New Revision: 285698
URL: https://svnweb.freebsd.org/changeset/base/285698
Log:
properly destroy persistent vale ports
Modified:
head/sys/dev/netmap/netmap_vale.c
Modified: head/sys/dev/netmap/netmap_vale.c
Author: luigi
Date: Sun Jul 19 18:07:25 2015
New Revision: 285699
URL: https://svnweb.freebsd.org/changeset/base/285699
Log:
add a use count so the netmap module cannot be unloaded while in use.
Modified:
head/sys/dev/netmap/netmap.c
head/sys/dev/netmap/netmap_freebsd.c
head/sys/dev/netma
Author: luigi
Date: Sun Jul 19 18:05:49 2015
New Revision: 285697
URL: https://svnweb.freebsd.org/changeset/base/285697
Log:
do not free NULL if pipe allocation fails
Modified:
head/sys/dev/netmap/netmap_pipe.c
Modified: head/sys/dev/netmap/netmap_pipe.c
=
Author: luigi
Date: Sun Jul 19 18:04:51 2015
New Revision: 285696
URL: https://svnweb.freebsd.org/changeset/base/285696
Log:
release a reference when stopping a monitor
Modified:
head/sys/dev/netmap/netmap_monitor.c
Modified: head/sys/dev/netmap/netmap_monitor.c
=
Author: luigi
Date: Sun Jul 19 17:54:42 2015
New Revision: 285695
URL: https://svnweb.freebsd.org/changeset/base/285695
Log:
small documentation update
Modified:
head/sys/dev/netmap/netmap_kern.h
Modified: head/sys/dev/netmap/netmap_kern.h
Author: luigi
Date: Sat Jul 18 15:28:32 2015
New Revision: 285677
URL: https://svnweb.freebsd.org/changeset/base/285677
Log:
fix a typo in a comment
Modified:
head/sys/netinet/ip_var.h
Modified: head/sys/netinet/ip_var.h
===
Author: luigi
Date: Mon Jul 13 10:23:52 2015
New Revision: 285445
URL: https://svnweb.freebsd.org/changeset/base/285445
Log:
set the refcount for the structure (dropped by mistake in the last commit).
Modified:
head/sys/dev/netmap/netmap_freebsd.c
Modified: head/sys/dev/netmap/netmap_freebsd
Author: luigi
Date: Fri Jul 10 19:24:36 2015
New Revision: 285362
URL: https://svnweb.freebsd.org/changeset/base/285362
Log:
assorted algorithmic fixes from Paolo Valente (one of my qfq coauthors):
- use 1ULL to avoid shift truncations
- recompute the sum of weight dynamically to provide bet
Author: luigi
Date: Fri Jul 10 19:18:49 2015
New Revision: 285361
URL: https://svnweb.freebsd.org/changeset/base/285361
Log:
one more warning suppression when compiling the test code in userspace.
Modified:
head/sys/netpfil/ipfw/dn_heap.c
Modified: head/sys/netpfil/ipfw/dn_heap.c
===
Author: luigi
Date: Fri Jul 10 18:10:40 2015
New Revision: 285360
URL: https://svnweb.freebsd.org/changeset/base/285360
Log:
add code to compute fairness indexes;
cleanups to remove compile warnings.
Modified:
head/sys/netpfil/ipfw/test/dn_test.h
head/sys/netpfil/ipfw/test/main.c
Modifie
Author: luigi
Date: Fri Jul 10 16:05:24 2015
New Revision: 285359
URL: https://svnweb.freebsd.org/changeset/base/285359
Log:
staticize functions only used in netmap.c
(detected by jenkins run with gcc 4.9)
Update documentation on the use of netmap_priv_d,
rename the refcount and use the
Author: luigi
Date: Fri Jul 10 07:13:14 2015
New Revision: 285351
URL: https://svnweb.freebsd.org/changeset/base/285351
Log:
add netmap dependency when compiled as a module
Modified:
head/sys/dev/virtio/network/if_vtnet.c
Modified: head/sys/dev/virtio/network/if_vtnet.c
=
Author: luigi
Date: Fri Jul 10 05:51:36 2015
New Revision: 285349
URL: https://svnweb.freebsd.org/changeset/base/285349
Log:
Sync netmap sources with the version in our private tree.
This commit contains large contributions from Giuseppe Lettieri and
Stefano Garzarella, is partly supported b
Author: luigi
Date: Fri Jul 10 05:07:18 2015
New Revision: 285348
URL: https://svnweb.freebsd.org/changeset/base/285348
Log:
rev.284898 removed _SHLIBDIRPREFIX so we need to reconstruct its value
to properly locate libraries created in the buildworld phase.
Modified:
head/release/picobsd/bu
Author: luigi
Date: Wed Jul 8 18:36:37 2015
New Revision: 285284
URL: https://svnweb.freebsd.org/changeset/base/285284
Log:
only enable immintrin when clang is used. The base gcc does not support it.
Reviewed by: delphij
Modified:
head/lib/liblzma/config.h
Modified: head/lib/liblzma/c
Author: luigi
Date: Wed Jul 8 16:42:28 2015
New Revision: 285281
URL: https://svnweb.freebsd.org/changeset/base/285281
Log:
add an extra tty for picobsd builds
Modified:
head/release/picobsd/floppy.tree/etc/ttys
Modified: head/release/picobsd/floppy.tree/etc/ttys
===
Author: luigi
Date: Wed Jul 8 16:41:25 2015
New Revision: 285280
URL: https://svnweb.freebsd.org/changeset/base/285280
Log:
trap some errors when building picobsd
Modified:
head/release/picobsd/build/picobsd
Modified: head/release/picobsd/build/picobsd
==
Author: luigi
Date: Tue May 26 21:12:02 2015
New Revision: 283583
URL: https://svnweb.freebsd.org/changeset/base/283583
Log:
MFC: 272451, 272653 add CAP_EVENT so that we can poll() on netmap and pcap
file descriptors
Modified:
stable/10/contrib/tcpdump/tcpdump.c
Modified: stable/10/contrib
Author: luigi
Date: Tue May 19 16:51:30 2015
New Revision: 283116
URL: https://svnweb.freebsd.org/changeset/base/283116
Log:
use proper types to represent function pointers
Modified:
head/sys/netpfil/ipfw/ip_fw_pfil.c
head/sys/netpfil/ipfw/ip_fw_sockopt.c
Modified: head/sys/netpfil/ipfw/ip
Author: luigi
Date: Tue May 19 15:29:00 2015
New Revision: 283113
URL: https://svnweb.freebsd.org/changeset/base/283113
Log:
remove a redundant ; at the end of a function
MFC after:1 week
Modified:
head/sys/netpfil/ipfw/ip_dn_private.h
Modified: head/sys/netpfil/ipfw/ip_dn_private.h
Author: luigi
Date: Tue May 19 14:49:31 2015
New Revision: 283111
URL: https://svnweb.freebsd.org/changeset/base/283111
Log:
remove an extra ; after MODULE_DEPEND
(would otherwise generate a warning with more verbose compiler flags)
MFC after:1 week
Modified:
head/sys/netpfil/ipfw/
Author: luigi
Date: Wed May 13 11:53:25 2015
New Revision: 282856
URL: https://svnweb.freebsd.org/changeset/base/282856
Log:
bugfix (only affecting the "lookup" option in the userspace version of ipfw):
the conditional block should not include the 'else' otherwise
the code does a 'break;'
xr);
+ return (FALSE);
+ }
+#endif /* DEV_NETMAP */
for (i = rxr->next_check; count != 0;) {
struct mbuf *sendmp, *mh, *mp;
Added: head/sys/dev/netmap/if_ixl_netmap.h
======
--- /dev/null 00:00:00 1970 (empty
Author: luigi
Date: Mon Feb 23 07:28:31 2015
New Revision: 279199
URL: https://svnweb.freebsd.org/changeset/base/279199
Log:
add MODULE_VERSION, needed to track module dependencies
MFC after:3 days
Modified:
head/sys/dev/netmap/netmap_freebsd.c
Modified: head/sys/dev/netmap/netmap_f
Author: luigi
Date: Sat Feb 14 19:41:26 2015
New Revision: 278779
URL: https://svnweb.freebsd.org/changeset/base/278779
Log:
sync the code with the version in head. which the exception of
svn 275358 (M_FLOWID deprecation, only a couple of lines)
which cannot be merged.
if_lem_netmap.h,
Author: luigi
Date: Sat Feb 14 19:18:56 2015
New Revision: 278775
URL: https://svnweb.freebsd.org/changeset/base/278775
Log:
sync with the version in head (r274338):
fix one comment, and return kernel-supplied error if available.
no API changes.
Modified:
stable/10/sys/net/netmap_user.h
Author: luigi
Date: Sat Feb 14 19:03:11 2015
New Revision: 278774
URL: https://svnweb.freebsd.org/changeset/base/278774
Log:
two minor changes from the master netmap version:
1. handle errors from nm_config(), if any (none of the FreeBSD drivers
currently returns an error on this function
Author: luigi
Date: Sat Feb 14 18:59:31 2015
New Revision: 278773
URL: https://svnweb.freebsd.org/changeset/base/278773
Log:
whitespace change:
clarify the role of MAKEDEV_ETERNAL_KLD, and remove an old
#ifdef __FreeBSD__ since the code is valid on all platforms.
Modified:
head/sys/dev/ne
Hi,
the update to tcpdump 4.6.2 also lost svn272451 and 272653 (addition of
CAP_EVENT to the capabilities given to tcpdump).
Given this and the other bug fixed in 277638, I am not sure if there
are other local changes that have been lost in the merge.
Also I wonder whether there is something we sh
ty, because file is newly added)
+++ stable/10/lib/libpcap/pcap-netmap.c Mon Jan 26 03:26:37 2015
(r277722, copy of r272659, head/lib/libpcap/pcap-netmap.c)
@@ -0,0 +1,283 @@
+/*
+ * Copyright (C) 2014 Luigi Rizzo. All rights reserved.
+ *
+ * Redistribution and use in source and binary form
Author: luigi
Date: Sat Jan 24 08:48:05 2015
New Revision: 277641
URL: https://svnweb.freebsd.org/changeset/base/277641
Log:
do not strip /stand
This is a temporary workaround until the elftoolchain's version
of strip is fixed:
The previous (GNU) strip, when acting on a file with mul
Author: luigi
Date: Sat Jan 24 06:11:13 2015
New Revision: 277639
URL: https://svnweb.freebsd.org/changeset/base/277639
Log:
use the same version as in HEAD
(among other things, the -v flag to make is long since unsupported)
Modified:
stable/10/release/picobsd/build/picobsd
Modified: stabl
Not that i mind if it is intentional (though it seems not), but after this
commit tcpdump does not build anymore with -DWITHOUT_CASPER.
To be precise, the failure is when you do a buildworld with WITHOUT_CASPER,
which does not install the libcapsicum headers.
I understand that there is a change i
otal > 0) {
> + counter_u64_add(r->restarts, 1);
> + counter_u64_add(r->stalls, 1);
> + }
> + break;
> + }
> + cidx = increment_idx(r, cidx, n);
> +
Author: luigi
Date: Thu Nov 13 00:40:34 2014
New Revision: 274459
URL: https://svnweb.freebsd.org/changeset/base/274459
Log:
add support for private knote lock (reduces lock contention),
adapting OS_selrecord accordingly.
Problem and fix suggested by adrian and jmg
Modified:
head/sys/dev/
Author: luigi
Date: Thu Nov 13 00:14:25 2014
New Revision: 274457
URL: https://svnweb.freebsd.org/changeset/base/274457
Log:
we need full barriers here
Modified:
head/sys/dev/netmap/netmap_monitor.c
head/sys/dev/netmap/netmap_pipe.c
Modified: head/sys/dev/netmap/netmap_monitor.c
==
Author: luigi
Date: Tue Nov 11 00:13:28 2014
New Revision: 274362
URL: https://svnweb.freebsd.org/changeset/base/274362
Log:
in the Linux section, properly define the NMG_LOCK type.
Also import WITH_GENERIC in preparation to adding fine-grained
options to disable specific netmap components.
Author: luigi
Date: Tue Nov 11 00:10:44 2014
New Revision: 274361
URL: https://svnweb.freebsd.org/changeset/base/274361
Log:
- fix typo: use ring size from the rx ring, not the tx one (they should be
the same, but just in case);
- reuse the previously computed len-1 value
Modified:
head
Author: luigi
Date: Mon Nov 10 21:00:23 2014
New Revision: 274355
URL: https://svnweb.freebsd.org/changeset/base/274355
Log:
fix a typo
Modified:
head/sys/dev/netmap/netmap_kern.h
Modified: head/sys/dev/netmap/netmap_kern.h
Author: luigi
Date: Mon Nov 10 20:25:33 2014
New Revision: 274354
URL: https://svnweb.freebsd.org/changeset/base/274354
Log:
initialize *color if passed as an argument
Modified:
head/sys/dev/netmap/netmap_freebsd.c
Modified: head/sys/dev/netmap/netmap_freebsd.c
==
Author: luigi
Date: Mon Nov 10 20:19:58 2014
New Revision: 274353
URL: https://svnweb.freebsd.org/changeset/base/274353
Log:
sync a comment with our internal repo
Modified:
head/sys/dev/netmap/netmap_generic.c
Modified: head/sys/dev/netmap/netmap_generic.c
===
Author: luigi
Date: Mon Nov 10 08:31:56 2014
New Revision: 274338
URL: https://svnweb.freebsd.org/changeset/base/274338
Log:
return kernel-supplied error if available.
Also fix field names in a comment.
Modified:
head/sys/net/netmap_user.h
Modified: head/sys/net/netmap_user.h
=
On Thu, Nov 06, 2014 at 03:05:30PM +0400, Alexander V. Chernikov wrote:
> On 15.10.2014 05:22, Adrian Chadd wrote:
> > Author: adrian
> > Date: Wed Oct 15 01:22:56 2014
> > New Revision: 273112
> > URL: https://svnweb.freebsd.org/changeset/base/273112
> >
> > Log:
> >Set the DROP_EN bit before
Author: luigi
Date: Wed Oct 22 18:55:36 2014
New Revision: 273479
URL: https://svnweb.freebsd.org/changeset/base/273479
Log:
since we cast a pointer, use the correct signedness
(this was already in, and got lost in a recent update).
Modified:
head/sys/net/radix.c
Modified: head/sys/net/rad
Author: luigi
Date: Wed Oct 22 05:21:36 2014
New Revision: 273453
URL: https://svnweb.freebsd.org/changeset/base/273453
Log:
remove/fix old code for building ipfw and dummynet in userspace
Modified:
head/sys/netpfil/ipfw/ip_dn_io.c
head/sys/netpfil/ipfw/ip_fw_private.h
head/sys/netpfil/ip
On Sun, Oct 19, 2014 at 03:02:07PM +0300, Andriy Gapon wrote:
> On 19/10/2014 14:15, Alexander V. Chernikov wrote:
> > +static uint32_t
> > +roundup2p(uint32_t v)
> > +{
> > +
> > + v--;
> > + v |= v >> 1;
> > + v |= v >> 2;
> > + v |= v >> 4;
> > + v |= v >> 8;
> > + v |= v >> 16;
> >
On Sat, Oct 18, 2014 at 07:36:12PM +, Adrian Chadd wrote:
> Author: adrian
> Date: Sat Oct 18 19:36:11 2014
> New Revision: 273266
> URL: https://svnweb.freebsd.org/changeset/base/273266
>
> Log:
> Update the ULE scheduler + thread and kinfo structs to use int for cpuid
> rather than u_cha
On Wed, Oct 15, 2014 at 08:14:19AM +0400, Gleb Smirnoff wrote:
> On Tue, Oct 14, 2014 at 11:38:23PM -0400, Ed Maste wrote:
> E> On 14 October 2014 23:04, Gleb Smirnoff wrote:
> E> >
> E> > Look at results at the end of email. Guess what -j and -m mean. I
> E> > want either proving me doing the tes
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libpcap/pcap-netmap.c Mon Oct 6 15:48:28 2014
(r272659)
@@ -0,0 +1,283 @@
+/*
+ * Copyright (C) 2014 Luigi Rizzo. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with o
Author: luigi
Date: Mon Oct 6 15:03:08 2014
New Revision: 272653
URL: https://svnweb.freebsd.org/changeset/base/272653
Log:
Fix comment and sort rights by name
MFC after:3 days
Modified:
head/contrib/tcpdump/tcpdump.c
Modified: head/contrib/tcpdump/tcpdump.c
===
Author: luigi
Date: Mon Oct 6 14:39:45 2014
New Revision: 272648
URL: https://svnweb.freebsd.org/changeset/base/272648
Log:
MFC r272108: add missing file for building netmap as a module
Modified:
stable/10/sys/modules/netmap/Makefile
Modified: stable/10/sys/modules/netmap/Makefile
=
Author: luigi
Date: Mon Oct 6 09:46:21 2014
New Revision: 272604
URL: https://svnweb.freebsd.org/changeset/base/272604
Log:
MFC r272111
fix a panic when passing ifioctl from a netmap file descriptor to
the underlying device. This needs to be merged to 10.1
Modified:
stable/10/sys/dev/net
Author: luigi
Date: Thu Oct 2 21:34:52 2014
New Revision: 272451
URL: https://svnweb.freebsd.org/changeset/base/272451
Log:
add CAP_EVENT for the libpcap device so we will be able to use
pcap--netmap which does poll() on the file descriptor
MFC after:2 weeks
Modified:
head/contrib
Author: luigi
Date: Thu Sep 25 16:22:32 2014
New Revision: 272111
URL: http://svnweb.freebsd.org/changeset/base/272111
Log:
fix a panic when passing ifioctl from a netmap file descriptor to
the underlying device. This needs to be merged to 10.1
Reported by: Patrick Kelsey
MFC after:
Author: luigi
Date: Thu Sep 25 15:57:57 2014
New Revision: 272110
URL: http://svnweb.freebsd.org/changeset/base/272110
Log:
adapt the code to different freebsd versions.
Not necessary to MFC
Modified:
head/sys/dev/netmap/netmap_kern.h
Modified: head/sys/dev/netmap/netmap_kern.h
===
Author: luigi
Date: Thu Sep 25 14:25:38 2014
New Revision: 272108
URL: http://svnweb.freebsd.org/changeset/base/272108
Log:
add missing file
Submitted by: Daniel Peyrolon
MFC after:3 days
Modified:
head/sys/modules/netmap/Makefile
Modified: head/sys/modules/netmap/Makefile
===
*/
>
> /* Various procedures of the layer2 encapsulation and drivers. */
> int (*if_output)/* output routine (enqueue) */
>
>
--
-+---
Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione
http://ww
Author: luigi
Date: Wed Aug 20 23:34:36 2014
New Revision: 270252
URL: http://svnweb.freebsd.org/changeset/base/270252
Log:
MFC 270063: update of netmap code
(vtnet and cxgbe not merged yet because we need some other mfc first)
Added:
stable/10/sys/dev/netmap/if_vtnet_netmap.h (contents,
Author: luigi
Date: Wed Aug 20 17:33:32 2014
New Revision: 270235
URL: http://svnweb.freebsd.org/changeset/base/270235
Log:
MFC 259907 (dates back to december)
use the correct netmap <-> nic slot mapping on the transmit ring for 'lem'.
This bug would manifest only in netmap mode and on packe
Author: luigi
Date: Sun Aug 17 10:25:27 2014
New Revision: 270097
URL: http://svnweb.freebsd.org/changeset/base/270097
Log:
staticize two functions, and use proper format for a struct sglist
(reported by bz)
Modified:
head/sys/dev/netmap/if_vtnet_netmap.h
Modified: head/sys/dev/netmap/if_v
On Sat, Aug 16, 2014 at 03:00:01PM +, Luigi Rizzo wrote:
> Author: luigi
...
> 5. if_lem.c: support for various paravirtualization features,
> experimental and disabled by default.
> Most of these are described in our ANCS'13 paper [1].
> Paravirtualized suppo
Author: luigi
Date: Sat Aug 16 15:00:01 2014
New Revision: 270063
URL: http://svnweb.freebsd.org/changeset/base/270063
Log:
Update to the current version of netmap.
Mostly bugfixes or features developed in the past 6 months,
so this is a 10.1 candidate.
Basically no user API changes (so
Author: luigi
Date: Sat Aug 16 13:13:17 2014
New Revision: 270046
URL: http://svnweb.freebsd.org/changeset/base/270046
Log:
print additional debugging info in virtqueue_dump()
(not fundamental, but useful to debug performance issues on vtnet)
MFC after:3 days
Modified:
head/sys/dev
Author: luigi
Date: Wed Jul 2 12:13:11 2014
New Revision: 268156
URL: http://svnweb.freebsd.org/changeset/base/268156
Log:
Various bugfixes from Stefano Garzarella:
1. oce_multiq_start(): make sure the buffer is consumed even on ENXIO
2. oce_multiq_transmit(): there is an extra call to d
On Mon, Jun 30, 2014 at 04:56:01PM +0200, Luigi Rizzo wrote:
> I am getting the following error while compiling with gcc:
>
> cc1: warnings being treated as errors
> /usr/home/luigi/FreeBSD/head/sys/dev/e1000/if_igb.c: In function
> 'igb_attach':
> /usr/home/luig
; > + u16 hlen, plen, hdr, vtag, pkt_info;
> > booleop = FALSE;
> >
> > cur = &rxr->rx_base[i];
> > @@ -4853,6 +5020,7 @@ igb_rxeof(struct igb_queue *que, int cou
> >
Author: luigi
Date: Tue Jun 10 17:24:46 2014
New Revision: 267334
URL: http://svnweb.freebsd.org/changeset/base/267334
Log:
MFC 267284
Fixes from Fanco Ficthner on transparent mode
* The way rings are updated changed with the last API bump.
Also sync ->head when moving slots in netma
Author: luigi
Date: Tue Jun 10 17:17:44 2014
New Revision: 267333
URL: http://svnweb.freebsd.org/changeset/base/267333
Log:
MFC 267328:
change the netmap mbuf destructor so the same code works also on FreeBSD 9.
For head and 10 this change has no effect, but on stable/9 it would cause
pani
Author: luigi
Date: Tue Jun 10 16:06:59 2014
New Revision: 267328
URL: http://svnweb.freebsd.org/changeset/base/267328
Log:
change the netmap mbuf destructor so the same code works also on FreeBSD 9.
For head and 10 this change has no effect, but on stable/9 it would cause
panics when using
Author: luigi
Date: Mon Jun 9 15:46:11 2014
New Revision: 267284
URL: http://svnweb.freebsd.org/changeset/base/267284
Log:
Fixes from Fanco Ficthner on transparent mode
* The way rings are updated changed with the last API bump.
Also sync ->head when moving slots in netmap_sw_to_nic().
Author: luigi
Date: Mon Jun 9 15:44:31 2014
New Revision: 267283
URL: http://svnweb.freebsd.org/changeset/base/267283
Log:
sync the code with the one in stable/10
(wrap the if_t compatibilty function into a __FreeBSD_version
conditional block)
Modified:
head/sys/dev/netmap/netmap_kern.h
Author: luigi
Date: Mon Jun 9 15:24:45 2014
New Revision: 267282
URL: http://svnweb.freebsd.org/changeset/base/267282
Log:
sync netmap code with the version in HEAD:
- fix handling of tx mbufs in emulated netmap mode;
- introduce mbq_lock() and mbq_unlock()
- rate limit some error message
Author: luigi
Date: Mon Jun 9 15:16:17 2014
New Revision: 267281
URL: http://svnweb.freebsd.org/changeset/base/267281
Log:
MFC 267168:
misc bugfixes:
- stdio.h is needed for fprint()
- make memsize uint32_t to avoid errors due to overflow
- honor the *XPOLL flagg in NIOCREGIF requests
Author: luigi
Date: Mon Jun 9 15:15:08 2014
New Revision: 267280
URL: http://svnweb.freebsd.org/changeset/base/267280
Log:
MFC 267167: whitespace changes (comments)
Modified:
stable/10/sys/net/netmap.h
Modified: stable/10/sys/net/netmap.h
Author: luigi
Date: Mon Jun 9 15:09:05 2014
New Revision: 267279
URL: http://svnweb.freebsd.org/changeset/base/267279
Log:
MFC svn 267065 and 267187
make sure ifp->if_transmit returns 0 if a buffer is enqueued.
This should also be merged to stable/9.
After this fix, drivers still kn
Author: luigi
Date: Fri Jun 6 20:49:56 2014
New Revision: 267187
URL: http://svnweb.freebsd.org/changeset/base/267187
Log:
make sure if_transmit returns 0 if the mbuf is enqueued.
ixgbe/ixv.c still needs a similar fix but it takes a little
more restructuring of the code.
MFC after:
Author: luigi
Date: Fri Jun 6 18:36:02 2014
New Revision: 267180
URL: http://svnweb.freebsd.org/changeset/base/267180
Log:
better handling of netmap emulation over standard device drivers:
plug a potential mbuf leak, and detect bogus drivers that
return ENOBUFS even when the packet has been
Author: luigi
Date: Fri Jun 6 18:02:32 2014
New Revision: 267177
URL: http://svnweb.freebsd.org/changeset/base/267177
Log:
introduce mbq_lock() and mbq_unlock() for the mbq,
so it is easier to buil the same code on linux
(this generalizes the change in svn 267142)
MFC after:3 days
Author: luigi
Date: Fri Jun 6 16:23:08 2014
New Revision: 267170
URL: http://svnweb.freebsd.org/changeset/base/267170
Log:
move netmap_getna() to a freebsd-specific file
Modified:
head/sys/dev/netmap/netmap_freebsd.c
head/sys/dev/netmap/netmap_generic.c
Modified: head/sys/dev/netmap/netma
Author: luigi
Date: Fri Jun 6 15:17:19 2014
New Revision: 267168
URL: http://svnweb.freebsd.org/changeset/base/267168
Log:
misc bugfixes:
- stdio.h is needed for fprint()
- make memsize uint32_t to avoid errors due to overflow
- honor the *XPOLL flagg in NIOCREGIF requests
- mmap fails
1 - 100 of 697 matches
Mail list logo