netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2] rds: ib: Remove unused extern definition
@ 2025-09-04 11:53 Håkon Bugge
  2025-09-04 13:55 ` Jakub Kicinski
  0 siblings, 1 reply; 5+ messages in thread
From: Håkon Bugge @ 2025-09-04 11:53 UTC (permalink / raw)
  To: Allison Henderson, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman, Santosh Shilimkar
  Cc: stable, Håkon Bugge, netdev, linux-rdma, rds-devel,
	linux-kernel

In the old days, RDS used FMR (Fast Memory Registration) to register
IB MRs to be used by RDMA. A newer and better verbs based
registration/de-registration method called FRWR (Fast Registration
Work Request) was added to RDS by commit 1659185fb4d0 ("RDS: IB:
Support Fastreg MR (FRMR) memory registration mode") in 2016.

Detection and enablement of FRWR was done in commit 2cb2912d6563
("RDS: IB: add Fastreg MR (FRMR) detection support"). But said commit
added an extern bool prefer_frmr, which was not used by said commit -
nor used by later commits. Hence, remove it.

Fixes: 2cb2912d6563 ("RDS: IB: add Fastreg MR (FRMR) detection support")
Cc: stable@vger.kernel.org
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>

---

	v1 -> v2:
	      * Added commit message
	      * Added Cc: stable@vger.kernel.org
---
 net/rds/ib_mr.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/rds/ib_mr.h b/net/rds/ib_mr.h
index ea5e9aee4959e..5884de8c6f45b 100644
--- a/net/rds/ib_mr.h
+++ b/net/rds/ib_mr.h
@@ -108,7 +108,6 @@ struct rds_ib_mr_pool {
 };
 
 extern struct workqueue_struct *rds_ib_mr_wq;
-extern bool prefer_frmr;
 
 struct rds_ib_mr_pool *rds_ib_create_mr_pool(struct rds_ib_device *rds_dev,
 					     int npages);
-- 
2.43.5


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH net v2] rds: ib: Remove unused extern definition
  2025-09-04 11:53 [PATCH net v2] rds: ib: Remove unused extern definition Håkon Bugge
@ 2025-09-04 13:55 ` Jakub Kicinski
  2025-09-04 14:22   ` Haakon Bugge
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Kicinski @ 2025-09-04 13:55 UTC (permalink / raw)
  To: Håkon Bugge
  Cc: Allison Henderson, David S. Miller, Eric Dumazet, Paolo Abeni,
	Simon Horman, Santosh Shilimkar, stable, netdev, linux-rdma,
	rds-devel, linux-kernel

On Thu,  4 Sep 2025 13:53:43 +0200 Håkon Bugge wrote:
> Fixes: 2cb2912d6563 ("RDS: IB: add Fastreg MR (FRMR) detection support")
> Cc: stable@vger.kernel.org

Fixes: and cc: stable is for bug fixes which we care about so deeply we
want them backported ASAP. Why do you think removing an unused
declaration qualifies as such :\
-- 
pw-bot: cr

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net v2] rds: ib: Remove unused extern definition
  2025-09-04 13:55 ` Jakub Kicinski
@ 2025-09-04 14:22   ` Haakon Bugge
  2025-09-04 14:33     ` Jakub Kicinski
  0 siblings, 1 reply; 5+ messages in thread
From: Haakon Bugge @ 2025-09-04 14:22 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Allison Henderson, David S. Miller, Eric Dumazet, Paolo Abeni,
	Simon Horman, Santosh Shilimkar, stable@vger.kernel.org,
	netdev@vger.kernel.org, OFED mailing list,
	rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org

Hi Jakub,


> On 4 Sep 2025, at 15:55, Jakub Kicinski <kuba@kernel.org> wrote:
> 
> On Thu,  4 Sep 2025 13:53:43 +0200 Håkon Bugge wrote:
>> Fixes: 2cb2912d6563 ("RDS: IB: add Fastreg MR (FRMR) detection support")
>> Cc: stable@vger.kernel.org
> 
> Fixes: and cc: stable is for bug fixes which we care about so deeply we
> want them backported ASAP. Why do you think removing an unused
> declaration qualifies as such :\

Sorry if I have mis-interpreted the collateral. From [1], I quote:

"A Fixes: tag indicates that the patch fixes an issue in a previous commit." As such, it is an "issue" and I reference the offending commit.

As to "Cc: stable", you're quite right. My bad. You want a v3 or are you (and stable) able to handle it?



Thxs, Håkon




[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net v2] rds: ib: Remove unused extern definition
  2025-09-04 14:22   ` Haakon Bugge
@ 2025-09-04 14:33     ` Jakub Kicinski
  2025-09-04 18:45       ` Simon Horman
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Kicinski @ 2025-09-04 14:33 UTC (permalink / raw)
  To: Haakon Bugge
  Cc: Allison Henderson, David S. Miller, Eric Dumazet, Paolo Abeni,
	Simon Horman, Santosh Shilimkar, stable@vger.kernel.org,
	netdev@vger.kernel.org, OFED mailing list,
	rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org

On Thu, 4 Sep 2025 14:22:02 +0000 Haakon Bugge wrote:
> Sorry if I have mis-interpreted the collateral. From [1], I quote:
> 
> "A Fixes: tag indicates that the patch fixes an issue in a previous
> commit." As such, it is an "issue" and I reference the offending
> commit.

You're not the first one to misinterpret it, I guess we should fix the
doc :$

> As to "Cc: stable", you're quite right. My bad. You want a v3 or are
> you (and stable) able to handle it?

Please repost this one without the extra tags, and if you want it to go
via netdev the subject tag should be net-next in this case (it will end
up in 6.18)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net v2] rds: ib: Remove unused extern definition
  2025-09-04 14:33     ` Jakub Kicinski
@ 2025-09-04 18:45       ` Simon Horman
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2025-09-04 18:45 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Haakon Bugge, Allison Henderson, David S. Miller, Eric Dumazet,
	Paolo Abeni, Santosh Shilimkar, stable@vger.kernel.org,
	netdev@vger.kernel.org, OFED mailing list,
	rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org

On Thu, Sep 04, 2025 at 07:33:43AM -0700, Jakub Kicinski wrote:
> On Thu, 4 Sep 2025 14:22:02 +0000 Haakon Bugge wrote:
> > Sorry if I have mis-interpreted the collateral. From [1], I quote:
> > 
> > "A Fixes: tag indicates that the patch fixes an issue in a previous
> > commit." As such, it is an "issue" and I reference the offending
> > commit.
> 
> You're not the first one to misinterpret it, I guess we should fix the
> doc :$

+1

FTR, a fix implies a bug. And a good rule of thumb that a bug
is something broken that is user-visible. E.g. a system panic.

> 
> > As to "Cc: stable", you're quite right. My bad. You want a v3 or are
> > you (and stable) able to handle it?
> 
> Please repost this one without the extra tags, and if you want it to go
> via netdev the subject tag should be net-next in this case (it will end
> up in 6.18)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-04 18:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 11:53 [PATCH net v2] rds: ib: Remove unused extern definition Håkon Bugge
2025-09-04 13:55 ` Jakub Kicinski
2025-09-04 14:22   ` Haakon Bugge
2025-09-04 14:33     ` Jakub Kicinski
2025-09-04 18:45       ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).