[Bug 183391] [oce] 10GbE networking problems with Emulex OCE 11102 CNA

2014-07-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183391 --- Comment #17 from bor...@sarenet.es --- Created attachment 144718 -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144718action=edit 10-STABLE patch for the oce driver by Stefano Garzarella -- You are receiving this mail

[Bug 183391] [oce] 10GbE networking problems with Emulex OCE 11102 CNA

2014-07-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183391 --- Comment #18 from bor...@sarenet.es --- Luigi Rizzo and Stefano Garzarella pointed out several bugs. Notably, no locking operations in critical sections. Stefano Garzarella sent a test patch against -STABLE. With the patch I haven't

UDP sendto() returning ENOBUFS - No buffer space available

2014-07-16 Thread hiren panchasara
Return values in sendto() manpage says: [ENOBUFS] The system was unable to allocate an internal buffer. The operation may succeed when buffers become avail- able. [ENOBUFS] The output queue for a network interface was

problems with ifconfig alias via rc.conf

2014-07-16 Thread Jean Paul Galea
Hello, Today I ran into a little problem with ifconfig and rc scripts. I have tried googling this issue, although all I could find, are people pointing at syntax errors. Perhaps someone here has ran into this before and could provide some pointers. Here is the relevant /etc/rc.conf settings;

Re: problems with ifconfig alias via rc.conf

2014-07-16 Thread Maciej Milewski
On 16.07.2014 11:22, Jean Paul Galea wrote: ifconfig_lagg0=laggproto failover laggport igb0 laggport igb1 94.247.171.197/32 netmask 255.255.255.240 broadcast 94.247.171.207 #ifconfig_lagg0_alias0=inet 94.247.171.195 netmask 255.255.255.255 Double mask definition? You are trying to define

does setsockopt(SO_RCVTIMEO) work?

2014-07-16 Thread Dmitry Sivachenko
Hello! I am having trouble using {g,s}etsockopt(SO_RCVTIMEO). Consider the following small test program. I expect to retrieve the value of 1 second via getsockopt call, I expect the following output: tv_sec=1, tv_usec=0 But I actually get tv_sec=0, tv_usec=0 What am I missing? Thanks! PS:

Re: problems with ifconfig alias via rc.conf

2014-07-16 Thread Jean Paul Galea
On 07/16/2014 12:52 PM, Maciej Milewski wrote: Double mask definition? You are trying to define 94.247.171.197 with mask 32 and then with mask 28. Remove the /32 from this line and use simple 94.247.171.197 netmask 255.255.255.240 broadcast 94.247.171.207 Alias is defined correctly. The

Re: does setsockopt(SO_RCVTIMEO) work?

2014-07-16 Thread Bruce Evans
On Wed, 16 Jul 2014, Dmitry Sivachenko wrote: I am having trouble using {g,s}etsockopt(SO_RCVTIMEO). Consider the following small test program. I expect to retrieve the value of 1 second via getsockopt call, I expect the following output: tv_sec=1, tv_usec=0 But I actually get tv_sec=0,

nic performance: bce vs em

2014-07-16 Thread Cristiano Deana
Hi all, I'm gonna setup a Dell 1955 to use as router. Dual xeon dual core, with these network cards: # pciconf -lv | grep -B2 network vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM5708S Gigabit Ethernet' class = network -- vendor = 'Intel Corporation'

Re: nic performance: bce vs em

2014-07-16 Thread Vladislav Prodan
--- Original message --- From: Cristiano Deana cristiano.de...@gmail.com Date: 16 July 2014, 18:32:44 Hi all, I'm gonna setup a Dell 1955 to use as router. Dual xeon dual core, with these network cards: # pciconf -lv | grep -B2 network vendor = 'Broadcom Corporation' device =

netmap, selective processing.

2014-07-16 Thread Daniel Corbe
I hope this it the right place to ask questions about netmap. I'm toying with the idea of writing a netmap-based OSPF implementation because bird's OSPF implementation isn't as good as its BGP implementation, quagga doesn't scale well and openospfd doesn't compile on 10-RELEASE or CURRENT. But

Re: UDP sendto() returning ENOBUFS - No buffer space available

2014-07-16 Thread Adrian Chadd
Hi! So the UDP transmit path is udp_usrreqs-pru_send() == udp_send() - udp_output() - ip_output() udp_output() does do a M_PREPEND() which can return ENOBUFS. ip_output can also return ENOBUFS. it doesn't look like the socket code (eg sosend_dgram()) is doing any buffering - it's just copying

Re: does setsockopt(SO_RCVTIMEO) work?

2014-07-16 Thread Adrian Chadd
I'm about to bump into this - would you be able to put together a patch to address these issues? That way I can also test it out with the UDP stuff I'm working on and get it into the tree. Thanks, -a On 16 July 2014 06:24, Bruce Evans b...@optusnet.com.au wrote: On Wed, 16 Jul 2014, Dmitry

Re: netmap, selective processing.

2014-07-16 Thread Adrian Chadd
Hi, Yes. You can write some matching code to match on what you care about and reinject the rest back to the netmap host interface that you can create. There's a way to grab both say, em0 for netmap and the host side of em0 so you can reinject packets back up to the host stack and get them from

RE: ixgbe and igb - how many queues?

2014-07-16 Thread Pieper, Jeffrey E
-Original Message- From: adrian.ch...@gmail.com [mailto:adrian.ch...@gmail.com] On Behalf Of Adrian Chadd Sent: Tuesday, July 15, 2014 5:50 PM To: Pieper, Jeffrey E Cc: Ryan Stone; FreeBSD Net; freebsd-a...@freebsd.org Subject: Re: ixgbe and igb - how many queues? On 15 July 2014

Re: netmap, selective processing.

2014-07-16 Thread Jan Bramkamp
On 16.07.2014 19:48, Daniel Corbe wrote: I hope this it the right place to ask questions about netmap. I'm toying with the idea of writing a netmap-based OSPF implementation because bird's OSPF implementation isn't as good as its BGP implementation, quagga doesn't scale well and openospfd

Re: change netmap global lock to sx?

2014-07-16 Thread Navdeep Parhar
On 05/27/14 17:32, Luigi Rizzo wrote: On Wed, May 28, 2014 at 1:49 AM, Navdeep Parhar wrote: I'd like to change the netmap global lock from a mutex into a sleepable shared/exclusive lock. This will allow a driver's nm_register hook (which is called with the global lock

[Bug 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph

2014-07-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187835 Vladislav V. Prodan ad...@support.od.ua changed: What|Removed |Added Version|unspecified

Re: Multipath TCP for FreeBSD v0.4

2014-07-16 Thread Nigel Williams
Just a quick note for anyone else that might be trying out the patch... and I've built the whole system on both nodes without WITNESS and other debug- ging functionalities: === Index: /usr/src/sys/amd64/conf/GENERIC