RFC: ethctl

2017-01-19 Thread Kevin Bowling
Greetings, I'm casting a wide net in cc, try to keep the noise minimal but we need some input from a variety of HW vendors. I have heard from several vendors the need for a NIC configuration tool. Chelsio ships a cxgb/cxgbetool in FreeBSD as one example. There is precedence for some nod toward

re: sosend returning ERESTART

2017-01-19 Thread Rick Macklem
Konstantin Belousov wrote: >On Wed, Jan 18, 2017 at 10:52:02PM +, Rick Macklem wrote: >> Colin Percival wrote: >> >On 01/18/17 02:36, Konstantin Belousov wrote: >> >> On Wed, Jan 18, 2017 at 04:37:40AM +, Colin Percival wrote: >> >>> Thanks, looks like that was exactly it -- if the TCP send

Re: sosend returning ERESTART

2017-01-19 Thread Rick Macklem
Konstantin Belousov wrote: >On Wed, Jan 18, 2017 at 10:52:02PM +, Rick Macklem wrote: >> Colin Percival wrote: >> >On 01/18/17 02:36, Konstantin Belousov wrote: >> >> On Wed, Jan 18, 2017 at 04:37:40AM +, Colin Percival wrote: >> >>> Thanks, looks like that was exactly it -- if the TCP send

Re: sosend returning ERESTART

2017-01-19 Thread Rick Macklem
Konstantin Belousov wrote: >On Wed, Jan 18, 2017 at 10:52:02PM +, Rick Macklem wrote: >> Colin Percival wrote: >> >On 01/18/17 02:36, Konstantin Belousov wrote: >> >> On Wed, Jan 18, 2017 at 04:37:40AM +, Colin Percival wrote: >> >>> Thanks, looks like that was exactly it -- if the TCP send

Re: Fix netmap emulated mode for FreeBSD 11 versions

2017-01-19 Thread Vincenzo Maffione
Hi Luiz, I attached the patch, to be applied to the source code contained in this image: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/11.0/FreeBSD-11.0-STABLE-amd64-20170105-r311441-disc1.iso.xz The patch is simply a backport from -head of some modifications involving the

Re: Netmap TX with no impact to host

2017-01-19 Thread Vincenzo Maffione
You're welcome! I know it's a bit difficult to notice, but this is written in the very last sentence of the netmap(4) man page. Cheers, Vincenzo 2017-01-19 13:50 GMT+01:00 David Belle-Isle : > Oh! Thank you s much! I was missing the last part about the checksum > offloadings and TSO. I dis

Re: Fix netmap emulated mode for FreeBSD 11 versions

2017-01-19 Thread Luiz Otavio O Souza
On 19 January 2017 at 09:11, Vincenzo Maffione wrote: > Hi, > > A change in mb_free_ext() introduced in FreeBSD 11 versions broke the > transmission support for netmap in emulated mode. This means immediate > kernel crashes for netmap users in non-native (emulated) mode. > > This problem has been

Re: Netmap TX with no impact to host

2017-01-19 Thread David Belle-Isle
Oh! Thank you s much! I was missing the last part about the checksum offloadings and TSO. I disabled them and everything is working perfectly now! Thank you so much!! On Thu, Jan 19, 2017 at 6:00 AM, Vincenzo Maffione wrote: > Hi, > Before answering to the question, some important disclaim

Fix netmap emulated mode for FreeBSD 11 versions

2017-01-19 Thread Vincenzo Maffione
Hi, A change in mb_free_ext() introduced in FreeBSD 11 versions broke the transmission support for netmap in emulated mode. This means immediate kernel crashes for netmap users in non-native (emulated) mode. This problem has been fixed in FreeBSD-12-CURRENT, which contains a recent version of N

Re: Netmap TX with no impact to host

2017-01-19 Thread Vincenzo Maffione
Hi, Before answering to the question, some important disclaimers. If you are using FreeBSD-12-current, please be aware that there are IFLIB developments in progress that affect em devices. Unfortunately, at the moment netmap does not work on em/lem/igb devices because of the switch to IFLIB at t

Re: decent 40G network adapters

2017-01-19 Thread Edward Tomasz NapieraƂa
On 0118T1448, Eugene M. Zheganin wrote: > Hi. > > Could someone recommend a decent 40Gbit adapter that are proven to be > working under FreeBSD ? The intended purpose - iSCSI traffic, not much > pps, but rates definitely above 10G. I've tried Supermicro-manufactured > Intel XL710 ones (two boards,