From nobody Thu Mar 07 19:27:09 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 4TrK7K3VQDz5DfXt; Thu, 7 Mar 2024 19:27:09 +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 4TrK7K2drgz4b6q; Thu, 7 Mar 2024 19:27:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709839629; 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=jPqk33pS8muBTuHaPOW1ULgIxZJezX6hL5TJSMnnckk=; b=OudrQP+OdmHwTtpZ9MFP+e+uPhRd7hS+ApFZsFl1Wfs209UqpMe0npDo/n6ZwbE56vNkdM e6D8nz5IlYVwEdU6DsKltrB+nDXN7lLrg360H/hxNpY1UMIpDfSkglkGf7NcVWvgCiV6U9 fds3ddPx/ZOSJSgD//qau5cf9j1qmn092AMZDFzIua71TSYwIvpf8T6llPayDE8/VZM0w2 baDKaYXqWaJVhTIj4v3kDwXH6EfsSBQsio8Fc+HP+vzneJrr7yLrbOhIyxb6w02M+gbNrV ew8Oqz4k9BmTfFIq6khFKFUXabJwYHDb3GSrv0cHHXZp7iasjaeonrAGtHTgMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709839629; a=rsa-sha256; cv=none; b=r5RpP8e6zb+bFOsKr5nOh/ihDCHP2YSE6VV6Whi67Mkg6fznvIGzcDK/CBJ9sD7BQehszG SS63ser7o1Ir5HogHZ0TdaUeUKTdgbgzjI2eKpRwRO7/r7XA8fp6hpSRnbCkskVr5rBvV2 kAt0bf37VcQnf2Q71fasXFdiGyXM9qocVxdxTss/Q8Y6BbGgf5yWzIdxEJz8rpu0mJfRe8 mpCxpdn+9E+2CTuhXNclt6FrcsA0k5YS+rVImvD4bLigbWu7fILnrXWc4vzbTvWC1Ftb/I /Q9La6/9ZcsY7xdKh/FDBFdhG5YMVO9bpPffxISQRZRmvi+doaNEDg3PsJsIKg== 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=1709839629; 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=jPqk33pS8muBTuHaPOW1ULgIxZJezX6hL5TJSMnnckk=; b=WhStqIqrUXYnak7cUBuXjPBGB9VX5vTzjaGt4LUHtiSAsFnJYJLUKheJh3O945epZkWsfL b/cXDL3UwCJob6brUq9+lFeM/bRi/io6HTfBWvP/M3SUFi7HSvpv3HkSDtgL9BwAkMl3v1 afMegE2epga+0KHMooyp7oqL7zkMPOgAMT6qfvOXfDETlMxP4r77Vn+HFKcV94eAGEExyq oN11f0X6X4TcNF8lVUGuMXuJ86IrdrAjwFildCi+D9z5p746XLiK4hEMc72ZfNZILx+zwT RFNMQFQjdb2SPg3y3ZwRTTUt7Jt/58XzE+jS6zbdICq9qDyrf2klzu+/SV/fPg== 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 4TrK7K2DGvznR5; Thu, 7 Mar 2024 19:27:09 +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 427JR9MC064137; Thu, 7 Mar 2024 19:27:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 427JR9Kd064134; Thu, 7 Mar 2024 19:27:09 GMT (envelope-from git) Date: Thu, 7 Mar 2024 19:27:09 GMT Message-Id: <202403071927.427JR9Kd064134@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Sumit Saxena Subject: git: 0f8d1a9e0cd2 - main - 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: 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: ssaxena X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f8d1a9e0cd26bf4dd0b2fe2d28c1ab15d03cce4 Auto-Submitted: auto-generated The branch main has been updated by ssaxena: URL: https://cgit.FreeBSD.org/src/commit/?id=0f8d1a9e0cd26bf4dd0b2fe2d28c1ab15d03cce4 commit 0f8d1a9e0cd26bf4dd0b2fe2d28c1ab15d03cce4 Author: Chandrakanth Patil AuthorDate: 2024-03-06 13:15:32 +0000 Commit: Sumit Saxena CommitDate: 2024-03-07 19:16:38 +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 --- 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 6d447e8070d5..92e448567f9e 100644 --- a/sys/dev/bnxt/if_bnxt.c +++ b/sys/dev/bnxt/if_bnxt.c @@ -2082,6 +2082,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;