net/sfc/base: support the Rx event mode w/o continue
[dpdk.git] / drivers / net / sfc / base / ef10_nic.c
index d689206..39ca53f 100644 (file)
@@ -1197,6 +1197,14 @@ ef10_get_datapath_caps(
        else
                encp->enc_init_evq_v2_supported = B_FALSE;
 
+       /*
+        * Check if the NO_CONT_EV mode for RX events is supported.
+        */
+       if (CAP_FLAGS2(req, INIT_RXQ_NO_CONT_EV))
+               encp->enc_no_cont_ev_mode_supported = B_TRUE;
+       else
+               encp->enc_no_cont_ev_mode_supported = B_FALSE;
+
        /*
         * Check if firmware-verified NVRAM updates must be used.
         *