Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2015 15:20:37 +0200
From:      Phi-Phong NGUYEN <phnguyen@biologie.ens.fr>
To:        freebsd-net@freebsd.org
Cc:        sysinfo <sysinfo@biologie.ens.fr>
Subject:   Re: [RESOLVED] Re: oce(4) promiscous mode bug(?)
Message-ID:  <558AAEA5.5040602@biologie.ens.fr>
In-Reply-To: <558AA9D6.2040406@genossen.ru>
References:  <5581427D.9070007@genossen.ru> <558AA9D6.2040406@genossen.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?558AAEA5.5040602>