[RESOLVED] Re: oce(4) promiscous mode bug(?)

Sergey Akhmatov stell at genossen.ru
Wed Jun 24 13:00:19 UTC 2015


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;



More information about the freebsd-net mailing list