Re: bpf hold buffer in-use flag

2013-05-23 Thread John Baldwin
On Thursday, May 23, 2013 5:05:39 pm Guy Helmer wrote: > > On Jan 9, 2013, at 2:35 PM, John Baldwin wrote: > > > On Tuesday, November 13, 2012 4:40:57 pm Guy Helmer wrote: > >> To try to completely resolve the race in bpfread(), I have put together > > these changes to add a flag to indicate wh

Re: bpf hold buffer in-use flag

2013-05-23 Thread Guy Helmer
On Jan 9, 2013, at 2:35 PM, John Baldwin wrote: > On Tuesday, November 13, 2012 4:40:57 pm Guy Helmer wrote: >> To try to completely resolve the race in bpfread(), I have put together > these changes to add a flag to indicate when the hold buffer cannot be > modified because it is in use. Sinc

Re: Create pkey on FreeBSD 9.1

2013-05-23 Thread Ryan Stone
On Thu, May 23, 2013 at 4:32 AM, Alex Liptsin wrote: > Hello. > > I have FreeBSD 9.1 installed. > There is mellanox adapter inside. > OFED support is already installed. > > I try to add pkeys on ib0 port. > > Usually in Linux I did: > > echo 0x800c > /sys/class/net/ib0/create_child > > ifconfig

RE: Followup from Verisign after last week's developer summit

2013-05-23 Thread Bentkofsky, Michael
I am adding freebsd-net to this and will re-summarize to get additional input. Thanks for all of the initial suggestions. For benefit of those on freebsd-net@, we are noticing significant locking contention on the V_tcpinfo lock under moderately high connection establishment and teardown rates

Re: surprise surprise (VM related) [lu...@freebsd.org: svn commit: r250911 - head/sys/kern]

2013-05-23 Thread Luigi Rizzo
://info.iet.unipi.it/~luigi/doc/20130523-qemu-diff.gz The FreeBSD guest uses if_lem.c and just sets polling mode. I also have patches for the guest device driver, but they are still in the works. cheers luigi > ___ > freebsd-net@freebsd.org mailin

Re: surprise surprise (VM related) [lu...@freebsd.org: svn commit: r250911 - head/sys/kern]

2013-05-23 Thread Anton Yuzhaninov
On Wed, 22 May 2013 20:42:44, Luigi Rizzo wrote: LR> Using polling, a FreeBSD instance under qemu-kvm remains perfectly LR> responsive even when bombed with 10 Mpps over an emulated e1000, LR> and happily processes 1.7 Mpps through ipfw. Can you share qemu network configuration used in tests

Create pkey on FreeBSD 9.1

2013-05-23 Thread Alex Liptsin
Hello. I have FreeBSD 9.1 installed. There is mellanox adapter inside. OFED support is already installed. I try to add pkeys on ib0 port. Usually in Linux I did: echo 0x800c > /sys/class/net/ib0/create_child ifconfig -a To Make sure you see a new interface: ib0.800c How can I do it on FreeB