Subject: Re: [PATCH v2 2/8] net/rds: Introduce a pool of worker threads for connection management

From: Jakub Kicinski <[email-masked]>
Date: Mon, 14 Apr 2025 17:46:43 -0700

On Fri, 11 Apr 2025 11:02:01 -0700 [email-masked] wrote:
> RDS uses a single threaded work queue for connection management. This
> involves creation and deletion of QPs and CQs. On certain HCAs, such
> as CX-3, these operations are para-virtualized and some part of the
> work has to be conducted by the Physical Function (PF) driver.
> 
> In fail-over and fail-back situations, there might be 1000s of
> connections to tear down and re-establish. Hence, expand the number
> work queues.

sparse warnings here (C=1):

net/rds/connection.c:174:55: warning: incorrect type in argument 1 (different base types)
net/rds/connection.c:174:55:    expected unsigned int [usertype] a
net/rds/connection.c:174:55:    got restricted __be32 const
net/rds/connection.c:175:55: warning: incorrect type in argument 2 (different base types)
net/rds/connection.c:175:55:    expected unsigned int [usertype] b
net/rds/connection.c:175:55:    got restricted __be32 const
-- 
pw-bot: cr