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
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: Wed Jul 3 19:54:37 2019
New Revision: 349692
URL: https://svnweb.freebsd.org/changeset/base/349692
Log:
MFC r348834
bhyve: vtnet: simplify thread synchronization
On vtnet device reset it is necessary to wait for threads to stop TX and
RX processing. However,
Author: vmaffione
Date: Wed Jul 3 19:56:05 2019
New Revision: 349694
URL: https://svnweb.freebsd.org/changeset/base/349694
Log:
MFC r348929
bhyve: virtio: introduce vq_kick_enable() and vq_kick_disable()
The VirtIO standard supports two schemes for notification suppression:
a notifi
(empty, because file is newly added)
+++ stable/12/usr.sbin/bhyve/net_utils.hWed Jul 3 19:57:23 2019
(r349695, copy of r349019, head/usr.sbin/bhyve/net_utils.h)
@@ -0,0 +1,37 @@
+/*-
+ * Copyright (c) 2019 Vincenzo Maffione
+ *
+ * Redistribution and use in source and binary for
Author: vmaffione
Date: Wed Jul 3 19:59:48 2019
New Revision: 349696
URL: https://svnweb.freebsd.org/changeset/base/349696
Log:
MFC r349175
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() (curr
Author: vmaffione
Date: Wed Jul 3 20:05:25 2019
New Revision: 349698
URL: https://svnweb.freebsd.org/changeset/base/349698
Log:
MFC r348834
bhyve: vtnet: simplify thread synchronization
On vtnet device reset it is necessary to wait for threads to stop TX and
RX processing. However,
Author: vmaffione
Date: Wed Jul 3 20:22:36 2019
New Revision: 349704
URL: https://svnweb.freebsd.org/changeset/base/349704
Log:
MFC r348929
bhyve: virtio: introduce vq_kick_enable() and vq_kick_disable()
The VirtIO standard supports two schemes for notification suppression:
a notifi
(empty, because file is newly added)
+++ stable/11/usr.sbin/bhyve/net_utils.hThu Jul 4 18:20:02 2019
(r349739, copy of r349019, head/usr.sbin/bhyve/net_utils.h)
@@ -0,0 +1,37 @@
+/*-
+ * Copyright (c) 2019 Vincenzo Maffione
+ *
+ * Redistribution and use in source and binary for
Author: vmaffione
Date: Thu Jul 4 18:21:01 2019
New Revision: 349740
URL: https://svnweb.freebsd.org/changeset/base/349740
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
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: 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
==
--- /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
==
--- 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
@@
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
Author: vmaffione
Date: Thu Jul 11 20:13:51 2019
New Revision: 349920
URL: https://svnweb.freebsd.org/changeset/base/349920
Log:
MFC r349752
netmap: fix kernel pointer printing in netmap_generic.c
Print the adapter name rather than the address of the adapter
to avoid kernel address l
Author: vmaffione
Date: Thu Jul 11 20:14:59 2019
New Revision: 349921
URL: https://svnweb.freebsd.org/changeset/base/349921
Log:
MFC r349753
netmap: Remove pointer leakage in netmap_mem2.c
PR: 238641
Submitted by: Fuqian Huang
Reviewed by:vmaffione
Modified:
s
Author: vmaffione
Date: Thu Jul 11 20:29:50 2019
New Revision: 349922
URL: https://svnweb.freebsd.org/changeset/base/349922
Log:
MFC r349752
netmap: fix kernel pointer printing in netmap_generic.c
Print the adapter name rather than the address of the adapter
to avoid kernel address l
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
Author: vmaffione
Date: Mon Jul 15 20:12:54 2019
New Revision: 350006
URL: https://svnweb.freebsd.org/changeset/base/350006
Log:
MFC r349966
netmap: fix bug introduced by r349752
r349752 introduced a NULL pointer reference bug
in the emulated netmap code.
Reported by:lwhsu
Author: vmaffione
Date: Mon Jul 15 20:14:30 2019
New Revision: 350007
URL: https://svnweb.freebsd.org/changeset/base/350007
Log:
MFC r349966
netmap: fix bug introduced by r349752
r349752 introduced a NULL pointer reference bug
in the emulated netmap code.
Reported by:lwhsu
Author: vmaffione
Date: Mon Jul 15 20:25:49 2019
New Revision: 350009
URL: https://svnweb.freebsd.org/changeset/base/350009
Log:
MFC r349581
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
Author: vmaffione
Date: Mon Jul 15 20:38:56 2019
New Revision: 350010
URL: https://svnweb.freebsd.org/changeset/base/350010
Log:
MFC r349581
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
/calendar.freebsd Tue Jul 16
17:27:51 2019(r350059)
@@ -378,7 +378,6 @@
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
@@
+/*-
+ * Copyright (c) 2019 Vincenzo Maffione
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of
-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2019 Vincenzo Maffione
*
* Redistribution and use in source and binary forms, with or without
Modified: stable/12/usr.sbin/bhyve/net_backends.h
==
--- stable/12/usr.sbin
Author: vmaffione
Date: Sun Jul 21 11:28:40 2019
New Revision: 350196
URL: https://svnweb.freebsd.org/changeset/base/350196
Log:
MFC r349868
bhyve: net_backends.c: add missing __FBSDID
Reviewed by:jhb
Differential Revision: https://reviews.freebsd.org/D20883
Modified:
stable/
Author: vmaffione
Date: Sun Jul 21 11:34:14 2019
New Revision: 350197
URL: https://svnweb.freebsd.org/changeset/base/350197
Log:
MFC r349935
usr.sbin/bhyve: free resources when erroring out of pci_vtnet_init()
Submitted by: seanc
Coverity CID: 1402978
Approved by:vmaffione
Author: vmaffione
Date: Sun Jul 21 11:40:00 2019
New Revision: 350198
URL: https://svnweb.freebsd.org/changeset/base/350198
Log:
MFC r349952
usr.sbin/bhyve: close backend file descriptor during tap init error
Submitted by: seanc
Coverity CID: 1402953
Reviewed by:scottl, markj
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: Sun Jun 2 18:46:21 2019
New Revision: 348516
URL: https://svnweb.freebsd.org/changeset/base/348516
Log:
MFC r346184
netmap: add test cases for multiple host rings
Extend the netmap unit tests with new test cases for the multiple-host-rings
feature introduced
Author: vmaffione
Date: Sun Jun 2 20:03:00 2019
New Revision: 348517
URL: https://svnweb.freebsd.org/changeset/base/348517
Log:
MFC r347944
netmap: align if_ptnet to the changes introduced by r347233
This removes non-functional SCTP checksum offload support.
More information in the
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: 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
reebsd.org\n2015/03/08"]
vanhu [label="Yvan Vanhullebus\nva...@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 Je
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
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: Wed Nov 28 14:07:34 2018
New Revision: 341144
URL: https://svnweb.freebsd.org/changeset/base/341144
Log:
netmap: set IFCAP_NETMAP in if_capabilities
Revision r307394 removed (by mistake) the code that sets IFCAP_NETMAP
in if_capabilities on netmap_attach. This patc
Author: vmaffione
Date: Wed Nov 28 15:29:58 2018
New Revision: 341145
URL: https://svnweb.freebsd.org/changeset/base/341145
Log:
cxgbe: revert r309725
After the fix contained in r341144, cxgbe does not need anymore
to set the IFCAP_NETMAP flag manually.
Reviewed by: np
Approved by
Author: vmaffione
Date: Sat Dec 1 11:50:52 2018
New Revision: 341361
URL: https://svnweb.freebsd.org/changeset/base/341361
Log:
MFC r341144
netmap: set IFCAP_NETMAP in if_capabilities
Revision r307394 removed (by mistake) the code that sets IFCAP_NETMAP
in if_capabilities on netmap_
Author: vmaffione
Date: Sat Dec 1 11:52:13 2018
New Revision: 341362
URL: https://svnweb.freebsd.org/changeset/base/341362
Log:
MFC r341145
cxgbe: revert r309725
After the fix contained in r341144, cxgbe does not need anymore
to set the IFCAP_NETMAP flag manually.
Differential
Author: vmaffione
Date: Sat Dec 1 12:08:16 2018
New Revision: 341363
URL: https://svnweb.freebsd.org/changeset/base/341363
Log:
MFC r339548
man: fix vale(4) port naming
The current documentation describing the syntax of a VALE port is wrong.
This patch fixes it to make it consistent
Author: vmaffione
Date: Mon Dec 3 17:17:59 2018
New Revision: 341430
URL: https://svnweb.freebsd.org/changeset/base/341430
Log:
netmap(4): improve man page
Reviewed by: bcr
Differential Revision:https://reviews.freebsd.org/D18057
Modified:
head/share/man/man4/netmap.4
Modifi
Author: vmaffione
Date: Mon Dec 3 17:40:54 2018
New Revision: 341431
URL: https://svnweb.freebsd.org/changeset/base/341431
Log:
MFC r339659
netmap: add man page for the bridge program
Added bridge(8).
Also, minor fixes to the netmap "bridge" application:
- indentation fixes and c
Author: vmaffione
Date: Mon Dec 3 17:46:53 2018
New Revision: 341432
URL: https://svnweb.freebsd.org/changeset/base/341432
Log:
MFC r339685
netmap: add man page for the vale-ctl program
Added man page for vale-ctl program.
Small fixes to vale-ctl, including the support for -m option
Author: vmaffione
Date: Mon Dec 3 17:51:22 2018
New Revision: 341434
URL: https://svnweb.freebsd.org/changeset/base/341434
Log:
MFC r340279
netmap: add load balancer program
Add the lb program, which is able to load-balance input traffic
received from a netmap port over M groups, wi
Author: vmaffione
Date: Tue Dec 4 07:30:02 2018
New Revision: 341457
URL: https://svnweb.freebsd.org/changeset/base/341457
Log:
MFC r340325
netmap: pkt-gen: several updates from upstream
Various improvements to the netmap pkt-gen program:
- indentation fixes
- support for IPV
orce_update) {
int crclen = (ix_crcstrip || IXGBE_IS_VF(adapter) ) ? 0 : 4;
- uint16_t slot_flags = kring->nkr_slot_flags;
nic_i = rxr->next_to_check; // or also k2n(kring->nr_hwtail)
nm_i = netmap_idx_n2k(kring, nic_i);
@@ -393,7 +406,7 @
Author: vmaffione
Date: Tue Dec 4 17:47:43 2018
New Revision: 341480
URL: https://svnweb.freebsd.org/changeset/base/341480
Log:
MFC r341144
netmap: set IFCAP_NETMAP in if_capabilities
Revision r307394 removed (by mistake) the code that sets IFCAP_NETMAP
in if_capabilities on netmap_
(r341478)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014 Vincenzo Maffione, Luigi Rizzo. All rights reserved.
+ * Copyright (C) 2014-2018 Vincenzo Maffione, Luigi Rizzo.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the
Author: vmaffione
Date: Tue Dec 4 17:46:06 2018
New Revision: 341479
URL: https://svnweb.freebsd.org/changeset/base/341479
Log:
MFC r340475
ifnet(9): Add description of IFCAP_NETMAP
Describe IFCAP_NETMAP adding a cross reference to netmap(4).
Reviewed by:bcr, 0mp
Approved b
Author: vmaffione
Date: Tue Dec 4 17:49:44 2018
New Revision: 341481
URL: https://svnweb.freebsd.org/changeset/base/341481
Log:
MFC r341145
cxgbe: revert r309725
After the fix contained in r341144, cxgbe does not need anymore
to set the IFCAP_NETMAP flag manually.
Reviewed by:
Author: vmaffione
Date: Tue Dec 4 17:53:56 2018
New Revision: 341482
URL: https://svnweb.freebsd.org/changeset/base/341482
Log:
MFC r341430
netmap(4): improve man page
Reviewed by:bcr
Differential Revision: https://reviews.freebsd.org/D18057
Modified:
stable/11/share/man/man
Author: vmaffione
Date: Tue Dec 4 17:57:01 2018
New Revision: 341483
URL: https://svnweb.freebsd.org/changeset/base/341483
Log:
MFC r341430
netmap(4): improve man page
Reviewed by:bcr
Differential Revision: https://reviews.freebsd.org/D18057
Modified:
stable/12/share/man/man
Author: vmaffione
Date: Wed Dec 5 11:57:16 2018
New Revision: 341516
URL: https://svnweb.freebsd.org/changeset/base/341516
Log:
netmap: align codebase to the current upstream (760279cfb2730a585)
Changelist:
- Replace netmap passthrough host support with a more general
mechanism t
Author: vmaffione
Date: Wed Dec 5 15:05:26 2018
New Revision: 341588
URL: https://svnweb.freebsd.org/changeset/base/341588
Log:
netmap: fix module Makefile
Reported by: mav
Modified:
stable/11/sys/modules/netmap/Makefile
Modified: stable/11/sys/modules/netmap/Makefile
Author: vmaffione
Date: Wed Dec 5 15:38:52 2018
New Revision: 341589
URL: https://svnweb.freebsd.org/changeset/base/341589
Log:
netmap.h: include stdatomic.h
The stdatomic.h header exports atomic_thread_fence(), that
can be used to implement the nm_stst_barrier() macro needed
by netmap
Author: vmaffione
Date: Thu Dec 6 09:45:25 2018
New Revision: 341624
URL: https://svnweb.freebsd.org/changeset/base/341624
Log:
netmap: netmap_transmit should honor bpf packet tap hook
This allows tcpdump to capture outbound kernel packets while
in netmap mode
Submitted by: Marc de
Author: vmaffione
Date: Fri Dec 7 11:47:42 2018
New Revision: 341680
URL: https://svnweb.freebsd.org/changeset/base/341680
Log:
netmap: remove dead code obsoleted by iflib
The iflib subsystem implements netmap support in a driver-independent
way (sys/net/iflib.c). We can therefore remove
Author: vmaffione
Date: Sat Dec 8 12:52:09 2018
New Revision: 341726
URL: https://svnweb.freebsd.org/changeset/base/341726
Log:
tools: netmap: pkt-gen: check packet length against interface MTU
Validate the value of the -l argument (packet length) against the MTU of the
netmap port.
In
Author: vmaffione
Date: Tue Dec 11 11:31:13 2018
New Revision: 341815
URL: https://svnweb.freebsd.org/changeset/base/341815
Log:
MFC r341516, r341589
netmap: align codebase to the current upstream (760279cfb2730a585)
Changelist:
- Replace netmap passthrough host support with a more
Author: vmaffione
Date: Wed Dec 12 16:32:15 2018
New Revision: 341992
URL: https://svnweb.freebsd.org/changeset/base/341992
Log:
netmap: fix warning in netmap_kloop.c
Reported by: markj
MFC after:3 days
Modified:
head/sys/dev/netmap/netmap_kloop.c
Modified: head/sys/dev/netmap/ne
is newly added)
+++ head/share/man/man4/ptnet.4 Wed Dec 12 17:05:47 2018(r341993)
@@ -0,0 +1,140 @@
+.\" Copyright (c) 2018 Vincenzo Maffione
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, ar
Author: vmaffione
Date: Thu Dec 13 09:39:05 2018
New Revision: 342031
URL: https://svnweb.freebsd.org/changeset/base/342031
Log:
MFC r341624
netmap: netmap_transmit should honor bpf packet tap hook
This allows tcpdump to capture outbound kernel packets while
in netmap mode
Submi
Author: vmaffione
Date: Thu Dec 13 09:40:06 2018
New Revision: 342032
URL: https://svnweb.freebsd.org/changeset/base/342032
Log:
MFC r341726
tools: netmap: pkt-gen: check packet length against interface MTU
Validate the value of the -l argument (packet length) against the MTU of the
n
Author: vmaffione
Date: Thu Dec 13 10:13:29 2018
New Revision: 342033
URL: https://svnweb.freebsd.org/changeset/base/342033
Log:
MFC r341516, r341589
netmap: align codebase to the current upstream (760279cfb2730a585)
Changelist:
- Replace netmap passthrough host support with a more
Author: vmaffione
Date: Thu Dec 13 10:17:32 2018
New Revision: 342034
URL: https://svnweb.freebsd.org/changeset/base/342034
Log:
MFC r341624
netmap: netmap_transmit should honor bpf packet tap hook
This allows tcpdump to capture outbound kernel packets while
in netmap mode
Submi
Author: vmaffione
Date: Thu Dec 13 10:18:31 2018
New Revision: 342035
URL: https://svnweb.freebsd.org/changeset/base/342035
Log:
MFC r341726
tools: netmap: pkt-gen: check packet length against interface MTU
Validate the value of the -l argument (packet length) against the MTU of the
n
Author: vmaffione
Date: Fri Dec 14 09:06:56 2018
New Revision: 342070
URL: https://svnweb.freebsd.org/changeset/base/342070
Log:
MFC r341680
netmap: remove dead code obsoleted by iflib
The iflib subsystem implements netmap support in a driver-independent
way (sys/net/iflib.c). We can
Author: vmaffione
Date: Sat Dec 15 18:05:05 2018
New Revision: 342130
URL: https://svnweb.freebsd.org/changeset/base/342130
Log:
MFC r341992
netmap: fix warning in netmap_kloop.c
Reported by:markj
Modified:
stable/12/sys/dev/netmap/netmap_kloop.c
Directory Properties:
stable/1
Author: vmaffione
Date: Sat Dec 15 18:07:59 2018
New Revision: 342131
URL: https://svnweb.freebsd.org/changeset/base/342131
Log:
MFC r341992
netmap: fix warning in netmap_kloop.c
Reported by:markj
Modified:
stable/11/sys/dev/netmap/netmap_kloop.c
Directory Properties:
stable/1
+1,140 @@
+.\" Copyright (c) 2018 Vincenzo Maffione
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions o
Author: vmaffione
Date: Fri Dec 21 11:32:55 2018
New Revision: 342299
URL: https://svnweb.freebsd.org/changeset/base/342299
Log:
netmap: pipes: make sure both ends use the same number of slots
Modified:
head/sys/dev/netmap/netmap_pipe.c
Modified: head/sys/dev/netmap/netmap_pipe.c
===
Author: vmaffione
Date: Fri Dec 21 11:50:14 2018
New Revision: 342300
URL: https://svnweb.freebsd.org/changeset/base/342300
Log:
netmap: move buf_size validation code to its own function
This code validates the netmap buf_size against the interface MTU
and maximum descriptor size, to make
Author: vmaffione
Date: Fri Dec 21 13:56:57 2018
New Revision: 342301
URL: https://svnweb.freebsd.org/changeset/base/342301
Log:
netmap: nmreplay: import various fixes from upstream (2704a51839906)
Changelist:
- General reformatting
- Fix packet duplication in cons(). Whenever c
Author: vmaffione
Date: Fri Dec 21 14:45:10 2018
New Revision: 342302
URL: https://svnweb.freebsd.org/changeset/base/342302
Log:
netmap: update nmreplay(8)
Small modifications to the nmreplay man page.
Used igor and mandoc tools to fix warnings and errors.
Reviewed by: bcr
MFC aft
Author: vmaffione
Date: Sat Dec 22 15:15:45 2018
New Revision: 342368
URL: https://svnweb.freebsd.org/changeset/base/342368
Log:
netmap: fix bug in netmap_poll() optimization
The bug was introduced by r339639, although it is present in the upstream
netmap code since 2015. It is due to res
Author: vmaffione
Date: Sat Dec 22 16:23:42 2018
New Revision: 342369
URL: https://svnweb.freebsd.org/changeset/base/342369
Log:
netmap: fix txsync check in netmap poll
To check if txsync can be skipped, it is necessary to look for
unseen TX space. However, this means comparing ring->cur
Author: vmaffione
Date: Mon Dec 24 14:47:26 2018
New Revision: 342390
URL: https://svnweb.freebsd.org/changeset/base/342390
Log:
MFC r342299
netmap: pipes: make sure both ends use the same number of slots
Modified:
stable/12/sys/dev/netmap/netmap_pipe.c
Directory Properties:
stable/12/
Author: vmaffione
Date: Mon Dec 24 14:48:28 2018
New Revision: 342391
URL: https://svnweb.freebsd.org/changeset/base/342391
Log:
MFC r342300
netmap: move buf_size validation code to its own function
This code validates the netmap buf_size against the interface MTU
and maximum descrip
Author: vmaffione
Date: Mon Dec 24 14:49:59 2018
New Revision: 342392
URL: https://svnweb.freebsd.org/changeset/base/342392
Log:
MFC r342301
netmap: nmreplay: import various fixes from upstream (2704a51839906)
Changelist:
- General reformatting
- Fix packet duplication in c
Author: vmaffione
Date: Mon Dec 24 14:51:13 2018
New Revision: 342393
URL: https://svnweb.freebsd.org/changeset/base/342393
Log:
MFC r342302
netmap: update nmreplay(8)
Small modifications to the nmreplay man page.
Used igor and mandoc tools to fix warnings and errors.
Reviewed b
Author: vmaffione
Date: Mon Dec 24 15:07:36 2018
New Revision: 342394
URL: https://svnweb.freebsd.org/changeset/base/342394
Log:
MFC r342299
netmap: pipes: make sure both ends use the same number of slots
Modified:
stable/11/sys/dev/netmap/netmap_pipe.c
Directory Properties:
stable/11/
Author: vmaffione
Date: Mon Dec 24 15:08:19 2018
New Revision: 342395
URL: https://svnweb.freebsd.org/changeset/base/342395
Log:
MFC r342300
netmap: move buf_size validation code to its own function
This code validates the netmap buf_size against the interface MTU
and maximum descrip
Author: vmaffione
Date: Mon Apr 1 10:51:24 2019
New Revision: 345762
URL: https://svnweb.freebsd.org/changeset/base/345762
Log:
MFC r345269, r345323
netmap: add support for multiple host rings
Some applications forward from/to host rings most or all the
traffic received or sent on a
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: Mon Feb 18 14:21:41 2019
New Revision: 344253
URL: https://svnweb.freebsd.org/changeset/base/344253
Log:
netmap: don't schedule kqueue notify task when kqueue is not used
This change adds a counter (kqueue_users) to keep track of how many
kqueue users are referenci
Author: vmaffione
Date: Tue Feb 19 10:07:48 2019
New Revision: 344272
URL: https://svnweb.freebsd.org/changeset/base/344272
Log:
vmx(4): add native netmap support
This change adds native netmap support for the vmx(4) adapter
(vmxnet3). Native support comes for free in 12, since the driver
Hi Rodney,
Il giorno mar 19 feb 2019 alle ore 15:36 Rodney W. Grimes <
free...@pdx.rh.cn85.dnsmgr.net> ha scritto:
> > Author: vmaffione
> > Date: Tue Feb 19 10:07:48 2019
> > New Revision: 344272
> > URL: https://svnweb.freebsd.org/changeset/base/344272
> >
> > Log:
> > vmx(4): add native net
Il giorno mar 19 feb 2019 alle ore 15:47 Rodney W. Grimes <
free...@pdx.rh.cn85.dnsmgr.net> ha scritto:
> > Hi Rodney,
> >
> >
> > Il giorno mar 19 feb 2019 alle ore 15:36 Rodney W. Grimes <
> > free...@pdx.rh.cn85.dnsmgr.net> ha scritto:
> >
> > > > Author: vmaffione
> > > > Date: Tue Feb 19 10:0
Author: vmaffione
Date: Mon Feb 25 08:50:25 2019
New Revision: 344508
URL: https://svnweb.freebsd.org/changeset/base/344508
Log:
MFC r344253
netmap: don't schedule kqueue notify task when kqueue is not used
This change adds a counter (kqueue_users) to keep track of how many
kqueue us
Author: vmaffione
Date: Mon Feb 25 09:13:33 2019
New Revision: 344509
URL: https://svnweb.freebsd.org/changeset/base/344509
Log:
MFC r343579, r344253
netmap: fix lock order reversal related to kqueue usage
When using poll(), select() or kevent() on netmap file descriptors,
netmap exe
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
Author: vmaffione
Date: Thu Feb 28 09:42:03 2019
New Revision: 344658
URL: https://svnweb.freebsd.org/changeset/base/344658
Log:
MFC r344510
netmap: remove redundant call to nm_set_native_flags()
This redundant call was introduced by mistake in r343772.
Sponsored by: Sunny Valle
Author: vmaffione
Date: Thu Feb 28 09:40:26 2019
New Revision: 344657
URL: https://svnweb.freebsd.org/changeset/base/344657
Log:
MFC r344510
netmap: remove redundant call to nm_set_native_flags()
This redundant call was introduced by mistake in r343772.
Sponsored by: Sunny Valle
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: Fri Mar 8 08:26:06 2019
New Revision: 344917
URL: https://svnweb.freebsd.org/changeset/base/344917
Log:
MFC r344696:
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 m
Author: vmaffione
Date: Fri Mar 8 08:27:33 2019
New Revision: 344918
URL: https://svnweb.freebsd.org/changeset/base/344918
Log:
MFC r344696:
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 m
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
1 - 100 of 319 matches
Mail list logo