]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_irq.c
net/bnxt: remove redefinition of page size
[dpdk.git] / drivers / net / bnxt / bnxt_irq.c
index 846325ea96417cc7f82be4269f4b12b493853c34..40e1b0c980b3afb4cb306bd613e39f2d142cd08b 100644 (file)
@@ -181,5 +181,13 @@ int bnxt_request_int(struct bnxt *bp)
                        irq->requested = 1;
        }
 
+#ifdef RTE_EXEC_ENV_FREEBSD
+       /**
+        * In FreeBSD OS, nic_uio does not support interrupts and
+        * interrupt register callback will fail.
+        */
+       rc = 0;
+#endif
+
        return rc;
 }