linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] bnxt_en: Remove not used other ULP define
@ 2021-10-29 17:18 Leon Romanovsky
  2021-10-29 17:51 ` Michael Chan
  2021-10-30  4:30 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Leon Romanovsky @ 2021-10-29 17:18 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski
  Cc: Leon Romanovsky, linux-kernel, Michael Chan, netdev

From: Leon Romanovsky <leonro@nvidia.com>

There is only one bnxt ULP in the upstream kernel and definition
for other ULP can be safely removed.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
This is not intrusive version of this patch [1] that will allow us
remove all this indirection.

[1] https://lore.kernel.org/linux-rdma/20210401065715.565226-6-leon@kernel.org/
---
 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
index 6b4d2556a6df..54d59f681b86 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
@@ -11,8 +11,7 @@
 #define BNXT_ULP_H
 
 #define BNXT_ROCE_ULP	0
-#define BNXT_OTHER_ULP	1
-#define BNXT_MAX_ULP	2
+#define BNXT_MAX_ULP	1
 
 #define BNXT_MIN_ROCE_CP_RINGS	2
 #define BNXT_MIN_ROCE_STAT_CTXS	1
-- 
2.31.1


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

* Re: [PATCH net-next] bnxt_en: Remove not used other ULP define
  2021-10-29 17:18 [PATCH net-next] bnxt_en: Remove not used other ULP define Leon Romanovsky
@ 2021-10-29 17:51 ` Michael Chan
  2021-10-30  4:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Chan @ 2021-10-29 17:51 UTC (permalink / raw)
  To: Leon Romanovsky
  Cc: David S . Miller, Jakub Kicinski, Leon Romanovsky, linux-kernel, netdev

On Fri, Oct 29, 2021 at 10:18 AM Leon Romanovsky <leon@kernel.org> wrote:
>
> From: Leon Romanovsky <leonro@nvidia.com>
>
> There is only one bnxt ULP in the upstream kernel and definition
> for other ULP can be safely removed.
>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>

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

* Re: [PATCH net-next] bnxt_en: Remove not used other ULP define
  2021-10-29 17:18 [PATCH net-next] bnxt_en: Remove not used other ULP define Leon Romanovsky
  2021-10-29 17:51 ` Michael Chan
@ 2021-10-30  4:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-10-30  4:30 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: davem, kuba, leonro, linux-kernel, michael.chan, netdev

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 29 Oct 2021 20:18:15 +0300 you wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> There is only one bnxt ULP in the upstream kernel and definition
> for other ULP can be safely removed.
> 
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> 
> [...]

Here is the summary with links:
  - [net-next] bnxt_en: Remove not used other ULP define
    https://git.kernel.org/netdev/net-next/c/d269287761ab

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2021-10-30  4:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 17:18 [PATCH net-next] bnxt_en: Remove not used other ULP define Leon Romanovsky
2021-10-29 17:51 ` Michael Chan
2021-10-30  4:30 ` patchwork-bot+netdevbpf

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).