From nobody Sun Jan 14 22:07:57 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TCqCL2C6lz57G7N; Sun, 14 Jan 2024 22:07:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCqCK66MHz4KP2; Sun, 14 Jan 2024 22:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705270077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OzbLhYNSj7Kmtc/AIwPX8kyjeLgQ1teyqHntysN3nP0=; b=HD784maJS0rgELfi2I/s1S4biEI8M4rPW6V5eTZ77scpjjUuI5vgWbxixN6XuGpQix+s3P CXw3Z99h5yQl268lHZo4KmppI7f7ZEa3wO75LnYArqXqUAlDljGrW2Mig+kekIAPfZ4+nz YuqbBCWWGYx2yIXuhVdXSTSrSY51Vb7xwo6WufY7dI4w11OdsVRfApQ6VFAe3pcF9bARIx M89CIfMcBMg58ywQhRMMMTl8ONTQu9LVcz9P2M3k+NXvq6Mp2LutxTI3CZ8GPVbPt34ePU hbU6Ac9WM/Y98BPdjqroAuU9+7Z2zzZ2GL9CptEapIL5zLVGJ22vEBJlTEFOIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705270077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OzbLhYNSj7Kmtc/AIwPX8kyjeLgQ1teyqHntysN3nP0=; b=n/Pt4esMLsge26fkJOylE3BcWILIg7WqKUT69aDIKV6wWYI01n/8EM98wx3FA0CSZS6gsU YbwTSNK9JxKikiL9/GI4Ap5TEkL30qwO53ix2AILI1+BXVn+0HcLeOSo8Wl5AdDyFoImHB ODNtYXKqZ+a14rNVKr0fAuTj3ehj34NB2pGirZBlaDETH31VTQhBGiwzljhQaDefZVKJNx Y/5MUIsAebdUnqfo8NgouOdl1EIuBNtbZfi7YnFYQ7AYPkfloOri4U2chazNKi8UK6oyro U3XYud/1l0NZPKEa5MSPUlnQw0IR2blUDzRz33564OjHE1TOMMyhbJj0tgjc6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705270077; a=rsa-sha256; cv=none; b=RgjrRipLBNP0Plb7+vqj3k5hncKbkYde57+x73ZibyG6qgDWO3jaw3Mr+HU1wGQr1EYOKK ZawZkT3gmEdkeePKkFwNSNWWivyo7lWTxNT/gOxyXxNvO36pX1XBvbVtOkQ9a8krBkEr8F 3PBI6M0XJTmleTalnfxazosofqIjGGsDZWhIg42QgzcPAPQdgNLkIgzs0+S/i8FaaDev7E PVwMYo33btddr7eIUhG5nrzT8xTo/8B2MSC9KaGkp8/098p29bwUR7/YBeIY8NbpokXVjg LbEtHnBpaazQZ45qVZm36WKjoH2V2ON4+3eHlmn+rkXRhghsGzSGYOH/Qsa2ww== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TCqCK59WCzXHM; Sun, 14 Jan 2024 22:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40EM7v4L060192; Sun, 14 Jan 2024 22:07:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40EM7vcN060189; Sun, 14 Jan 2024 22:07:57 GMT (envelope-from git) Date: Sun, 14 Jan 2024 22:07:57 GMT Message-Id: <202401142207.40EM7vcN060189@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Arthur Kiyanovski Subject: git: 026a78a2adb4 - stable/13 - ena: Remove CQ tail pointer update API List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: akiyano X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 026a78a2adb461e0f340a5d6f8d7284a0df9da29 Auto-Submitted: auto-generated The branch stable/13 has been updated by akiyano: URL: https://cgit.FreeBSD.org/src/commit/?id=026a78a2adb461e0f340a5d6f8d7284a0df9da29 commit 026a78a2adb461e0f340a5d6f8d7284a0df9da29 Author: Osama Abboud AuthorDate: 2023-09-11 08:43:08 +0000 Commit: Arthur Kiyanovski CommitDate: 2024-01-14 07:43:23 +0000 ena: Remove CQ tail pointer update API This commit removes the usage of this API from the freebsd driver since the relevant functionality is not supported by the device. Approved by: cperciva (mentor) MFC after: 2 weeks Sponsored by: Amazon, Inc. (cherry picked from commit 2835752e075f2fa3edcb596df8306c570ec4cae6) --- sys/dev/ena/ena_datapath.c | 3 --- sys/dev/ena/ena_netmap.c | 1 - 2 files changed, 4 deletions(-) diff --git a/sys/dev/ena/ena_datapath.c b/sys/dev/ena/ena_datapath.c index 725a6e82094f..7c30177588b4 100644 --- a/sys/dev/ena/ena_datapath.c +++ b/sys/dev/ena/ena_datapath.c @@ -298,7 +298,6 @@ ena_tx_cleanup(struct ena_ring *tx_ring) ena_com_comp_ack( &adapter->ena_dev->io_sq_queues[ena_qid], total_done); - ena_com_update_dev_comp_head(io_cq); total_done = 0; } } while (likely(--budget)); @@ -313,7 +312,6 @@ ena_tx_cleanup(struct ena_ring *tx_ring) tx_ring->next_to_clean = next_to_clean; ena_com_comp_ack(&adapter->ena_dev->io_sq_queues[ena_qid], total_done); - ena_com_update_dev_comp_head(io_cq); } /* @@ -690,7 +688,6 @@ ena_rx_cleanup(struct ena_ring *rx_ring) ENA_RX_REFILL_THRESH_PACKET); if (refill_required > refill_threshold) { - ena_com_update_dev_comp_head(rx_ring->ena_com_io_cq); ena_refill_rx_bufs(rx_ring, refill_required); } diff --git a/sys/dev/ena/ena_netmap.c b/sys/dev/ena/ena_netmap.c index 3990d1bccd75..f7d7e3d367cb 100644 --- a/sys/dev/ena/ena_netmap.c +++ b/sys/dev/ena/ena_netmap.c @@ -814,7 +814,6 @@ ena_netmap_tx_cleanup(struct ena_netmap_ctx *ctx) /* acknowledge completion of sent packets */ ctx->ring->next_to_clean = ctx->nt; ena_com_comp_ack(ctx->ring->ena_com_io_sq, total_tx_descs); - ena_com_update_dev_comp_head(ctx->ring->ena_com_io_cq); } }