Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
I forgot to mention my kernel conf I'm not sure if it would cause this issue, but I'll test again with GENERIC. --- /usr/src/sys/amd64/conf/GENERIC 2016-02-22 21:05:37.152953000 -0500 +++ /root/MYKERNEL-11-CURRENT-AMD64 2015-12-28 19:18:22.893391452 -0500 @@ -91,6 +91,12 @@ options WITNESS_SK

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Eric Joyner
I don't really have any ideas on the error -100. Error -100 means there was a mailbox error, so something failed in the initial communications setup between the PF and VF, but I don't know what exactly went wrong. I'm grasping at straws, but try using a smaller number of VFs initially, like 2? And

Re: new computer, strange usb messages at boot

2016-02-22 Thread Larry Rosenman
On 2016-02-20 06:08, Larry Rosenman wrote: On Sat, Feb 20, 2016 at 10:25:31AM +0100, Hans Petter Selasky wrote: On 02/20/16 06:19, Larry Rosenman wrote: > ugen0.2: at usbus0 > Root mount waiting for: usbus0 > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR >

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Luigi Rizzo
On Mon, Feb 22, 2016 at 3:55 PM, Slawa Olhovchenkov wrote: > On Mon, Feb 22, 2016 at 02:40:15PM -0800, Luigi Rizzo wrote: >> please try now. > > compiled, ok. > and i need wrote some apps for forwarding from pipes to output > interface? just use multiple pkt-gen in read mode on the outputs, and

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Slawa Olhovchenkov
On Mon, Feb 22, 2016 at 02:40:15PM -0800, Luigi Rizzo wrote: > On Mon, Feb 22, 2016 at 10:16 AM, Slawa Olhovchenkov wrote: > > On Mon, Feb 22, 2016 at 08:17:06AM -0800, Luigi Rizzo wrote: > > > > >> Give this a try and let us know. > > > > I can't compile this. > > > > # cc -o lb lb.c > > lb.c:1

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Luigi Rizzo
On Mon, Feb 22, 2016 at 10:16 AM, Slawa Olhovchenkov wrote: > On Mon, Feb 22, 2016 at 08:17:06AM -0800, Luigi Rizzo wrote: > >> Give this a try and let us know. > > I can't compile this. > > # cc -o lb lb.c > lb.c:17:10: fatal error: 'ctrs.h' file not found > #include "ctrs.h" > ^ > 1 er

leaky M_RTABLE r295632

2016-02-22 Thread Bryan Drewery
Running CURRENT r295632. # vmstat -m|grep routetbl routetbl 103952 51995K - 155861 512,1024 This seems quite large for my dev build system. -- Regards, Bryan Drewery ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
Yeah, dmesg does show 48. 12 Cores and 24 threads each. 48 total On Mon, Feb 22, 2016 at 4:35 PM, Steven Hartland wrote: > isn't that 48 cores (12 real 12 virtual) per CPU? > > > On 22/02/2016 21:26, Ultima wrote: > >> This system has 24 cores (e5-2670v3)x2 >> >> Ultima >> >> On Mon, Feb 22, 201

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Steven Hartland
isn't that 48 cores (12 real 12 virtual) per CPU? On 22/02/2016 21:26, Ultima wrote: This system has 24 cores (e5-2670v3)x2 Ultima On Mon, Feb 22, 2016 at 3:53 PM, Pieper, Jeffrey E < jeffrey.e.pie...@intel.com> wrote: Just out of curiosity, how many cores does your system have? Jeff -

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
This system has 24 cores (e5-2670v3)x2 Ultima On Mon, Feb 22, 2016 at 3:53 PM, Pieper, Jeffrey E < jeffrey.e.pie...@intel.com> wrote: > Just out of curiosity, how many cores does your system have? > > Jeff > > -Original Message- > From: owner-freebsd-curr...@freebsd.org [mailto: > owner-

RE: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Pieper, Jeffrey E
Just out of curiosity, how many cores does your system have? Jeff -Original Message- From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org] On Behalf Of Ultima Sent: Monday, February 22, 2016 12:02 PM To: Eric Joyner Cc: freebsd-current@freebsd.org; freebsd-v

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Eric Joyner
Did you do an ifconfig up on ix1 before loading the VF driver? On Sat, Feb 20, 2016 at 11:57 AM Ultima wrote: > Decided to do some testing with iovctl to see how sr-iov is coming along. > Currently when adding the vf's there are a couple errors, and the network > no longer function after iovctl

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
After reboot... ifconfig ix1 up dhclient ix1 DHCPDISCOVER on ix1 to 255.255.255.255 port 67 interval 4 DHCPOFFER from 192.168.1.1 DHCPREQUEST on ix1 to 255.255.255.255 port 67 DHCPACK from 192.168.1.1 bound to 192.168.1.145 -- renewal in 21600 seconds. ix0 down ping 192.168.1.1 PING 192.168.1.1

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Slawa Olhovchenkov
On Mon, Feb 22, 2016 at 08:17:06AM -0800, Luigi Rizzo wrote: > On Monday, February 22, 2016, Slawa Olhovchenkov wrote: > > > On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > > > > > lb > > > a packet distributor that reads from a netmap port and distributes > > > traffic to mul

Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Larry Rosenman
On 2016-02-22 12:15, Hans Petter Selasky wrote: On 02/22/16 19:11, Larry Rosenman wrote: On 2016-02-22 10:51, Hans Petter Selasky wrote: On 02/22/16 17:39, Anthony Jenkins wrote: On 02/22/2016 02:11 AM, Hans Petter Selasky wrote: On 02/22/16 03:16, Anthony Jenkins wrote: Yes. I have an eGa

Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Hans Petter Selasky
On 02/22/16 19:11, Larry Rosenman wrote: On 2016-02-22 10:51, Hans Petter Selasky wrote: On 02/22/16 17:39, Anthony Jenkins wrote: On 02/22/2016 02:11 AM, Hans Petter Selasky wrote: On 02/22/16 03:16, Anthony Jenkins wrote: Yes. I have an eGalax touchscreen and it's doing the same thing. T

Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Larry Rosenman
On 2016-02-22 10:51, Hans Petter Selasky wrote: On 02/22/16 17:39, Anthony Jenkins wrote: On 02/22/2016 02:11 AM, Hans Petter Selasky wrote: On 02/22/16 03:16, Anthony Jenkins wrote: Yes. I have an eGalax touchscreen and it's doing the same thing. The number of items it's reporting is 256

Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Anthony Jenkins
On 02/22/2016 11:51 AM, Hans Petter Selasky wrote: > On 02/22/16 17:39, Anthony Jenkins wrote: >> >> >> On 02/22/2016 02:11 AM, Hans Petter Selasky wrote: >>> On 02/22/16 03:16, Anthony Jenkins wrote: Yes. I have an eGalax touchscreen and it's doing the same thing. The number of items it

Re: Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Hans Petter Selasky
On 02/22/16 17:39, Anthony Jenkins wrote: On 02/22/2016 02:11 AM, Hans Petter Selasky wrote: On 02/22/16 03:16, Anthony Jenkins wrote: Yes. I have an eGalax touchscreen and it's doing the same thing. The number of items it's reporting is 256 (according to my preliminary debugging), causing t

Touchscreen support (was Re: new computer, strange usb messages at boot)

2016-02-22 Thread Anthony Jenkins
On 02/22/2016 02:11 AM, Hans Petter Selasky wrote: > On 02/22/16 03:16, Anthony Jenkins wrote: >> Yes. I have an eGalax touchscreen and it's doing the same thing. The >> number of items it's reporting is 256 (according to my preliminary >> debugging), causing the warning. I think these things a

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Luigi Rizzo
On Monday, February 22, 2016, Slawa Olhovchenkov wrote: > On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > > > lb > > a packet distributor that reads from a netmap port and distributes > > traffic to multiple netmap ports, using ze​ro copy and a user-defined > > hash function.

Re: Memory modified after free in "MAP ENTRY" zone (vm_map_entry_t->read_ahead)

2016-02-22 Thread Andriy Gapon
On 19/02/2016 10:38, Andriy Gapon wrote: > On 18/02/2016 17:13, Konstantin Belousov wrote: >> So this is arguably a fallout from r188331. >> The following is somewhat non-insistent attempt to fix the problem. > > Kostik, > > thank you very much, I am testing the patch. The patch holds good so fa

Re: three new netmap tools: pcap player, link emulator, load distributor

2016-02-22 Thread Slawa Olhovchenkov
On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > lb > a packet distributor that reads from a netmap port and distributes > traffic to multiple netmap ports, using ze​ro copy and a user-defined > hash function. This will be useful e.g. for people running multiple > instances o