Author: vmaffione
Date: Sun Nov 22 13:39:21 2020
New Revision: 367936
URL: https://svnweb.freebsd.org/changeset/base/367936
Log:
netmap: bridge: improve readability
Multiple cosmetic changes, plus a fix to a verbose print
(indicating wrong net->host/host->net direction).
MFC after:
Author: vmaffione
Date: Sun Nov 22 10:02:56 2020
New Revision: 367935
URL: https://svnweb.freebsd.org/changeset/base/367935
Log:
netmap: valectl: switch to libnetmap
Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h
MFC aft
Author: vmaffione
Date: Sun Nov 22 09:38:01 2020
New Revision: 367934
URL: https://svnweb.freebsd.org/changeset/base/367934
Log:
netmap: nmreplay: switch to libnetmap
Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h
MFC af
Author: vmaffione
Date: Sun Nov 22 09:28:50 2020
New Revision: 367933
URL: https://svnweb.freebsd.org/changeset/base/367933
Log:
netmap: lb: switch to libnetmap
Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h
MFC after:
Author: vmaffione
Date: Sun Nov 22 09:20:08 2020
New Revision: 367932
URL: https://svnweb.freebsd.org/changeset/base/367932
Log:
netmap: pkt-gen: switch to libnetmap
Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h
Modified:
Author: vmaffione
Date: Sun Nov 22 09:10:12 2020
New Revision: 367931
URL: https://svnweb.freebsd.org/changeset/base/367931
Log:
netmap: bridge: switch to libnetmap
Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h
Modified:
Author: vmaffione
Date: Sat Nov 21 18:47:13 2020
New Revision: 367921
URL: https://svnweb.freebsd.org/changeset/base/367921
Log:
netmap: bridge, pkt-gen: fix man page typo
Reported by: ian
MFC after:3 days
Modified:
head/tools/tools/netmap/bridge.8
head/tools/tools/netmap/pkt-ge
ups...
Thanks!
Cheers,
Vincenzo
Il giorno sab 21 nov 2020 alle ore 19:27 Ian Lepore ha
scritto:
> On Sat, 2020-11-21 at 18:20 +0000, Vincenzo Maffione wrote:
> > Author: vmaffione
> > Date: Sat Nov 21 18:20:21 2020
> > New Revision: 367920
> ...
> > +.Bd -li
Author: vmaffione
Date: Sat Nov 21 18:20:21 2020
New Revision: 367920
URL: https://svnweb.freebsd.org/changeset/base/367920
Log:
netmap: bridge: update man page with more information
Update the man page to describe how it is necessary to
enable promiscuous mode and/or disable offloads.
M
Author: vmaffione
Date: Wed Oct 28 21:06:17 2020
New Revision: 367117
URL: https://svnweb.freebsd.org/changeset/base/367117
Log:
iflib: fix typo bug introduced by r367093
Code was supposed to call callout_reset_sbt_on() rather than
callout_reset_sbt(). This resulted into passing a "cpu" v
Author: vmaffione
Date: Tue Oct 27 21:53:33 2020
New Revision: 367093
URL: https://svnweb.freebsd.org/changeset/base/367093
Log:
iflib: add per-tx-queue netmap timer
The way netmap TX is handled in iflib when TX interrupts are not
used (IFC_NETMAP_TX_IRQ not set) has some issues:
- Th
Author: vmaffione
Date: Thu Oct 22 20:21:11 2020
New Revision: 366952
URL: https://svnweb.freebsd.org/changeset/base/366952
Log:
netmap: fix mutex double unlock bug
https://github.com/luigirizzo/netmap/pull/733
Submitted by: brian90013
MFC after:3 days
Modified:
head/sys/dev/
Author: vmaffione
Date: Sat Oct 3 13:27:12 2020
New Revision: 366394
URL: https://svnweb.freebsd.org/changeset/base/366394
Log:
netmap: tools: extend CFLAGS after including bsd.prog.mk
MFC after:1 week
Modified:
head/tools/tools/netmap/Makefile
Modified: head/tools/tools/netmap/Mak
Author: vmaffione
Date: Sat Oct 3 13:19:48 2020
New Revision: 366393
URL: https://svnweb.freebsd.org/changeset/base/366393
Log:
netmap: tools: fix several compiler warnings
MFC after:1 week
Modified:
head/tools/tools/netmap/Makefile
head/tools/tools/netmap/bridge.c
head/tools/to
Author: vmaffione
Date: Sat Oct 3 09:36:33 2020
New Revision: 366389
URL: https://svnweb.freebsd.org/changeset/base/366389
Log:
netmap: minor documentation fix
Also update date of pkt-gen.8 (not done in r366387).
Submitted by: milosz.kaniew...@gmail.com
MFC after:3 days
Modifie
Author: vmaffione
Date: Sat Oct 3 09:33:29 2020
New Revision: 366388
URL: https://svnweb.freebsd.org/changeset/base/366388
Log:
netmap: fix constness warnings generated by "-Wcast-qual"
Submitted by: milosz.kaniew...@gmail.com
MFC after:3 days
Modified:
head/sys/net/netmap_user.h
Author: vmaffione
Date: Sat Oct 3 09:23:34 2020
New Revision: 366387
URL: https://svnweb.freebsd.org/changeset/base/366387
Log:
netmap: pkt-gen: minor corrections to documentation
Submitted by: Brian Poole
MFC after:3 days
Modified:
head/tools/tools/netmap/pkt-gen.8
head/tools/
Author: vmaffione
Date: Tue Sep 22 20:20:43 2020
New Revision: 366011
URL: https://svnweb.freebsd.org/changeset/base/366011
Log:
libnetmap: fix cast from uint64_t to void*
We use uintptr_t as an intermediate cast to avoid compiler
warnings on 32 bit architectures.
Reported by: adria
Author: vmaffione
Date: Tue Sep 1 20:41:47 2020
New Revision: 365061
URL: https://svnweb.freebsd.org/changeset/base/365061
Log:
iflib: leave only 1 receive descriptor unused
The pidx argument of isc_rxd_flush() indicates which is the last valid
receive descriptor to be used by the NIC. H
Author: vmaffione
Date: Tue Sep 1 06:06:32 2020
New Revision: 365023
URL: https://svnweb.freebsd.org/changeset/base/365023
Log:
lib: libnetmap: add missing copyright headers
MFC after:2 weeks
Modified:
head/lib/libnetmap/nmctx-pthreads.c
head/lib/libnetmap/nmctx.c
head/lib/libne
Author: vmaffione
Date: Fri Aug 28 20:03:54 2020
New Revision: 364936
URL: https://svnweb.freebsd.org/changeset/base/364936
Log:
lib: add libnetmap
This changeset introduces the new libnetmap library for writing
netmap applications.
Before libnetmap, applications could either use the ke
Author: vmaffione
Date: Tue Aug 25 15:19:45 2020
New Revision: 364770
URL: https://svnweb.freebsd.org/changeset/base/364770
Log:
iflib: netmap: publish all the receive buffer
At initialization time, the netmap RX refill function used to
prepare the NIC RX ring with N-1 buffers rather than
Author: vmaffione
Date: Mon Aug 24 20:28:21 2020
New Revision: 364731
URL: https://svnweb.freebsd.org/changeset/base/364731
Log:
netmap: use FreeBSD guards for epoch calls
EPOCH calls are FreeBSD specific. Use guards to protect these, so
that the code can compile under Linux.
MFC aft
Author: vmaffione
Date: Mon Aug 24 11:44:20 2020
New Revision: 364655
URL: https://svnweb.freebsd.org/changeset/base/364655
Log:
iflib: fix isc_rxd_flush call in netmap_fl_refill()
The semantic of the pidx argument of isc_rxd_flush() is the
last valid index of in the free list, rather tha
Author: vmaffione
Date: Tue Aug 18 08:03:28 2020
New Revision: 364341
URL: https://svnweb.freebsd.org/changeset/base/364341
Log:
netmap: fix parsing of legacy nmr->nr_ringid
Code was checking for NETMAP_{SW,HW}_RING in req->nr_ringid which
had already been masked by NETMAP_RING_MASK. Ther
Author: vmaffione
Date: Wed Aug 12 14:45:31 2020
New Revision: 364165
URL: https://svnweb.freebsd.org/changeset/base/364165
Log:
iflib: netmap: improve rxsync to support IFLIB_HAS_RXCQ
For drivers with IFLIB_HAS_RXCQ set, there is a separate completion
queue. In this case, the netmap rxsy
Author: vmaffione
Date: Wed Aug 12 14:17:38 2020
New Revision: 364164
URL: https://svnweb.freebsd.org/changeset/base/364164
Log:
iflib: refactor netmap_fl_refill and fix off-by-one issue
First, fix the initialization of the fl->ifl_rxd_idxs array,
which was affected by an off-by-one bug.
Author: vmaffione
Date: Thu Aug 6 21:37:38 2020
New Revision: 363997
URL: https://svnweb.freebsd.org/changeset/base/363997
Log:
iflib: netmap: drop redundant check
The validity of head is already checked by nm_rxsync_prologue().
MFC after:2 weeks
Modified:
head/sys/net/iflib.c
Author: vmaffione
Date: Thu Aug 6 21:32:25 2020
New Revision: 363996
URL: https://svnweb.freebsd.org/changeset/base/363996
Log:
iflib: netmap: don't increment ifl_cidx on the wrong free list
Netmap only uses free list 0 to keep it consistent with its
one-to-one mapping between each netma
Author: vmaffione
Date: Thu Aug 6 21:01:26 2020
New Revision: 363995
URL: https://svnweb.freebsd.org/changeset/base/363995
Log:
em(4): honor vlanhwtag offload
The FreeBSD em driver fails to properly reset the VME flag
in the e1000 CTRL register oneg the following ifconfig command
Author: vmaffione
Date: Mon Jul 20 21:08:56 2020
New Revision: 363378
URL: https://svnweb.freebsd.org/changeset/base/363378
Log:
iflib: initialize netmap with the correct number of descriptors
In case the network device has a RX or TX control queue, the correct
number of TX/RX descriptors
Author: vmaffione
Date: Thu Jun 25 20:43:21 2020
New Revision: 362633
URL: https://svnweb.freebsd.org/changeset/base/362633
Log:
iflib: fix compilation issue introduced in r362621
The ifp local variable is useful even without netmap
and altq, as it is used to check for IFF_DRV_RUNNING.
Author: vmaffione
Date: Thu Jun 25 19:44:24 2020
New Revision: 362622
URL: https://svnweb.freebsd.org/changeset/base/362622
Log:
iflib: netmap: add support for partial ring openings
Reviewed by: gallatin
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D2
Author: vmaffione
Date: Thu Jun 25 19:35:43 2020
New Revision: 362621
URL: https://svnweb.freebsd.org/changeset/base/362621
Log:
iflib: netmap: add per-tx-queue netmap support
Reviewed by: gallatin
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D25253
Author: vmaffione
Date: Tue Jun 23 20:23:56 2020
New Revision: 362553
URL: https://svnweb.freebsd.org/changeset/base/362553
Log:
iflib: netmap: fix rsync index overrun
In the current iflib_netmap_rxsync, there is nothing that prevents
kring->nr_hwtail to overrun kring->nr_hwcur during the
Author: vmaffione
Date: Mon Jun 15 19:46:34 2020
New Revision: 362204
URL: https://svnweb.freebsd.org/changeset/base/362204
Log:
if_vtnet: let vtnet_rx_vq_intr() and vtnet_rxq_tq_intr() share code
Since the two functions are similar, introduce a common function
(vtnet_rx_vq_process()) to
Il giorno lun 15 giu 2020 alle ore 00:05 Jessica Clarke
ha scritto:
> On 14 Jun 2020, at 22:22, Tom Jones wrote:
> > On Sun, Jun 14, 2020 at 09:56:03PM +0100, Jessica Clarke wrote:
> >> On 14 Jun 2020, at 20:51, Tom Jones wrote:
> >>> On Mon, Jun 08, 2020 at 09:51:36PM +, Jessica Clarke wro
You may already know that, but FreeBSD-CURRENT supports mergeable rx
buffers as of r358180.
Cheers,
Vincenzo
Il giorno dom 14 giu 2020 alle ore 22:56 Jessica Clarke
ha scritto:
> On 14 Jun 2020, at 20:51, Tom Jones wrote:
> > On Mon, Jun 08, 2020 at 09:51:36PM +, Jessica Clarke wrote:
>
Author: vmaffione
Date: Sun Jun 14 21:07:12 2020
New Revision: 362185
URL: https://svnweb.freebsd.org/changeset/base/362185
Log:
iflib: netmap: enter/exit netmap mode after device stops
Avoid possible race conditions by calling nm_set_native_flags()
and nm_clear_native_flags() only after
Author: vmaffione
Date: Sun Jun 14 20:47:31 2020
New Revision: 362183
URL: https://svnweb.freebsd.org/changeset/base/362183
Log:
netmap: vtnet: fix races in vtnet_netmap_reg()
The nm_register callback needs to call nm_set_native_flags()
or nm_clear_native_flags() once the device has been
Author: vmaffione
Date: Thu Jun 11 20:35:28 2020
New Revision: 362076
URL: https://svnweb.freebsd.org/changeset/base/362076
Log:
netmap: introduce netmap_kring_on()
This function returns NULL if the ring identified by
queue id and direction is in netmap mode. Otherwise
return the corres
Author: vmaffione
Date: Tue Jun 9 19:15:43 2020
New Revision: 361982
URL: https://svnweb.freebsd.org/changeset/base/361982
Log:
iflib: netmap: honor netmap_irx_irq return values
In the receive interrupt routine, always call netmap_rx_irq().
The latter function will return != NM_IRQ_PASS
Author: vmaffione
Date: Wed Jun 3 17:47:32 2020
New Revision: 361760
URL: https://svnweb.freebsd.org/changeset/base/361760
Log:
netmap: vtnet: clean up rxsync disabled logs
MFC after:1 week
Modified:
head/sys/dev/netmap/if_vtnet_netmap.h
Modified: head/sys/dev/netmap/if_vtnet_netma
Author: vmaffione
Date: Wed Jun 3 17:46:21 2020
New Revision: 361759
URL: https://svnweb.freebsd.org/changeset/base/361759
Log:
netmap: vtnet: fix race condition in rxsync
This change prevents a race that happens when rxsync dequeues
N-1 rx packets (with N being the size of the netmap rx
Author: vmaffione
Date: Wed Jun 3 17:42:17 2020
New Revision: 361758
URL: https://svnweb.freebsd.org/changeset/base/361758
Log:
netmap: vtnet: add vtnrx_nm_refill index to receive queues
The new index tracks the next netmap slot that is going
to be enqueued into the virtqueue. The index
Author: vmaffione
Date: Wed Jun 3 05:49:19 2020
New Revision: 361747
URL: https://svnweb.freebsd.org/changeset/base/361747
Log:
netmap: vale: fix disabled logs
MFC after:1 week
Modified:
head/sys/dev/netmap/netmap_vale.c
Modified: head/sys/dev/netmap/netmap_vale.c
=
Author: vmaffione
Date: Wed Jun 3 05:48:42 2020
New Revision: 361746
URL: https://svnweb.freebsd.org/changeset/base/361746
Log:
netmap: vtnet: remove leftover memory barriers
MFC after:1 week
Modified:
head/sys/dev/netmap/if_vtnet_netmap.h
Modified: head/sys/dev/netmap/if_vtnet_net
Author: vmaffione
Date: Wed Jun 3 05:27:29 2020
New Revision: 361745
URL: https://svnweb.freebsd.org/changeset/base/361745
Log:
netmap: vtnet: call netmap_rx_irq() under VQ lock
The netmap_rx_irq() function normally wakes up user-space threads
waiting for more packets. In this case, it i
Author: vmaffione
Date: Wed Jun 3 05:09:33 2020
New Revision: 361744
URL: https://svnweb.freebsd.org/changeset/base/361744
Log:
netmap: vtnet: honor NM_IRQ_RESCHED
The netmap_rx_irq() function may return NM_IRQ_RESCHED to inform the
driver that more work is pending, and that netmap expec
Author: vmaffione
Date: Mon Jun 1 16:14:29 2020
New Revision: 361698
URL: https://svnweb.freebsd.org/changeset/base/361698
Log:
netmap: if_vtnet: avoid netmap ring wraparound
netmap assumes the one "slot" is left unused to distinguish
the empty ring and full ring conditions. This assumpt
Author: vmaffione
Date: Mon Jun 1 16:12:09 2020
New Revision: 361697
URL: https://svnweb.freebsd.org/changeset/base/361697
Log:
netmap: if_vtnet: replace vtnet_free_used()
The functionality contained in this function is duplicated,
as it is already available in vtnet_txq_free_mbufs()
a
Author: vmaffione
Date: Mon Jun 1 16:10:44 2020
New Revision: 361696
URL: https://svnweb.freebsd.org/changeset/base/361696
Log:
netmap: vtnet: fix RX virtqueue initialization bug
The vtnet_netmap_rxq_populate() function erroneously assumed
that kring->nr_hwcur = 0, i.e. the kring was in
Author: vmaffione
Date: Sat May 9 07:57:41 2020
New Revision: 360837
URL: https://svnweb.freebsd.org/changeset/base/360837
Log:
bhyve: update man page to describe the virtio-net mtu option
r359704 introduced an 'mtu' option for the virtio-net device emulation.
Update the man page to desc
Author: vmaffione
Date: Tue Mar 31 16:47:15 2020
New Revision: 359489
URL: https://svnweb.freebsd.org/changeset/base/359489
Log:
valectl: fix typo in man page
Submitted by: Jose Luis Duran
MFC after:3 days
Modified:
head/usr.sbin/valectl/valectl.8
Modified: head/usr.sbin/valectl/v
Author: vmaffione
Date: Thu Feb 20 21:07:23 2020
New Revision: 358180
URL: https://svnweb.freebsd.org/changeset/base/358180
Log:
bhyve: enable virtio-net mergeable rx buffers for tap(4)
This patch adds a new netbe_peek_recvlen() function to the net
backend API. The new function allows the
Author: vmaffione
Date: Wed Feb 12 22:44:18 2020
New Revision: 357846
URL: https://svnweb.freebsd.org/changeset/base/357846
Log:
bhyve: move virtio-net header processing to pci_virtio_net
This patch cleans up the API between the net frontends (e1000,
virtio-net) and the net backends (tap
Author: vmaffione
Date: Fri Feb 7 19:26:26 2020
New Revision: 357663
URL: https://svnweb.freebsd.org/changeset/base/357663
Log:
netmap: improve netmap(4) and vale(4) man pages
Clean up obsolete sysctl descriptions and add missing ones.
PR: 243838
Reviewed by: bcr
MFC af
Author: vmaffione
Date: Sun Jan 26 21:34:46 2020
New Revision: 357159
URL: https://svnweb.freebsd.org/changeset/base/357159
Log:
netmap_mem_unmap: fix NULL pointer dereference
MFC after:3 days
Modified:
head/sys/dev/netmap/netmap_mem2.c
Modified: head/sys/dev/netmap/netmap_mem2.c
==
Author: vmaffione
Date: Mon Jan 13 21:47:23 2020
New Revision: 356704
URL: https://svnweb.freebsd.org/changeset/base/356704
Log:
netmap: disable passthrough with no hypervisor support
The netmap passthrough subsystem requires proper support in the
hypervisor. In particular, two PCI device
Author: vmaffione
Date: Mon Jan 13 21:26:17 2020
New Revision: 356703
URL: https://svnweb.freebsd.org/changeset/base/356703
Log:
vmx: fix initialization of TSO related descriptor fields
Fix a mistake introduced by r343291, which ported the vmx(4)
driver to iflib.
In case of TSO, the hle
file %s: %ld bytes", i, romfile, rlen);
goto done;
}
}
Modified: head/usr.sbin/bhyve/consport.c
==
--- head/usr.sbin/bhyve/consport.c Wed Jan 8 22:48:14 2020
(r356522)
+++ head/usr.sbin/bhyve/consport.c Wed Jan 8 22:55:22 2020
18:38 John Baldwin ha
scritto:
> On 12/3/19 7:14 AM, Ian Lepore wrote:
> > On Mon, 2019-12-02 at 23:22 -0800, Rodney W. Grimes wrote:
> >>> On Mon, 2019-12-02 at 20:51 +, Vincenzo Maffione wrote:
> >>>> Author: vmaffione
> >>>> Date: Mon Dec
Il giorno lun 2 dic 2019 alle ore 22:14 Ian Lepore ha
scritto:
> On Mon, 2019-12-02 at 20:51 +0000, Vincenzo Maffione wrote:
> > Author: vmaffione
> > Date: Mon Dec 2 20:51:46 2019
> > New Revision: 355301
> > URL: https://svnweb.freebsd.org/changeset/base/3553
Author: vmaffione
Date: Mon Dec 2 20:51:46 2019
New Revision: 355301
URL: https://svnweb.freebsd.org/changeset/base/355301
Log:
bhyve: uniform printf format string newlines
Some of the printf statements only use LF to get a newline. However, a CR
character is also required for the serial
Author: vmaffione
Date: Tue Nov 19 21:29:49 2019
New Revision: 354867
URL: https://svnweb.freebsd.org/changeset/base/354867
Log:
netmap: check if we already ran mmap before we attempt it
Submitted by: n...@neelc.org
Reviewed by: vmaffione
MFC after:1 week
Differential Revision:
Author: vmaffione
Date: Tue Nov 19 21:10:44 2019
New Revision: 354864
URL: https://svnweb.freebsd.org/changeset/base/354864
Log:
bhyve: virtio-net: disable receive until features are negotiated
This patch fixes a race condition where the receive callback is called
while the device is bein
Author: vmaffione
Date: Tue Nov 12 21:07:51 2019
New Revision: 354659
URL: https://svnweb.freebsd.org/changeset/base/354659
Log:
bhyve: rework mevent processing to fix a race condition
At the end of both mevent_add() and mevent_update(), mevent_notify()
is called to wakeup the I/O thread,
Author: vmaffione
Date: Fri Nov 8 17:57:03 2019
New Revision: 354552
URL: https://svnweb.freebsd.org/changeset/base/354552
Log:
bhyve: add support for virtio-net mergeable rx buffers
Mergeable rx buffers is a virtio-net feature that allows the hypervisor
to use multiple RX descriptor cha
Author: vmaffione
Date: Sun Nov 3 18:53:42 2019
New Revision: 354287
URL: https://svnweb.freebsd.org/changeset/base/354287
Log:
bhyve: fix mistake introduced by r352841
MFC after:1 week
Differential Revision:https://reviews.freebsd.org/D20973
Modified:
head/usr.sbin/bhyve/
Author: vmaffione
Date: Sun Nov 3 19:02:32 2019
New Revision: 354288
URL: https://svnweb.freebsd.org/changeset/base/354288
Log:
bhyve: add backend rx backpressure to virtio-net
If a VM is flooded with more ingress packets than the guest OS
can handle, the current virtio-net code will kee
Author: vmaffione
Date: Thu Oct 31 22:16:20 2019
New Revision: 354231
URL: https://svnweb.freebsd.org/changeset/base/354231
Log:
netmap: fix build issue in netmap_user.h
The issue was a comparison of integers of different signs
on 32 bit architectures.
Reported by: jenkins
MFC aft
Author: vmaffione
Date: Thu Oct 31 21:01:34 2019
New Revision: 354229
URL: https://svnweb.freebsd.org/changeset/base/354229
Log:
add valectl to the system commands
The valectl(4) program is used to manage vale(4) switches.
Add it to the system commands so that it can be used right away.
Author: vmaffione
Date: Mon Oct 28 19:00:27 2019
New Revision: 354137
URL: https://svnweb.freebsd.org/changeset/base/354137
Log:
netmap: enter NET_EPOCH on generic txsync
After r353292, netmap generic adapter on if_vlan interfaces panics on
asserting the NET_EPOCH. In more detail, this ha
Author: vmaffione
Date: Sun Oct 20 14:15:45 2019
New Revision: 353775
URL: https://svnweb.freebsd.org/changeset/base/353775
Log:
netmap: minor misc improvements
- use ring->head rather than ring->cur in lb(8)
- use strlcat() rather than strncat()
- fix bandwidth computation in pkt-ge
Author: vmaffione
Date: Fri Oct 18 21:53:27 2019
New Revision: 353741
URL: https://svnweb.freebsd.org/changeset/base/353741
Log:
tap: add support for virtio-net offloads
This patch is part of an effort to make bhyve networking (in particular TCP)
faster. The key strategy to enhance TCP th
Author: vmaffione
Date: Sat Sep 28 12:02:43 2019
New Revision: 352841
URL: https://svnweb.freebsd.org/changeset/base/352841
Log:
bhyve: support for enabling/disabling the net backend
Extend the net backend interface with two functions, namely netbe_rx_disable()
and netbe_rx_enable(), whic
Author: vmaffione
Date: Sat Apr 13 12:50:47 2019
New Revision: 346184
URL: https://svnweb.freebsd.org/changeset/base/346184
Log:
netmap: add test cases for multiple host rings
Extend the netmap unit tests with new test cases for the multiple-host-rings
feature introduced by r345269.
Author: vmaffione
Date: Sun Sep 1 14:47:41 2019
New Revision: 351657
URL: https://svnweb.freebsd.org/changeset/base/351657
Log:
netmap: import changes from upstream (SHA 137f537eae513)
- Rework option processing.
- Use larger integers for memory size values in the
memory managemen
Author: vmaffione
Date: Sun Aug 25 20:16:03 2019
New Revision: 351488
URL: https://svnweb.freebsd.org/changeset/base/351488
Log:
netmap: remove obsolete file
The netmap_pt.c module has become obsolete after
the refactoring that added netmap_kloop.c.
Remove it and unlink it from the buil
Author: vmaffione
Date: Mon Aug 19 17:26:04 2019
New Revision: 351221
URL: https://svnweb.freebsd.org/changeset/base/351221
Log:
link ptnet(4) man page to the build system
Reported by: kevans
Reviewed by: kevans, bcr
MFC after:1 week
Differential Revision:https://reviews
Author: vmaffione
Date: Mon Aug 19 17:23:22 2019
New Revision: 351220
URL: https://svnweb.freebsd.org/changeset/base/351220
Log:
if_tuntap: minor improvements
Rewrite a loop to avoid duplicating the exit condition.
Simplify mask processing in tunpoll().
Fix minor typos.
Reviewed by
Author: vmaffione
Date: Sat Jul 13 08:08:25 2019
New Revision: 349966
URL: https://svnweb.freebsd.org/changeset/base/349966
Log:
netmap: fix bug introduced by r349752
r349752 introduced a NULL pointer reference bug
in the emulated netmap code.
Reported by: lwhsu
MFC after:3 da
@@
10/05 Hiroki Sato born in Yamagata, Japan, 1977
10/05 Chris Costello born in Houston, Texas, United
States, 1985
10/09 Stefan Walter born in Werne, Nordrhein-Westfalen,
Germany, 1978
-10/09 Vincenzo Maffione born in Foggia, Italy, 1988
10/11 Rick Macklem born in Ontario, Canada
==
--- head/usr.sbin/bhyve/net_backends.c Tue Jul 9 20:28:53 2019
(r349866)
+++ head/usr.sbin/bhyve/net_backends.c Tue Jul 9 22:04:33 2019
(r349867)
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2019 Vincenzo Maffione
Author: vmaffione
Date: Tue Jul 9 22:05:58 2019
New Revision: 349868
URL: https://svnweb.freebsd.org/changeset/base/349868
Log:
bhyve: net_backends.c: add missing __FBSDID
Reviewed by: jhb
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D20883
Modified
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/usr.sbin/bhyve/net_backends.c Sun Jul 7 12:15:24 2019
(r349803)
@@ -0,0 +1,806 @@
+/*-
+ * Copyright (c) 2019 Vincenzo Maffione
+ *
+ * Redistribution and use in
Author: vmaffione
Date: Thu Jul 4 21:31:49 2019
New Revision: 349753
URL: https://svnweb.freebsd.org/changeset/base/349753
Log:
netmap: Remove pointer leakage in netmap_mem2.c
PR: 238641
Submitted by: Fuqian Huang
Reviewed by: vmaffione
MFC after:1 week
Modified:
h
Author: vmaffione
Date: Thu Jul 4 21:11:45 2019
New Revision: 349752
URL: https://svnweb.freebsd.org/changeset/base/349752
Log:
netmap: fix kernel pointer printing in netmap_generic.c
Print the adapter name rather than the address of the adapter
to avoid kernel address leakage.
PR:
Author: vmaffione
Date: Mon Jul 1 20:37:35 2019
New Revision: 349581
URL: https://svnweb.freebsd.org/changeset/base/349581
Log:
netmap: fix two panics with emulated adapter
This patch fixes 2 panics. The first one is due to the current VNET not
being set in the emulated adapter transmiss
Author: vmaffione
Date: Tue Jun 18 17:51:30 2019
New Revision: 349175
URL: https://svnweb.freebsd.org/changeset/base/349175
Log:
bhyve: vtnet: fix locking on receive
The vsc_rx_ready and the RX virtqueue is protected by the rx_mtx lock.
However, pci_vtnet_ping_rxq() (currently called only
newly added)
+++ head/usr.sbin/bhyve/net_utils.h Thu Jun 13 17:39:32 2019
(r349019)
@@ -0,0 +1,37 @@
+/*-
+ * Copyright (c) 2019 Vincenzo Maffione
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+
Author: vmaffione
Date: Tue Jun 11 15:52:41 2019
New Revision: 348929
URL: https://svnweb.freebsd.org/changeset/base/348929
Log:
bhyve: virtio: introduce vq_kick_enable() and vq_kick_disable()
The VirtIO standard supports two schemes for notification suppression:
a notification enable bit
Author: vmaffione
Date: Sun Jun 9 12:41:21 2019
New Revision: 348834
URL: https://svnweb.freebsd.org/changeset/base/348834
Log:
bhyve: vtnet: simplify thread synchronization
On vtnet device reset it is necessary to wait for threads to stop TX and
RX processing. However, the rx_in_progres
freebsd.org\n2008/07/21"]
versus [label="Konrad Jankowski\nver...@freebsd.org\n2008/10/27"]
+vmaffione [label="Vincenzo Maffione\nvmaffi...@freebsd.org\n2018/03/19"]
weongyo [label="Weongyo Jeong\nweon...@freebsd.org\n2007/12/21"]
wes [label="Wes
Author: vmaffione
Date: Fri May 17 20:29:31 2019
New Revision: 347944
URL: https://svnweb.freebsd.org/changeset/base/347944
Log:
netmap: align if_ptnet to the changes introduced by r347233
This removes non-functional SCTP checksum offload support.
More information in the log message of r3
Author: vmaffione
Date: Sat Apr 13 12:50:47 2019
New Revision: 346184
URL: https://svnweb.freebsd.org/changeset/base/346184
Log:
netmap: add test cases for multiple host rings
Extend the netmap unit tests with new test cases for the multiple-host-rings
feature introduced by r345269.
Author: vmaffione
Date: Wed Mar 20 10:36:58 2019
New Revision: 345323
URL: https://svnweb.freebsd.org/changeset/base/345323
Log:
netmap: update unit tests
Revision r345269 introduced changes that triggered a regression on netmap
unit tests (tests/sys/netmap/ctrl-api-test.c).
This change
Author: vmaffione
Date: Mon Mar 18 12:22:23 2019
New Revision: 345269
URL: https://svnweb.freebsd.org/changeset/base/345269
Log:
netmap: add support for multiple host rings
Some applications forward from/to host rings most or all the
traffic received or sent on a physical interface. In th
Author: vmaffione
Date: Fri Mar 1 09:10:16 2019
New Revision: 344696
URL: https://svnweb.freebsd.org/changeset/base/344696
Log:
netmap: pkt-gen: fix bug in send_packets()
The send_packets() function was using ring->cur as index to scan
the transmit ring. This function may also set ring->
Author: vmaffione
Date: Mon Feb 25 09:57:06 2019
New Revision: 344510
URL: https://svnweb.freebsd.org/changeset/base/344510
Log:
netmap: remove redundant call to nm_set_native_flags()
This redundant call was introduced by mistake in r343772.
MFC after:3 days
Sponsored by: Sunny V
1 - 100 of 145 matches
Mail list logo