From nobody Tue Apr 18 13:02:09 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 4Q13wf0brvz454xX; Tue, 18 Apr 2023 13:02:10 +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 4Q13wd1xvmz4Klb; Tue, 18 Apr 2023 13:02:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681822929; 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=+Od4CYxsuFfTotJNrGeXRo63nYLJASIjBrwQudPi9uk=; b=NJCYzEQNUPJm4iAybkTn1+dR0O50EWWTs6m0S6ZyWo0F/y/AhROSIjUy+D+fuA1CIraAdz uasxSQZ7eWQkuW6oT+wfiiPbCgXmD21FlbaiOX/DHQnli+NDVYyy/yFj5D6YCsfBVM08bV MKaK+ZGkqHQDeXGDUfSXAWE3JqN2snXS4WlRcWyuPBgJgVGLiZYGWil/sh2s0x0rwmd53W Ci2j/eS851ua/rqr/ljNXJiuKgjZKpFaEByQYNHZFjqC8LFKh5v3VgW4Fsi2/9uxcsw8jl MX5v4oG2KD2Xr3MoQ0AsvSozbbz+6WoMl0Ka2+XyCmODpRsK2zZ2YuNB3UBW8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681822929; 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=+Od4CYxsuFfTotJNrGeXRo63nYLJASIjBrwQudPi9uk=; b=OXfvIkshGShRHzCsFXBR+ZNg0JmwYpfRsXmYjCpp8jWGbNCjmOO9+q+oYSc8sNyy2s+Nv2 9HhEhQRGtD2stYD/5s4Uo798MGAz314H88BaQ6yZkHthnteEICkrz2sbUyjE6+1cg32mrK L/ewuZsvvyBVheULaYVrH/ozBdj4Qz/nhR32LtyAhUTKdJsyhCXMxJsXA3CwdPoQKGk+En w3qJpt2hGN9OyonypHj4AYeB/UJM1HHv4+BJO5MXPNv81/dSiEw5ahQqDH3xBDy7gvKjrs R7IUdw3FJT2PvXIEzS3z1yUEnctfxIa6008wJO/bHfjiFhUrn1bzJOYJXGHMdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681822929; a=rsa-sha256; cv=none; b=aUxfaeiKu6niHfLDeGTRRpOHZteaPmNoUwIpN/OegU/KIsUhedsmxSRTaq3FhgqO6c+kY+ tMpPJidVs06VnblnmeekqLR+muU/lYOyUY0AE+gfm3EA1UuNScsmfMCYAkuwPyAie2ALaQ qldbn2vCs5OLViJZMSS3EI11w+Wrp3SeEy5GcbL+GbX2i6G2gFKTnhDMM2er0U9y/k1VqE Z5a8KrRFJgyHcC13QHpeprZFn7LpWp+MYqNxCwtR9u/lBXc2H1YeObnMsmAu1SgRSZc60Z mnxroV/RLcT/XoTkSypPZc/g/S1RoneuimrNRwz67WakMdg+7AzotVZZXILA7A== 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 4Q13wd1141z1BpY; Tue, 18 Apr 2023 13:02:09 +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 33ID29Tg079104; Tue, 18 Apr 2023 13:02:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33ID29rJ079103; Tue, 18 Apr 2023 13:02:09 GMT (envelope-from git) Date: Tue, 18 Apr 2023 13:02:09 GMT Message-Id: <202304181302.33ID29rJ079103@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: 80b4ef6d1054 - main - mlx5: Remove unused debugfs node pointers. 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: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 80b4ef6d10544d30b6cfeddca12ae28d81816201 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=80b4ef6d10544d30b6cfeddca12ae28d81816201 commit 80b4ef6d10544d30b6cfeddca12ae28d81816201 Author: Hans Petter Selasky AuthorDate: 2023-04-18 11:40:22 +0000 Commit: Hans Petter Selasky CommitDate: 2023-04-18 13:01:07 +0000 mlx5: Remove unused debugfs node pointers. No functional change intended. MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/dev/mlx5/driver.h | 19 +------------------ sys/dev/mlx5/mlx5_ib/mlx5_ib.h | 7 ------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/sys/dev/mlx5/driver.h b/sys/dev/mlx5/driver.h index 12e6de958371..ea37d17db895 100644 --- a/sys/dev/mlx5/driver.h +++ b/sys/dev/mlx5/driver.h @@ -177,7 +177,6 @@ enum { }; struct mlx5_field_desc { - struct dentry *dent; int i; }; @@ -185,7 +184,6 @@ struct mlx5_rsc_debug { struct mlx5_core_dev *dev; void *object; enum dbg_rsc_type type; - struct dentry *root; struct mlx5_field_desc fields[0]; }; @@ -248,12 +246,6 @@ struct mlx5_fw_page { #define mlx5_cmd_msg mlx5_fw_page struct mlx5_cmd_debug { - struct dentry *dbg_root; - struct dentry *dbg_in; - struct dentry *dbg_out; - struct dentry *dbg_outlen; - struct dentry *dbg_status; - struct dentry *dbg_run; void *in_msg; void *out_msg; u8 status; @@ -287,9 +279,6 @@ enum mlx5_cmd_mode { struct mlx5_cmd_stats { u64 sum; u64 n; - struct dentry *root; - struct dentry *avg; - struct dentry *count; /* protect command average calculations */ spinlock_t lock; }; @@ -585,10 +574,7 @@ struct mlx5_priv { /* start: qp staff */ struct mlx5_qp_table qp_table; - struct dentry *qp_debugfs; - struct dentry *eq_debugfs; - struct dentry *cq_debugfs; - struct dentry *cmdif_debugfs; + /* end: qp staff */ /* start: cq staff */ @@ -605,7 +591,6 @@ struct mlx5_priv { struct mutex pgdir_mutex; struct list_head pgdir_list; /* end: alloc staff */ - struct dentry *dbg_root; /* protect mkey key part */ spinlock_t mkey_lock; @@ -897,8 +882,6 @@ static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) return pci_get_drvdata(pdev); } -extern struct dentry *mlx5_debugfs_root; - static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) { return ioread32be(&dev->iseg->fw_rev) & 0xffff; diff --git a/sys/dev/mlx5/mlx5_ib/mlx5_ib.h b/sys/dev/mlx5/mlx5_ib/mlx5_ib.h index e39e18dd1b39..8db77bed4546 100644 --- a/sys/dev/mlx5/mlx5_ib/mlx5_ib.h +++ b/sys/dev/mlx5/mlx5_ib/mlx5_ib.h @@ -594,7 +594,6 @@ struct mlx5_cache_ent { spinlock_t lock; - struct dentry *dir; char name[4]; u32 order; u32 size; @@ -602,11 +601,6 @@ struct mlx5_cache_ent { u32 miss; u32 limit; - struct dentry *fsize; - struct dentry *fcur; - struct dentry *fmiss; - struct dentry *flimit; - struct mlx5_ib_dev *dev; struct work_struct work; struct delayed_work dwork; @@ -617,7 +611,6 @@ struct mlx5_mr_cache { struct workqueue_struct *wq; struct mlx5_cache_ent ent[MAX_MR_CACHE_ENTRIES]; int stopped; - struct dentry *root; unsigned long last_add; };