Hi to all,

On /sys/dev/pci/if_oce.c there's a missing parenthesis that pops when the 
OCE_RSS macro is defined.

Thanks,
Tiago Silva

--- dev/pci/if_oce.c    Mon Jun 29 18:58:04 2015
+++ dev/pci/if_oce.c    Thu Mar 03 22:02:22 2016
@@ -3077,7 +3077,7 @@
        memset(&cmd, 0, sizeof(cmd));
 
        if (enable)
-               cmd.params.req.enable_rss = RSS_ENABLE_IPV4 | RSS_ENABLE_IPV6 |
+               cmd.params.req.enable_rss = (RSS_ENABLE_IPV4 | RSS_ENABLE_IPV6 |
                    RSS_ENABLE_TCP_IPV4 | RSS_ENABLE_TCP_IPV6);
        cmd.params.req.flush = OCE_FLUSH;
        cmd.params.req.if_id = htole32(sc->sc_if_id);

Reply via email to