From nobody Thu Mar 07 19:27:14 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 4TrK7Q36Z3z5DfWW; Thu, 7 Mar 2024 19:27:14 +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 4TrK7Q2WgCz4b5b; Thu, 7 Mar 2024 19:27:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709839634; 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=rVR+X3ox7ApgFgCcwbNgAo0pIxaNhr4ve4ybyb/q17U=; b=FhPFESlbRoARIkHtZemret4PP2XwnahJvbXbw4tzzwFGdaqs1WN5LneH3xz7y1R/zSTipd wadlAJymKeDlYw06u3EVM/zx3PGCF40WrkCUQbT4V0O0DTFA1/GIST66vKQyg7PI+usJpn EHJaakrFKHFd4XjpAuL6erhCDAfVJPKLMLqU0BaWcHqdVTxWQO1DjzjGVKSvLAtJyK1V90 4CaulO+1qec9p4d+CDWq0qvw03mlUo0tbz6L8Cuncrh64fsII+WTm5pIBypfMAKWW2g5UY aaLoNjNIWIO+O4SM6uOblaEqwOwl5Z/pvXV2f/lJ/KJntZwyjQxk9eql8Ac/qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709839634; a=rsa-sha256; cv=none; b=nf10+FiCGmm6ZC6tvYKVmoA7CGy53nhAdiwaydrMzOEatZAPBcZnbGuwECZK16TwQi60LU LvvDzd6LGvn+2Bk2cVi9bsEFZyV1BUnE3vbDgMK0TlSHi3v+3lcFLOyu3Zi+IthDHNN8eu 40FZLBLV9IAxOjUUAX9yYxRtVvLmwBSI7ZONyCICKw5GSNNXktAusABtPsuD5nkdSuCwUG T9QrUdkv6uIy57PW6shPY2kCSHnDW0jzoLJc8M42YpFBbraGalVSBL2id/HHRU3BFH+VBq /MbdiRYQkLYssEGvlBjju1qAB9ZHXvD0LRhFw/hh13XKXBjWixjnP2LNDDydUw== 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=1709839634; 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=rVR+X3ox7ApgFgCcwbNgAo0pIxaNhr4ve4ybyb/q17U=; b=KVxcvsDZcKco9HHeHDArMOV3QJ6pbOHtuVzu9gSaFa1GBQ4TPxxB0awhC9lrehmmumjJx1 7ZnJ8rBj3DGVRjW806L8ms440qa6exz3H2RbBKLYVO13U4mLXFVnslQnKegR24cQr7sd7i HQC6DLRqHbUzV0h3QhX14JdwlB04ZGbheMiVwBJJaxRWwcwaTw2dkelUJd0haG7EvInps3 aRHHGT/P/y93Ygb4I1PVncxmsa5Bzxy9rAp2uX14oiR76jS6oy2FFgbCLmdzKEcvvjWej5 zeSDh6Zbd9krcrJ7k6EgZWQmGoAULyYgsFyTUPpLTDZf4OiuGPX2QhVGnFvvCA== 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 4TrK7Q22GwzmpD; Thu, 7 Mar 2024 19:27:14 +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 427JRECF064306; Thu, 7 Mar 2024 19:27:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 427JREsQ064303; Thu, 7 Mar 2024 19:27:14 GMT (envelope-from git) Date: Thu, 7 Mar 2024 19:27:14 GMT Message-Id: <202403071927.427JREsQ064303@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: 816abba22efc - main - if_bnxt: Integrate AOC Cable Support into Current 40G PHY Speed 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: 816abba22efcf1ba51f61b1d89320ca8b576274e Auto-Submitted: auto-generated The branch main has been updated by ssaxena: URL: https://cgit.FreeBSD.org/src/commit/?id=816abba22efcf1ba51f61b1d89320ca8b576274e commit 816abba22efcf1ba51f61b1d89320ca8b576274e Author: Chandrakanth Patil AuthorDate: 2024-03-06 13:18:41 +0000 Commit: Sumit Saxena CommitDate: 2024-03-07 19:16:39 +0000 if_bnxt: Integrate AOC Cable Support into Current 40G PHY Speed Reviewed by: imp Approved by: imp Differential revision: https://reviews.freebsd.org/D429506 --- sys/dev/bnxt/if_bnxt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c index 92e448567f9e..238c0729cdaf 100644 --- a/sys/dev/bnxt/if_bnxt.c +++ b/sys/dev/bnxt/if_bnxt.c @@ -2120,6 +2120,8 @@ bnxt_media_change(if_ctx_t ctx) case IFM_40G_KR4: case IFM_40G_LR4: case IFM_40G_SR4: + case IFM_40G_XLAUI: + case IFM_40G_XLAUI_AC: softc->link_info.autoneg &= ~BNXT_AUTONEG_SPEED; softc->link_info.req_link_speed = HWRM_PORT_PHY_CFG_INPUT_FORCE_LINK_SPEED_40GB; @@ -2936,6 +2938,8 @@ bnxt_add_media_types(struct bnxt_softc *softc) case HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_40G_ACTIVE_CABLE: BNXT_IFMEDIA_ADD(supported, SPEEDS_25GB, IFM_25G_ACC); BNXT_IFMEDIA_ADD(supported, SPEEDS_10GB, IFM_10G_AOC); + BNXT_IFMEDIA_ADD(supported, SPEEDS_40GB, IFM_40G_XLAUI); + BNXT_IFMEDIA_ADD(supported, SPEEDS_40GB, IFM_40G_XLAUI_AC); break; case HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_1G_BASECX: