From owner-freebsd-net@freebsd.org Wed Jun 24 14:18:35 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9F58915B86 for ; Wed, 24 Jun 2015 14:18:35 +0000 (UTC) (envelope-from phnguyen@biologie.ens.fr) Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6A41D21 for ; Wed, 24 Jun 2015 14:18:34 +0000 (UTC) (envelope-from phnguyen@biologie.ens.fr) Received: from biologie.ens.fr (milda.ens.fr [129.199.18.219]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id t5ODKbmG069902 for ; Wed, 24 Jun 2015 15:20:38 +0200 (CEST) X-Envelope-To: Received: from localhost (av3.biologie.ens.fr [129.199.21.124]) by biologie.ens.fr (Postfix) with ESMTP id D6C9EB3; Wed, 24 Jun 2015 15:20:37 +0200 (CEST) X-Virus-Scanned: spam & virus filtering at av3.ens.fr X-Spam-Flag: NO X-Spam-Score: -10.91 X-Spam-Level: X-Spam-Status: No, score=-10.91 tagged_above=-9999 required=5 tests=[ALL_TRUSTED=-1, AUTHD_RELAY=-8, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from biologie.ens.fr ([IPv6:::ffff:129.199.18.219]) by localhost (av3.biologie.ens.fr [::ffff:129.199.21.124]) (amavisd-new, port 10024) with ESMTP id Fre9ZN1ZxC22; Wed, 24 Jun 2015 15:20:37 +0200 (CEST) Received: from [129.199.16.44] (hades.ens.fr [129.199.16.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: phnguyen) by biologie.ens.fr (Postfix) with ESMTPSA id 99E614F; Wed, 24 Jun 2015 15:20:37 +0200 (CEST) Message-ID: <558AAEA5.5040602@biologie.ens.fr> Date: Wed, 24 Jun 2015 15:20:37 +0200 From: Phi-Phong NGUYEN User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-net@freebsd.org CC: sysinfo Subject: Re: [RESOLVED] Re: oce(4) promiscous mode bug(?) References: <5581427D.9070007@genossen.ru> <558AA9D6.2040406@genossen.ru> In-Reply-To: <558AA9D6.2040406@genossen.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef2.ens.fr [129.199.96.32]); Wed, 24 Jun 2015 15:20:38 +0200 (CEST) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2015 14:18:35 -0000 Really ? I had a problem with carp on emulex cards and it was the same fix !! The "|=" rather than "=" has made all the difference. I have to admit that Emulex provided a nice support, though... On 06/24/2015 03:00 PM, Sergey Akhmatov wrote: > Hello, > > In case someone's interested: I've contacted Emulex technical support > and they've confirmed promisc mode bug, it would be fixed with the > next driver update. Meanwhile Emulex kindly provided me updated > version, the patch is very simple: > > --- sys/dev/oce/oce_mbox.c.orig 2015-06-24 15:51:28.000000000 +0300 > +++ sys/dev/oce/oce_mbox.c 2015-06-24 15:51:32.000000000 +0300 > @@ -865,7 +865,7 @@ > req->iface_flags = MBX_RX_IFACE_FLAGS_PROMISCUOUS; > > if (enable & 0x02) > - req->iface_flags = MBX_RX_IFACE_FLAGS_VLAN_PROMISCUOUS; > + req->iface_flags |= MBX_RX_IFACE_FLAGS_VLAN_PROMISCUOUS; > > req->if_id = sc->if_id; > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Phi-Phong NGUYEN Service informatique Institut de Biologie ENS 46 rue d'Ulm 75230 PARIS CEDEX 05 Tel: 01 44 32 36 34 Fax: 01 44 32 36 30