Date: Sun, 14 Jan 2024 22:07:56 GMT From: Arthur Kiyanovski <akiyano@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 2f7f8526c38d - stable/13 - ena: Update ena_com_update_intr_reg API usage Message-ID: <202401142207.40EM7uXw060137@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by akiyano: URL: https://cgit.FreeBSD.org/src/commit/?id=2f7f8526c38db6febb68f66bf9edbf819bc9c8e4 commit 2f7f8526c38db6febb68f66bf9edbf819bc9c8e4 Author: Osama Abboud <osamaabb@amazon.com> AuthorDate: 2023-09-11 08:38:39 +0000 Commit: Arthur Kiyanovski <akiyano@FreeBSD.org> CommitDate: 2024-01-14 07:43:22 +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. (cherry picked from commit 72e34ebdd08854dc896f267b0461e241c4040241) --- 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 8b213b250ec7..f078dbf78060 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 f10571f7165b..725a6e82094f 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401142207.40EM7uXw060137>