From nobody Thu Jan 19 03:52:21 2023 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 4Ny7xL184Vz2svhX; Thu, 19 Jan 2023 03:52:22 +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 4Ny7xK6Ztxz3jHg; Thu, 19 Jan 2023 03:52:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674100342; 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=9LizdutOXY5+vShZmHavEvTd2Bnq9b5gBeHGixtXgg4=; b=Y3OjwdgCRsKr2LCyEhy+s3g143lI+Vmmfe+lDP4BjBo2zbSA7c3tEukEyFkv5b6O8tOSO5 g9b1gt/NmwdSsd891gUrE/npJhQxajZNer9AAA90+XZGfLa3rXw7kOFsn6qlWLB9VJiwuC erLlvC+YBdFfU2scHSQrzLQ1vT3A31es1Gx0ZolrLItc75P3InVCR1fGQP4kYAIJw7tN9t AgxACTAqT/2OTlcabEcnfmQDiqRzuRgRHpiJUkdbobxA8xmeCuSemoDsPrgFTH5RLPy1ef 3iWu9jxFCZLGEMg1jo+fhqB9junFOrGzzmAl61LESbW0s6lDUOJToBvT9EM6hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674100342; 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=9LizdutOXY5+vShZmHavEvTd2Bnq9b5gBeHGixtXgg4=; b=srXePdez8FA/EivJs98NSHQ6MpRr3S2wmgx7ViC8Qw9Qa8g292IG2qgOesd0blkmqU//Me W8q4WH2u1vaiG2a6YaaY55On+fyjzskMWxjzcvNy+jSyWb+sz5DKbdz3tZDzDd9YvRLpz/ yPllD9vrzgwOzuiP0Ialq8vg6PHnJ8j0R7HeP5GfgWDUuheo3f5thbFDGN3o3YP2CLLLjM q7OWpXG41d/0fEi1nZH00ZLFTJGsekKNNP0gheFhSb5kn44gFO8wZjAHCYdDmj7JuDnG0E 5l9J3Ee7//sJsII00p1GJk1+ZbsguJ9rqwUW2FhivjqsJQ4x9pZA2kpYB0RKig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674100342; a=rsa-sha256; cv=none; b=V3ZPg96hkypKvFgeH2/WlQpAV+W+NoWjgui/U2ksKbjS1OBF3fdFasaL3LT/06kDzJ0179 sqf9Ak0wnmTX49Nq83QiXFSUS9Uj2DKwvv8gS6B6TslWYw3Z30JnjOgQRiAekeKUuPGejv 5P7ThvPwkklMu90MjC/So0vMV+meLz86EGMJWbJEVWLw5ROMmWcSaW98+sIW/CNu2s2peC Slsx+m6yf8BrVPDNQy8Q0kT86kZHRTt9XnlhyLwizmnNxTc/jfBtgJSaVz5Hz+3fEsW1EN gWDnHLDcCJWy1eufpEw766XVx1SA+dfcVRHJANhG1IXLbCvABxxcD9/8fiT/sQ== 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 4Ny7xK5Pb9zcZR; Thu, 19 Jan 2023 03:52:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30J3qLAH025734; Thu, 19 Jan 2023 03:52:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30J3qLrr025733; Thu, 19 Jan 2023 03:52:21 GMT (envelope-from git) Date: Thu, 19 Jan 2023 03:52:21 GMT Message-Id: <202301190352.30J3qLrr025733@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: ef55d4aaceff - stable/13 - if_bnxt: Fix the PORT_PHY_CFG HWRM requests while setting Pause 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ef55d4aaceff3ea2283373c36b181839b7a36487 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ef55d4aaceff3ea2283373c36b181839b7a36487 commit ef55d4aaceff3ea2283373c36b181839b7a36487 Author: Sumit Saxena AuthorDate: 2022-11-04 22:31:24 +0000 Commit: Warner Losh CommitDate: 2023-01-19 01:00:06 +0000 if_bnxt: Fix the PORT_PHY_CFG HWRM requests while setting Pause Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36446 (cherry picked from commit 19a57f85baac915a3642733c8a856517f4e95cb3) --- sys/dev/bnxt/bnxt_hwrm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/bnxt/bnxt_hwrm.c b/sys/dev/bnxt/bnxt_hwrm.c index 40c47ffe372c..9d74b1ebf65b 100644 --- a/sys/dev/bnxt/bnxt_hwrm.c +++ b/sys/dev/bnxt/bnxt_hwrm.c @@ -868,6 +868,9 @@ bnxt_hwrm_set_pause_common(struct bnxt_softc *softc, HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_TX; req->enables |= htole32(HWRM_PORT_PHY_CFG_INPUT_ENABLES_FORCE_PAUSE); + req->auto_pause = req->force_pause; + req->enables |= + htole32(HWRM_PORT_PHY_CFG_INPUT_ENABLES_AUTO_PAUSE); } }