[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250616183305.GF750234@unreal>
Date: Mon, 16 Jun 2025 21:33:05 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Simon Horman <horms@...nel.org>
Cc: Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Mark Zhang <markzhang@...dia.com>,
linux-rdma@...r.kernel.org, netdev@...r.kernel.org,
Paolo Abeni <pabeni@...hat.com>,
Patrisious Haddad <phaddad@...dia.com>,
Tariq Toukan <tariqt@...dia.com>, Jason Gunthorpe <jgg@...dia.com>
Subject: Re: [PATCH net] net/mlx4e: Remove redundant definition of IB_MTU_XXX
On Mon, Jun 16, 2025 at 05:36:02PM +0100, Simon Horman wrote:
> On Mon, Jun 16, 2025 at 11:24:23AM +0300, Leon Romanovsky wrote:
> > From: Mark Zhang <markzhang@...dia.com>
> >
> > Remove them to avoid "redeclaration of enumerator" build error, as they
> > are already defined in ib_verbs.h. This is needed for the following
> > patch, which need to include the ib_verbs.h.
> >
> > Fixes: 096335b3f983 ("mlx4_core: Allow dynamic MTU configuration for IB ports")
> > Reviewed-by: Patrisious Haddad <phaddad@...dia.com>
> > Signed-off-by: Mark Zhang <markzhang@...dia.com>
> > Signed-off-by: Leon Romanovsky <leonro@...dia.com>
>
> Hi Mark, Leon, all,
>
> If I understand things correctly, without this patch the driver
> compiles and functions correctly. But if it is modified to
> include rdma/ib_verbs.h, which is required for some other forthcoming
> change, then the other parts of this patch are needed to avoid a build
> failure.
Yes, the inclusion of rdma/ib_verbs.h was needed for series, which at
the end doesn't need it. I can drop Fixes line if it is important.
There is no following patches for this. It is standalone change.
Thanks
Powered by blists - more mailing lists