From nobody Mon Jun 03 19:24:50 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 4VtNw304Dhz5JsD1; Mon, 03 Jun 2024 19:24:51 +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 4VtNw24Ygmz4VB4; Mon, 3 Jun 2024 19:24:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717442690; 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=Ir3NpNGvmMm0KfLMGiMxmPJr59SaTLgPYJ6Qe+9XFNY=; b=B3X92EaEFR4FIHPVxMbZuvAP1I+FcPBu2yVKwpAN+6bj16sm7jCRM8hUfP5YQ3evzq1sag EW2QBERzBdY9uXENM+NjXdqB6glQH0wsVWcFrXe1jXtn/CJC/YrF3YCDcxKUEA1m/OxXH0 dJXbI1VEnpSRRettU4H4moRXbTklsrEYUH+6MeqDAy995ZN+fxNqIg62Hw5dnMssP2QU2m VYe0QyQ4ZUOghcIyVkQcl2/5q/SLsgHiNwq+r+ZehzHMCO3HiZhhNgnwJomNN+Ze1Xx0y1 4v4Mov6pIRSgtE58N//h4gWiQc9NSbuunzv7YV+z/YjdxbgxQKrL4pYsLXC3Zw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717442690; a=rsa-sha256; cv=none; b=mZ7knnlZY8Uxqzu9JdQt/Mu4udUQLhCVaORN4CakN7/ozuavSNeZaB4e7tMEtk1KhbZgHm vKXOA1GJAzEZEF6kiil9o6HtbA76kbJr3talBN8dRkuT2zrIOahZTseVmGliiaAW/qPVJ5 v/uP1nRhXHvJgxOte8FZ8t3YxRwbgbZudat2tila1sdXHFJQTW/G09LgI8XbAvFjUG6jgO MO1+fs0jXNfcVdfwp1HM+FhEOiWUIg+0fheo5+xbk5y4Aqk7Zu1NpK1L9C5UdyrLbrObQ9 D8Ussf6lT0JDp+x30dgXmHjfb9A0u/zn9uOq1NGEXUF5lgzSdj4vJEsrBWYQsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717442690; 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=Ir3NpNGvmMm0KfLMGiMxmPJr59SaTLgPYJ6Qe+9XFNY=; b=U8rvYUeV7/oE8yj2LErav2nO5K/Fh9yryyp9O4VWsLoP8x4CblmKDDBib1EzMiEX9NzEAz 5QxWU2THXNF5ouKYdvntfZb0u/VHPvhkgmzp/PS8SHcjvoWvmD1uZUE/lSqonrl1G2FtUz KLwDt4o4p85cZVXyztILLI3CULHvHSUNwl/QDoGFE20092WVXYYdMUs482r4rDkzDs7AHB kwYQarVbimt82D8ey8tOPXXUbwFJ3NDVtrc4XQtImtS3Tt8HoW38zP9f3orDwxBDzVBt1W o7Djv643SJEFeqgyJo/l7LjG6evnvgITqszWBtJBrzvjJ/TzY4xW//8GWZXlPg== 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 4VtNw2491pzndx; Mon, 3 Jun 2024 19:24:50 +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 453JOoZj067455; Mon, 3 Jun 2024 19:24:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 453JOodj067452; Mon, 3 Jun 2024 19:24:50 GMT (envelope-from git) Date: Mon, 3 Jun 2024 19:24:50 GMT Message-Id: <202406031924.453JOodj067452@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: c75f0a568ef6 - stable/14 - if_bnxt: Enabled support for 1G SX, CX, and LX forced speed settings 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c75f0a568ef6169cd92e15af130f095981fcdaef Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c75f0a568ef6169cd92e15af130f095981fcdaef commit c75f0a568ef6169cd92e15af130f095981fcdaef Author: Chandrakanth Patil AuthorDate: 2024-03-06 13:15:32 +0000 Commit: Warner Losh CommitDate: 2024-06-03 19:23:13 +0000 if_bnxt: Enabled support for 1G SX, CX, and LX forced speed settings Enabled User Configuration of 1G Speed on Wh+ SFP28 Port with AOC cable. Reviewed by: imp Approved by: imp Differential revision: https://reviews.freebsd.org/D42953 (cherry picked from commit 0f8d1a9e0cd26bf4dd0b2fe2d28c1ab15d03cce4) --- sys/dev/bnxt/if_bnxt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c index 1432587cbd4a..5edb678ac444 100644 --- a/sys/dev/bnxt/if_bnxt.c +++ b/sys/dev/bnxt/if_bnxt.c @@ -2083,6 +2083,9 @@ bnxt_media_change(if_ctx_t ctx) case IFM_1000_KX: case IFM_1000_T: case IFM_1000_SGMII: + case IFM_1000_CX: + case IFM_1000_SX: + case IFM_1000_LX: softc->link_info.autoneg &= ~BNXT_AUTONEG_SPEED; softc->link_info.req_link_speed = HWRM_PORT_PHY_CFG_INPUT_FORCE_LINK_SPEED_1GB;