Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2015 16:00:06 +0300
From:      Sergey Akhmatov <stell@genossen.ru>
To:        freebsd-net@freebsd.org
Subject:   [RESOLVED] Re: oce(4) promiscous mode bug(?)
Message-ID:  <558AA9D6.2040406@genossen.ru>
In-Reply-To: <5581427D.9070007@genossen.ru>
References:  <5581427D.9070007@genossen.ru>

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




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