Re: Addressing refcount issues in ip6_setdstifaddr and ip6_getdstifaddr routines.

2014-09-30 Thread Andrey V. Elsukov
On 30.09.2014 19:24, Vedant Mathur wrote: > *Solution 2:* > > In ip6_setdstifaddr() routine we can access the struct ifa using > ia6->ia_ifa and retrieve the IP address from the ifa and then push it > into the m_tag instead of the struct in6_ifaddr pointer. Then we will > not require a refcnt incr

Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support

2014-09-30 Thread Yonghyeon PYUN
On Tue, Sep 30, 2014 at 11:35:03AM +0200, Nils Beyer wrote: > Hi, > > Yonghyeon PYUN wrote: > >> Then I've connected a network cable and rebooted. I've got a link and > >> performed an "iperf" test. The results are really good: around 930 Mbit/s > >> TX and 840 Mbit/s RX. CPU load during that test

[Bug 185967] [lagg] [patch] Link Aggregation LAGG: LACP not working in 10.0

2014-09-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185967 i...@gcecad-service.nl changed: What|Removed |Added CC||i...@gcecad-service.nl ---

Re: [PATCH 4/4] sfxge: Support tunable to control Tx deferred packet list limits

2014-09-30 Thread George Neville-Neil
On 25 Sep 2014, at 9:15, Andrew Rybchenko wrote: Support tunable to control Tx deferred packet list limits Also increase default for Tx queue get-list limit. Too small limit results in TCP packets drops especiall when many streams are running simultaneously. Put list may be kept small enought s

Re: Will netmap-ipfw fwd?

2014-09-30 Thread Luigi Rizzo
On Tue, Sep 30, 2014 at 9:42 PM, Eduardo Meyer wrote: > > > On Tue, Sep 30, 2014 at 4:20 PM, Luigi Rizzo wrote: > >> >> >> On Tue, Sep 30, 2014 at 8:57 PM, Eduardo Meyer >> wrote: >> >>> >>> >>> On Tue, Sep 30, 2014 at 1:49 PM, Luigi Rizzo wrote: >>> Should work. Please try the lates

Re: Will netmap-ipfw fwd?

2014-09-30 Thread Eduardo Meyer
On Tue, Sep 30, 2014 at 4:20 PM, Luigi Rizzo wrote: > > > On Tue, Sep 30, 2014 at 8:57 PM, Eduardo Meyer > wrote: > >> >> >> On Tue, Sep 30, 2014 at 1:49 PM, Luigi Rizzo wrote: >> >>> Should work. >>> Please try the latest version from code.google.com/p/netmap-ipfw/ >>> >>> Cheers >>> Luigi >>>

Re: Will netmap-ipfw fwd?

2014-09-30 Thread Luigi Rizzo
On Tue, Sep 30, 2014 at 8:57 PM, Eduardo Meyer wrote: > > > On Tue, Sep 30, 2014 at 1:49 PM, Luigi Rizzo wrote: > >> Should work. >> Please try the latest version from code.google.com/p/netmap-ipfw/ >> >> Cheers >> Luigi >> > > OK just cloned. > > What should tbe topology be like? > > igb(4) ->

Re: Will netmap-ipfw fwd?

2014-09-30 Thread Eduardo Meyer
On Tue, Sep 30, 2014 at 1:49 PM, Luigi Rizzo wrote: > Should work. > Please try the latest version from code.google.com/p/netmap-ipfw/ > > Cheers > Luigi > OK just cloned. What should tbe topology be like? igb(4) -> netmap bridge -> vale -> ipfw? will lagg0 -> netmap bridge -> ipfw work too?

Re: getting factory MAC address

2014-09-30 Thread clutton
Thank you for answering, I looked for functionality by myself, and found none before asking. Drivers do it in different ways. On Tue, 2014-09-30 at 11:29 -0400, John Baldwin wrote: > On Sunday, September 21, 2014 8:13:17 am clutton wrote: > > Hi list. I'm relatively new here. So, Hi. :) > > > > I

Re: Will netmap-ipfw fwd?

2014-09-30 Thread Luigi Rizzo
On Tue, Sep 30, 2014 at 8:19 PM, Marcelo Gondim wrote: > On 30/09/2014 13:49, Luigi Rizzo wrote: > >> Should work. >> Please try the latest version from code.google.com/p/netmap-ipfw/ >> >> Cheers >> Luigi >> > > Hi Luigi, > > The netmap-ipfw be included in the FreeBSD 10.1 final? > ​no it is ou

Re: Will netmap-ipfw fwd?

2014-09-30 Thread Marcelo Gondim
On 30/09/2014 13:49, Luigi Rizzo wrote: Should work. Please try the latest version from code.google.com/p/netmap-ipfw/ Cheers Luigi Hi Luigi, The netmap-ipfw be included in the FreeBSD 10.1 final? Cheers, Gondim On Tuesday, September 30, 2014, Eduardo Meyer wrote: I have a problem, whe

[PATCH] Only lock send buffer in sopoll() if needed

2014-09-30 Thread John Baldwin
Right now sopoll() always locks both socket buffers. The receive socket buffer lock is always needed, but the send socket buffer lock is only needed while polling for writing (there is a potential test of SBS_CANTSENDMORE without the lock, but I think this might be ok). What do folks think? I

Re: Will netmap-ipfw fwd?

2014-09-30 Thread Luigi Rizzo
Should work. Please try the latest version from code.google.com/p/netmap-ipfw/ Cheers Luigi On Tuesday, September 30, 2014, Eduardo Meyer wrote: > I have a problem, where I need to fwd a high rate of pps, and I dont have > enough CPU. It's around 900Kpps, so I would like to know if ipfw userlan

Will netmap-ipfw fwd?

2014-09-30 Thread Eduardo Meyer
I have a problem, where I need to fwd a high rate of pps, and I dont have enough CPU. It's around 900Kpps, so I would like to know if ipfw userland version with netmap support will do fwd? Here are my current rules: 00100 fwd 10.1.2.1 tag tcp from table(100) to any dst-port 80,1024-65535 in { via

Re: getting factory MAC address

2014-09-30 Thread John Baldwin
On Sunday, September 21, 2014 8:13:17 am clutton wrote: > Hi list. I'm relatively new here. So, Hi. :) > > I don't know how to read the real MAC, I mean the one which is burned in > ROM. Is it possible from the user space? I've ported GNU macchanger and > it's the last non ported feature. > > htt

Re: Choice of private ioctl approach

2014-09-30 Thread John Baldwin
On Monday, September 29, 2014 8:36:22 am Andrew Rybchenko wrote: > Hello, > > we need to add private ioctl to the driver sfxge(4) to make FW update, > do internal diagnostics commands etc. > We see at least two approaches in other drivers: > 1. SIOCGPRIVATE_0/ SIOCGPRIVATE_1 on net device > 2.

Neworking Wiki Page updated...

2014-09-30 Thread George Neville-Neil
Howdy, I've attempted to gather all the Networking TODOs from our various, scattered, wiki pages and concentrate them all in one place. Please review https://wiki.freebsd.org/Networking and if you need update that page. That is now the central page for all our networking todos and the like.

Addressing refcount issues in ip6_setdstifaddr and ip6_getdstifaddr routines.

2014-09-30 Thread Vedant Mathur
Hi all, I am trying to address the refcount issues in the routine ip6_setdstifaddr defined in the file ip6_input.c. The issue is described below: The ip6_setdstifaddr routine is responsible for adding m_tags to an mbuf and stashing the struct in6_ifaddr reference in the m_tag. Since the in6_ifa

wrong source address with neighbor solicitation from jail

2014-09-30 Thread Bernd Walter
At first I'd thought it is the plain old broken multicast ethernet support story, since I noticed it with an IPv6 only ARM system. But multicast on all the system works fine, it is the neighbor solitictaion request at fault selecting the wrong My setup. One client system, which failed to communica

Re: pf stuck

2014-09-30 Thread Hooman Fazaeli
On 9/30/2014 12:12 AM, Andrea Venturoli wrote: On 09/29/14 20:21, Ermal Luçi wrote: Probably is better you ask this on freebsd-pf@. Thanks, I see you have already cc:ed it. Though this sounds like state limit reached. Can this happen even if all my pf rules have "no state"? No. Anyway,

Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support

2014-09-30 Thread Nils Beyer
Hi, Yonghyeon PYUN wrote: >> Then I've connected a network cable and rebooted. I've got a link and >> performed an "iperf" test. The results are really good: around 930 Mbit/s >> TX and 840 Mbit/s RX. CPU load during that test: "70.75% kernel{alc0 >> taskq}". > > Hmm, the RX performance number lo

Re: netmap on ubuntu 14.04?

2014-09-30 Thread Stefano Garzarella
Hi Lars, for linux 3.16, can you try with "next" branch in https://code.google.com/p/netmap/? Thanks, Stefano 2014-09-30 9:27 GMT+02:00 Eggert, Lars : > On 2014-9-26, at 15:19, Leupoldt, Martin wrote: > > has anyone experience about netmap on a Ubuntu 14.04 machine? > > I've compiled it with 3.

Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support

2014-09-30 Thread Yonghyeon PYUN
On Tue, Sep 30, 2014 at 10:20:31AM +0200, Nils Beyer wrote: > Hi Yonghyeon, > > Yonghyeon PYUN wrote: > > I've added support for QAC AR816x/AR817x ethernet controllers. It > > passed my limited testing and I need more testers. You can find > > patches from the following URLs. [...] > > My NIC (

Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support

2014-09-30 Thread Nils Beyer
Hi Yonghyeon, Yonghyeon PYUN wrote: > I've added support for QAC AR816x/AR817x ethernet controllers. It > passed my limited testing and I need more testers. You can find > patches from the following URLs. [...] My NIC (System: "Dell Inc. Vostro 3460"): --

Re: netmap on ubuntu 14.04?

2014-09-30 Thread Eggert, Lars
On 2014-9-26, at 15:19, Leupoldt, Martin wrote: > has anyone experience about netmap on a Ubuntu 14.04 machine? I've compiled it with 3.13 under Debian; 3.16 fails to compile because the patch doesn't apply cleanly. Lars signature.asc Description: Message signed with OpenPGP using GPGMail