mbox series

[net-next,v4,0/2] Implement irq_domain for TXGBE

Message ID 20240125062213.28248-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series Implement irq_domain for TXGBE | expand

Message

Jiawen Wu Jan. 25, 2024, 6:22 a.m. UTC
Implement irq_domain for the MAC interrupt and handle the sub-irqs.

v3 -> v4:
- fix build error

v2 -> v3:
- use macro defines instead of magic number

v1 -> v2:
- move interrupt codes to txgbe_irq.c
- add txgbe-link-irq to msic irq domain
- remove functions that are not needed

Jiawen Wu (2):
  net: txgbe: move interrupt codes to a separate file
  net: txgbe: use irq_domain for interrupt controller

 drivers/net/ethernet/wangxun/libwx/wx_hw.c    |   2 -
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   |  20 +-
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |   1 -
 drivers/net/ethernet/wangxun/txgbe/Makefile   |   1 +
 .../net/ethernet/wangxun/txgbe/txgbe_irq.c    | 269 ++++++++++++++++++
 .../net/ethernet/wangxun/txgbe/txgbe_irq.h    |   7 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   | 140 +--------
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    |  59 ++--
 .../net/ethernet/wangxun/txgbe/txgbe_phy.h    |   2 +
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   |  17 ++
 10 files changed, 337 insertions(+), 181 deletions(-)
 create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_irq.c
 create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_irq.h

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 27, 2024, 2:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 25 Jan 2024 14:22:11 +0800 you wrote:
> Implement irq_domain for the MAC interrupt and handle the sub-irqs.
> 
> v3 -> v4:
> - fix build error
> 
> v2 -> v3:
> - use macro defines instead of magic number
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/2] net: txgbe: move interrupt codes to a separate file
    https://git.kernel.org/netdev/net-next/c/63aabc3ef196
  - [net-next,v4,2/2] net: txgbe: use irq_domain for interrupt controller
    https://git.kernel.org/netdev/net-next/c/aefd013624a1

You are awesome, thank you!