[RESOLVED] Re: oce(4) promiscous mode bug(?)
Phi-Phong NGUYEN
phnguyen at biologie.ens.fr
Wed Jun 24 14:18:35 UTC 2015
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at 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
More information about the freebsd-net
mailing list