Re: vmxnet3 driver bug?

2017-11-28 Thread Bryan Venteicher
On Tue, Oct 17, 2017 at 9:36 AM, Lewis Donzis wrote: > The VMXNET3 driver appears to have a bug that prevents it from correctly > reporting when the link goes down. > > There are two lines of code that should be deleted in > /usr/src/sys/dev/vmware/vmxnet3/if_vmx.c: > > @@ -3619,8 +3619,6 @@ vmxn

Re: SIOCSVH, SIOCGVH ioctl(2) and virtio ethernet driver

2014-12-29 Thread Bryan Venteicher
On Fri, Dec 26, 2014 at 8:09 AM, Oleg Ginzburg wrote: > is it possible to use the carp(4) protocol with > vtnet(4) interfaces ( which is used, for example, in bhyve(8) ) > Currently, the standard carp init operation causes an SIOCGVH error: > > /sbin/ifconfig vtnet0 vhid 1 advskew 100 pass pass 1

Re: UDP/IPv6 handling

2014-10-01 Thread Bryan Venteicher
On Wed, Oct 1, 2014 at 11:58 AM, Michael Tuexen < michael.tue...@lurchi.franken.de> wrote: > Dear all, > > in udp6_input() we have the following code: > > if (nxt == IPPROTO_UDP && plen != ulen) { > UDPSTAT_INC(udps_badlen); > goto badunlocked; > } >

Re: Performance problem with slow link behind fast gateway

2014-09-14 Thread Bryan Venteicher
Hi, On Tue, Sep 9, 2014 at 4:42 PM, wrote: > All, > > I'm seeing some performance problems with a slowish VPN connection behind > a fast gateway, the setup looks like this: > > |--| > |-| > |client (zandbak) (DSL connection)| 'VP

Re: Add netbw option to systat

2014-07-10 Thread Bryan Venteicher
On Thu, Jul 10, 2014 at 11:50 PM, Bruce Evans wrote: > On Thu, 10 Jul 2014, John Baldwin wrote: > > On Wednesday, July 02, 2014 8:54:41 pm hiren panchasara wrote: >> >>> On Wed, Jul 2, 2014 at 4:50 PM, Bryan Venteicher >>> wrote: >>> >>>>

Re: Add netbw option to systat

2014-07-10 Thread Bryan Venteicher
On Wed, Jul 2, 2014 at 7:54 PM, hiren panchasara wrote: > On Wed, Jul 2, 2014 at 4:50 PM, Bryan Venteicher > wrote: > > Awhile back, DragonlyFlyBSD added a netbw option to systat that I've > ported > > to FreeBSD and found handy at various times: > > > >

Add netbw option to systat

2014-07-02 Thread Bryan Venteicher
anv/patches/systat-netbw.patch From d0a4f282f3e36eb53cb0a50a64aa4597e52b7d42 Mon Sep 17 00:00:00 2001 From: Bryan Venteicher Date: Tue, 1 Jul 2014 00:51:29 -0500 Subject: [PATCH] Add 'netbw' display to systat --- usr.bin/systat/Makefile | 2 +- usr.bin/systat/cmdtab.c | 3 + usr.bin

Re: dhclient sucks cpu usage...

2014-06-10 Thread Bryan Venteicher
- Original Message - > On 10.06.2014 07:03, Bryan Venteicher wrote: > > Hi, > > > > - Original Message - > >> So, after finding out that nc has a stupidly small buffer size (2k > >> even though there is space for 16k), I was still not getti

Re: dhclient sucks cpu usage...

2014-06-09 Thread Bryan Venteicher
Hi, - Original Message - > So, after finding out that nc has a stupidly small buffer size (2k > even though there is space for 16k), I was still not getting as good > as performance using nc between machines, so I decided to generate some > flame graphs to try to identify issues... (Thank

Re: Network stack changes

2013-08-28 Thread Bryan Venteicher
- Original Message - > On 28.08.2013 20:30, Alexander V. Chernikov wrote: > > Hello list! > > Hello Alexander, > > you sent quite a few things in the same email. I'll try to respond > as much as I can right now. Later you should split it up to have > more in-depth discussions on the i

Re: [net] protecting interfaces from races between control and data ?

2013-08-05 Thread Bryan Venteicher
- Original Message - > On Mon, Aug 5, 2013 at 8:19 PM, Adrian Chadd wrote: > > > No, brian said two things: > > > > * the flag, protected by the core lock > > * per-queue flags > > > > i see no mentions on per-queue flags on his email. > This is the relevant part > Right, I just use

Re: [net] protecting interfaces from races between control and data ?

2013-08-05 Thread Bryan Venteicher
- Original Message - > i am slightly unclear of what mechanisms we use to prevent races > between interface being reconfigured (up/down/multicast setting, etc, > all causing reinitialization of the rx and tx rings) and > > i) packets from the host stack being sent out; > ii) interrupts f

Re: VMware vmxnet2 driver

2013-01-18 Thread Bryan Venteicher
- Original Message - > From: "Ivan Voras" > To: freebsd-net@freebsd.org > Sent: Friday, January 18, 2013 4:54:12 AM > Subject: Re: VMware vmxnet2 driver > > On 14/01/2013 07:42, Bryan Venteicher wrote: > > > Any testing or performance da

Re: To SMP or not to SMP

2013-01-15 Thread Bryan Venteicher
- Original Message - > From: "Konstantin Belousov" > To: "Bryan Venteicher" > Cc: "John Baldwin" , "Peter Jeremy" , > freebsd-net@freebsd.org > Sent: Tuesday, January 15, 2013 4:42:16 AM > Subject: Re: To SMP or not t

Re: To SMP or not to SMP

2013-01-14 Thread Bryan Venteicher
- Original Message - > From: "John Baldwin" > To: freebsd-net@freebsd.org > Cc: "Konstantin Belousov" , "Bryan Venteicher" > , "Peter Jeremy" > > Sent: Monday, January 14, 2013 3:57:58 PM > Subject: Re: To SMP or not

VMware vmxnet2 driver

2013-01-13 Thread Bryan Venteicher
Hi, During the previous months, I've been porting OpenBSD's vmxnet driver (if_vic) to FreeBSD [1]. It has reach a doneness that I'd like to draw attention to it for those not subscribed to svn-projects. Most of the original OpenBSD driver - the attach, init, and Tx/Rx paths - have been rewritten.

Re: To SMP or not to SMP

2013-01-13 Thread Bryan Venteicher
- Original Message - > From: "John Baldwin" > To: freebsd-net@freebsd.org > Cc: "Barney Cordoba" , "Peter Jeremy" > > Sent: Friday, January 11, 2013 9:39:17 AM > Subject: Re: To SMP or not to SMP > > On Thursday, January 10, 2013 02:36:59 PM Peter Jeremy wrote: > > On 2013-Jan-07 18:2