From nobody Sat Dec 10 19:34:52 2022 X-Original-To: dev-commits-src-branches@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 4NTylJ2xlvz4kGxP; Sat, 10 Dec 2022 19:34:52 +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 4NTylJ29pFz3k03; Sat, 10 Dec 2022 19:34:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670700892; 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=Xqc66N4ERy1M5TauREm+fJl8RvU+ITvnimP7B+bl+Ak=; b=yC32DO2PHAhqrhLkIgdQ8xfj5VPRvu5rEYWAvA1L59kEB3XAKy3CmvD8afxdGl6KXkGsx9 aUlUO4L9pL4I4G32oISk/eR5SV8lGBvEd8EyfLgpK6JOvSbT0X4t95srAxGvV5FmbzBw7z hXbS6rMDYKHi4h/XRJzXhvYgnh4fTmHkdDtRXl6G1lNlG2sPs+Ax9GChRTQJ6uu+/FB1YB KjKFFkPMr+iXcb63IrAu9ZDw3yQIDoIc7OzEqynJi8mxrco5hfPFC8aOz8eYJ6SSHGCygY 2i8/i8Tl0DwuuJs10LmKhzZvSfr4eyaFVuZPJrfYtK+uYtk/I/dWJhvuPX5iiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670700892; 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=Xqc66N4ERy1M5TauREm+fJl8RvU+ITvnimP7B+bl+Ak=; b=OZykghe4W/jjHpXA3l99ZXaV7IJxSX6X2OO5kLfycBK5Zv1umQ0BTphgV6QdP86yX3Mc9q ZzdWpAj1ziMnatLmEQlAVIN3zGAF6G01LTvPnRlzxZ7I4M28x0t5sVwAgCe+cfiXF8oKdJ +jiEhE7Ww2XxFDW5VcjYIN1LR3qhF/pwZ0Y70FoBI+ohuSz+20lO7OzbFD+mSvCQA14S0j aK2gSC5/7Xy/BX7LB+l9+6KZowUkB1Kl7v/lZypelAJ6X574N5S3/UD7RQh8dlsQufgv5x /tl5pWRwgsNlv5qFveKOWtPLZeFehb9SwNHAwRa626MTInXaphBwG8BImM9VQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670700892; a=rsa-sha256; cv=none; b=GE8CuvObiYBhQ5Oq7OwyQBhXmqAntzEB+VGN7gPvlnfZVycj5zBR3Dp4XoSDbWwJGgMLWr HjnamzSrWYFSVS+5AKpo1eaul16HhArk4L2WvnD0t7vQxhiU0i6bxZsoaJ8iN/OU/M2hav XxvOYZQcGuumZZy5mKVqyRdiTwxHX+pflBgohpGvxsp6UwuE+437Mec6EODgZZjLnvCzBG w3Mwf0R2D/PpW8DtnV/xp/BF+CEY/qF5eCgQaCq4qahaIVdwKEOImkAdxfQg18gPOCOlIh 7MS6gTUSvmmoB+NsTV76IIujsOQlj7h9FtByfAYgw3ip6d6g4lManWg8yymNPA== 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 4NTylJ15CGzS9x; Sat, 10 Dec 2022 19:34:52 +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 2BAJYqwX075198; Sat, 10 Dec 2022 19:34:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BAJYq7B075197; Sat, 10 Dec 2022 19:34:52 GMT (envelope-from git) Date: Sat, 10 Dec 2022 19:34:52 GMT Message-Id: <202212101934.2BAJYq7B075197@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Chuck Tuffli Subject: git: a4e0b5e28fdc - stable/13 - nvmecontrol: Fix IEEE OUI Identifier output List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: chuck X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a4e0b5e28fdc4778c9733275f0293d66347d924c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by chuck: URL: https://cgit.FreeBSD.org/src/commit/?id=a4e0b5e28fdc4778c9733275f0293d66347d924c commit a4e0b5e28fdc4778c9733275f0293d66347d924c Author: Wanpeng Qian AuthorDate: 2022-11-20 03:06:36 +0000 Commit: Chuck Tuffli CommitDate: 2022-12-12 03:21:12 +0000 nvmecontrol: Fix IEEE OUI Identifier output Current sequence of IEEE OUI Identifier output is wrong. For Intel, current output is e4 d2 5c, specification is 5CD2E4h For Samsung, current output is 38 25 00, specification is 002538h also check with Linux nvme-cli. (cherry picked from commit 41be508d31a594f5212ef9e717df1f3e9ca295d8) --- sbin/nvmecontrol/identify_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/nvmecontrol/identify_ext.c b/sbin/nvmecontrol/identify_ext.c index 272946d319d4..ff024b451767 100644 --- a/sbin/nvmecontrol/identify_ext.c +++ b/sbin/nvmecontrol/identify_ext.c @@ -107,7 +107,7 @@ nvme_print_controller(struct nvme_controller_data *cdata) printf("Firmware Version: %s\n", str); printf("Recommended Arb Burst: %d\n", cdata->rab); printf("IEEE OUI Identifier: %02x %02x %02x\n", - cdata->ieee[0], cdata->ieee[1], cdata->ieee[2]); + cdata->ieee[2], cdata->ieee[1], cdata->ieee[0]); printf("Multi-Path I/O Capabilities: %s%s%s%s%s\n", (cdata->mic == 0) ? "Not Supported" : "", ((cdata->mic >> NVME_CTRLR_DATA_MIC_ANAR_SHIFT) &