git: 72e34ebdd088 - main - ena: Update ena_com_update_intr_reg API usage

From: Arthur Kiyanovski <akiyano_at_FreeBSD.org>
Date: Thu, 28 Dec 2023 13:57:16 UTC
The branch main has been updated by akiyano:

URL: https://cgit.FreeBSD.org/src/commit/?id=72e34ebdd08854dc896f267b0461e241c4040241

commit 72e34ebdd08854dc896f267b0461e241c4040241
Author:     Osama Abboud <osamaabb@amazon.com>
AuthorDate: 2023-09-11 08:38:39 +0000
Commit:     Arthur Kiyanovski <akiyano@FreeBSD.org>
CommitDate: 2023-12-28 13:56:05 +0000

    ena: Update ena_com_update_intr_reg API usage
    
    This commit fixes the usage of this function to be compatible with the
    new API introduced by ena-com update to v2.7.0
    
    Approved by: cperciva (mentor)
    MFC after: 2 weeks
    Sponsored by: Amazon, Inc.
---
 sys/dev/ena/ena.c          | 2 +-
 sys/dev/ena/ena_datapath.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/ena/ena.c b/sys/dev/ena/ena.c
index ba1712093a7a..aca2e0b43041 100644
--- a/sys/dev/ena/ena.c
+++ b/sys/dev/ena/ena.c
@@ -2026,7 +2026,7 @@ ena_unmask_all_io_irqs(struct ena_adapter *adapter)
 	for (i = 0; i < adapter->num_io_queues; i++) {
 		ena_qid = ENA_IO_TXQ_IDX(i);
 		io_cq = &adapter->ena_dev->io_cq_queues[ena_qid];
-		ena_com_update_intr_reg(&intr_reg, 0, 0, true);
+		ena_com_update_intr_reg(&intr_reg, 0, 0, true, false);
 		tx_ring = &adapter->tx_ring[i];
 		counter_u64_add(tx_ring->tx_stats.unmask_interrupt_num, 1);
 		ena_com_unmask_intr(io_cq, &intr_reg);
diff --git a/sys/dev/ena/ena_datapath.c b/sys/dev/ena/ena_datapath.c
index 3e0a8aa2bd74..e5c424139d3c 100644
--- a/sys/dev/ena/ena_datapath.c
+++ b/sys/dev/ena/ena_datapath.c
@@ -104,7 +104,7 @@ ena_cleanup(void *arg, int pending)
 
 	/* Signal that work is done and unmask interrupt */
 	ena_com_update_intr_reg(&intr_reg, ENA_RX_IRQ_INTERVAL,
-	    ENA_TX_IRQ_INTERVAL, true);
+	    ENA_TX_IRQ_INTERVAL, true, false);
 	counter_u64_add(tx_ring->tx_stats.unmask_interrupt_num, 1);
 	ena_com_unmask_intr(io_cq, &intr_reg);
 }