[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250807203438.GR61519@horms.kernel.org>
Date: Thu, 7 Aug 2025 21:34:38 +0100
From: Simon Horman <horms@...nel.org>
To: Alexandra Winter <wintera@...ux.ibm.com>
Cc: David Miller <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Eric Dumazet <edumazet@...gle.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"D. Wythe" <alibuda@...ux.alibaba.com>,
Dust Li <dust.li@...ux.alibaba.com>,
Sidraya Jayagond <sidraya@...ux.ibm.com>,
Wenjia Zhang <wenjia@...ux.ibm.com>,
Julian Ruess <julianr@...ux.ibm.com>, netdev@...r.kernel.org,
linux-s390@...r.kernel.org, Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Sven Schnelle <svens@...ux.ibm.com>,
Thorsten Winkler <twinkler@...ux.ibm.com>,
Mahanta Jambigi <mjambigi@...ux.ibm.com>,
Tony Lu <tonylu@...ux.alibaba.com>,
Wen Gu <guwen@...ux.alibaba.com>, Halil Pasic <pasic@...ux.ibm.com>,
linux-rdma@...r.kernel.org
Subject: Re: [RFC net-next 16/17] net/dibs: Move data path to dibs layer
On Wed, Aug 06, 2025 at 05:41:21PM +0200, Alexandra Winter wrote:
...
> diff --git a/net/smc/smc_ism.c b/net/smc/smc_ism.c
...
> @@ -33,18 +32,18 @@ static void smcd_register_dev(struct dibs_dev *dibs);
> static void smcd_unregister_dev(struct dibs_dev *dibs);
> #if IS_ENABLED(CONFIG_ISM)
> static void smcd_handle_event(struct ism_dev *ism, struct ism_event *event);
> -static void smcd_handle_irq(struct ism_dev *ism, unsigned int dmbno,
> +static void smcd_handle_irq(struct dibs_dev *dibs, unsigned int dmbno,
> u16 dmbemask);
Hi Alexandria,
smcd_handle_irq is only declared (and defined) if CONFIG_ISM is enabled.
>
> static struct ism_client smc_ism_client = {
> .name = "SMC-D",
> .handle_event = smcd_handle_event,
> - .handle_irq = smcd_handle_irq,
> };
> #endif
> static struct dibs_client_ops smc_client_ops = {
> .add_dev = smcd_register_dev,
> .del_dev = smcd_unregister_dev,
> + .handle_irq = smcd_handle_irq,
But here smcd_handle_irq is used regardless of if CONFIG_ISM is enabled.
I believe this is addressed by the following patch in this series.
However, this does result ina transient build failure.
And they should be avoided as they break bisection.
> };
>
> static struct dibs_client smc_dibs_client = {
...
Powered by blists - more mailing lists