From: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
To: intel-wired-lan@lists.osuosl.org
Cc: netdev@vger.kernel.org,
Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Subject: [PATCH iwl-next v1 00/10] Interrupts helper in libie
Date: Mon, 7 Sep 2026 12:24:07 +0200 [thread overview]
Message-ID: <20260907102418.2697317-1-michal.swiatkowski@linux.intel.com> (raw)
Hi,
To not copy the same code to handle interrupts in ixd driver move it to
libie_irq module and use in both idpf and ixd.
First part is changing current idpf code to make it more friendly to be
moved to the lib. Basically there is no need to store MSI-X entries in
separate table. Instead of that store it in xarray which also replace
custom lifo implementation.
Patch with libie is about moving the code to the new module. No
functional changes here, just moving the code or adding some more
descriptions.
The irq code is similar in ice. One patch also coverd the changes in ice
driver.
Last patches is the implementation in ixd driver. To manage MSI-X it
needs to first map correct regions. Do this using virtchnl command,
similiary as in idpf.
Michal Swiatkowski (10):
idpf: store HW vectors information
idpf: fill q_vector interrupt registers one by one
idpf: get rid of msix_entries array
idpf: drop v_idx from q_vector structure
libie, idpf: move irq code to libie
libie, idpf: move hardware irq info struct to libie
libie, idpf: move parsing alloc vectors command to libie
ice: use libie_irq for interrupts managing
ixd: support for getting lan memory regions
ixd: use interrupt for mailbox communication
drivers/net/ethernet/intel/Kconfig | 1 +
drivers/net/ethernet/intel/ice/ice.h | 5 +-
drivers/net/ethernet/intel/ice/ice_base.c | 4 +-
drivers/net/ethernet/intel/ice/ice_idc.c | 4 +-
drivers/net/ethernet/intel/ice/ice_irq.c | 181 +-------
drivers/net/ethernet/intel/ice/ice_irq.h | 14 -
drivers/net/ethernet/intel/ice/ice_lib.c | 3 -
drivers/net/ethernet/intel/ice/ice_main.c | 15 +-
drivers/net/ethernet/intel/idpf/Kconfig | 1 +
drivers/net/ethernet/intel/idpf/idpf.h | 70 +--
drivers/net/ethernet/intel/idpf/idpf_dev.c | 108 ++---
drivers/net/ethernet/intel/idpf/idpf_lib.c | 430 +++++-------------
drivers/net/ethernet/intel/idpf/idpf_main.c | 3 +-
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 136 +++---
drivers/net/ethernet/intel/idpf/idpf_txrx.h | 23 +-
drivers/net/ethernet/intel/idpf/idpf_vf_dev.c | 109 ++---
.../net/ethernet/intel/idpf/idpf_virtchnl.c | 162 +------
.../net/ethernet/intel/idpf/idpf_virtchnl.h | 9 +-
drivers/net/ethernet/intel/ixd/Kconfig | 1 +
drivers/net/ethernet/intel/ixd/ixd.h | 27 ++
drivers/net/ethernet/intel/ixd/ixd_ctlq.c | 8 +-
drivers/net/ethernet/intel/ixd/ixd_lan_regs.h | 18 +
drivers/net/ethernet/intel/ixd/ixd_lib.c | 93 ++++
drivers/net/ethernet/intel/ixd/ixd_main.c | 127 +++++-
drivers/net/ethernet/intel/ixd/ixd_virtchnl.c | 70 +++
drivers/net/ethernet/intel/libie/Kconfig | 6 +
drivers/net/ethernet/intel/libie/Makefile | 4 +
drivers/net/ethernet/intel/libie/irq.c | 363 +++++++++++++++
include/linux/net/intel/libie/irq.h | 118 +++++
29 files changed, 1174 insertions(+), 939 deletions(-)
create mode 100644 drivers/net/ethernet/intel/libie/irq.c
create mode 100644 include/linux/net/intel/libie/irq.h
--
2.49.0
next reply other threads:[~2026-09-07 11:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 10:24 Michal Swiatkowski [this message]
2026-09-07 10:24 ` [PATCH iwl-next v1 01/10] idpf: store HW vectors information Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 02/10] idpf: fill q_vector interrupt registers one by one Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 03/10] idpf: get rid of msix_entries array Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 04/10] idpf: drop v_idx from q_vector structure Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 05/10] libie, idpf: move irq code to libie Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 06/10] libie, idpf: move hardware irq info struct " Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 07/10] libie, idpf: move parsing alloc vectors command " Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 08/10] ice: use libie_irq for interrupts managing Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 09/10] ixd: support for getting lan memory regions Michal Swiatkowski
2026-09-07 10:24 ` [PATCH iwl-next v1 10/10] ixd: use interrupt for mailbox communication Michal Swiatkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260907102418.2697317-1-michal.swiatkowski@linux.intel.com \
--to=michal.swiatkowski@linux.intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.