From: Andrew Rybchenko Date: Fri, 2 Jul 2021 08:39:30 +0000 (+0300) Subject: net/sfc: do not enable interrupts on internal Rx queues X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=396541fe43150e50c2482ddd3cc89ab556b10958;p=dpdk.git net/sfc: do not enable interrupts on internal Rx queues rxq_intr flag requests support for interrupt mode for ethdev Rx queues. There is no internal Rx queues yet. Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/sfc_ev.c b/drivers/net/sfc/sfc_ev.c index 2262994112..9a8149f052 100644 --- a/drivers/net/sfc/sfc_ev.c +++ b/drivers/net/sfc/sfc_ev.c @@ -663,7 +663,9 @@ sfc_ev_qstart(struct sfc_evq *evq, unsigned int hw_index) efx_evq_size(sa->nic, evq->entries, evq_flags)); if ((sa->intr.lsc_intr && hw_index == sa->mgmt_evq_index) || - (sa->intr.rxq_intr && evq->dp_rxq != NULL)) + (sa->intr.rxq_intr && evq->dp_rxq != NULL && + sfc_ethdev_rx_qid_by_rxq_sw_index(sfc_sa2shared(sa), + evq->dp_rxq->dpq.queue_id) != SFC_ETHDEV_QID_INVALID)) evq_flags |= EFX_EVQ_FLAGS_NOTIFY_INTERRUPT; else evq_flags |= EFX_EVQ_FLAGS_NOTIFY_DISABLED;