]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/sfc_efx/base/hunt_nic.c
common/sfc_efx/base: separate target EvQ and IRQ config
[dpdk.git] / drivers / common / sfc_efx / base / hunt_nic.c
index 75c90500701052ce3f807ab661b5fbd6c8deef56..08ae3244820b53f394eeaad47a714ef7c4668faf 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2019-2021 Xilinx, Inc.
  * Copyright(c) 2012-2019 Solarflare Communications Inc.
  */
 
@@ -76,6 +76,12 @@ hunt_board_cfg(
        uint32_t bandwidth;
        efx_rc_t rc;
 
+       /*
+        * Event queue creation is complete when an
+        * EVQ_INIT_DONE_EV event is received.
+        */
+       encp->enc_evq_init_done_ev_supported = B_TRUE;
+
        /*
         * Enable firmware workarounds for hardware errata.
         * Expected responses are: