From nobody Sat Mar 23 00:25:35 2024 X-Original-To: dev-commits-src-main@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 4V1g2m2pqhz5Fl0C; Sat, 23 Mar 2024 00:25:36 +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 4V1g2l6Pgtz4YSn; Sat, 23 Mar 2024 00:25:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711153535; 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=EaVZHqrBK8KZ69YAE1/CgEfO44SRgdlNy479Z5LaGSY=; b=DOFcavKxTgBFhrd5PaGfxFU8HOEU11uFiPCYU8WCBKE32Gao38A0CuuN5nCc66443GUscw IcgPxw29KtdUL1AGpsB59Q3MktfyRtZpdrCTPgHhuWjyK/xGSXk/k8T1Z2EiGYiP7xk0J1 zzwtOhqaJM6ggVe2AOQmp5CxBc40bxD8tUX+xAkoONswevPD+W+Jzja7bCL7UhRNcifMfE RZZdcEceelcAOduEma0twaNUWAl5FFvLR1iz2LJTmTJlRHKmcco8wRXntYrQq+DRuzXOn/ 023w61xp7A6EldPVaASXGUxDIbWoyZToJ04iaPtEWNT+M8B8RFI5fqVrT37hgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711153535; a=rsa-sha256; cv=none; b=Nm/bA41Jj0hMTgEebbuyb97DdRyVfCMaHCtGVeqq+jE1SRvfzM9BJy0jQ6QIODPYELHAJx Y1ZA4MY48nWBTUDe17dQLKUk8egA4iLrRtTI2+JVEN8ps3mPGjIk1M58lBf98Ugdd6Sh7J ShqassMWHX6DUlwyREaNqvCWGvhhhL20VKI4kULRQL9qeJZUhzMZYbx0qpWa2IW361axfq Lz+bckvdf5S8P7jThYO6cdBOIOpCU5OW0w1fluHWZvS5VFRIrxVs8ZLbUsJz+kx2IyTw33 +G2fWGH4vhYOdO7CZD6jMQ5ElqSpK9vZUnf73xULlzdRnenXoqlCpB/hEKyxTg== 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=1711153535; 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=EaVZHqrBK8KZ69YAE1/CgEfO44SRgdlNy479Z5LaGSY=; b=AfO5JgFs/K/GwY0hglmjP+EE23iGR+vyuUjZV9MbKdSiaLHh3t4C4lUQlV5V0O3o+S2k3r 6xhSp+Sgl1wTii9fq9M1F8ovs5rNN0f6uXc25NwblT/gqJ1EZRCdeZzk0ID4h9cEF6fQf2 lsTvYPHrLS+HAGYs8xT6VfBvj1hWBb82WP6JGWQ40lFxvYpgiPwMPBvcByySb2/aLnQ2WX xyeKSzclz8U/QQnER5zslLFsarOX8erVMHh5aEa0vkzECMXxAcoK0FE7cauh7A1FNmSUyy SYip1AhVwvgRvJujThU8Zml7CFwx3ZZBTLCMRE992VhjdlRQGgLrOiAVY1rMkw== 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 4V1g2l627bzQgc; Sat, 23 Mar 2024 00:25:35 +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 42N0PZWs005822; Sat, 23 Mar 2024 00:25:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42N0PZmp005819; Sat, 23 Mar 2024 00:25:35 GMT (envelope-from git) Date: Sat, 23 Mar 2024 00:25:35 GMT Message-Id: <202403230025.42N0PZmp005819@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: cbda1886ab1c - main - nvme: Add constants for the extended data for Get Log Page command flag List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cbda1886ab1cd3ec2847b7da5136d3bb68d56101 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=cbda1886ab1cd3ec2847b7da5136d3bb68d56101 commit cbda1886ab1cd3ec2847b7da5136d3bb68d56101 Author: John Baldwin AuthorDate: 2024-03-23 00:23:46 +0000 Commit: John Baldwin CommitDate: 2024-03-23 00:23:46 +0000 nvme: Add constants for the extended data for Get Log Page command flag nvme(4) doesn't check this flag, but Fabrics implementations may need to set this flag in the log page attributes cdata field. Reviewed by: imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44444 --- sys/dev/nvme/nvme.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h index 6eb9ef69b33b..7059421f9fd7 100644 --- a/sys/dev/nvme/nvme.h +++ b/sys/dev/nvme/nvme.h @@ -358,6 +358,9 @@ enum nvme_psdt { /* per namespace smart/health log page */ #define NVME_CTRLR_DATA_LPA_NS_SMART_SHIFT (0) #define NVME_CTRLR_DATA_LPA_NS_SMART_MASK (0x1) +/* extended data for Get Log Page command */ +#define NVME_CTRLR_DATA_LPA_EXT_DATA_SHIFT (2) +#define NVME_CTRLR_DATA_LPA_EXT_DATA_MASK (0x1) /** AVSCC - admin vendor specific command configuration */ /* admin vendor specific commands use spec format */