Skip to content

igc: harmonize queue priority and add preemptible queue support

Faizal Rahim intel-wired-lan lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 7 repliesIn review
  2. v18 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- v1: https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
- Move RXDCTL macros for consistency with TXDCTL (Ruinskiy, Dima)
- Rename RX descriptor control macros with RXDCTL prefix (Ruinskiy, Dima)
- Add FPE acronym explanation in commit description (Loktionov, Aleksandr)
- Add Reviewed-by tag from Aleksandr for patch 6

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8igc: move TXDCTL and RXDCTL related macrosdrivers/net/ethernet/intel/igc/igc.h drivers/net/ethernet/intel/igc/igc_base.h+10 -91 reply
2/8igc: add DCTL prefix to related macrosdrivers/net/ethernet/intel/igc/igc.h drivers/net/ethernet/intel/igc/igc_main.c+12 -121 reply
3/8igc: refactor TXDCTL macros to use FIELD_PREP and GEN_MASKdrivers/net/ethernet/intel/igc/igc.h drivers/net/ethernet/intel/igc/igc_main.c+12 -91 reply
4/8igc: assign highest TX queue number as highest priority in mqpriodrivers/net/ethernet/intel/igc/igc_main.c drivers/net/ethernet/intel/igc/igc_tsn.c+41 -131 reply
5/8igc: add private flag to reverse TX queue priority in TSN modedrivers/net/ethernet/intel/igc/igc.h drivers/net/ethernet/intel/igc/igc_ethtool.c drivers/net/ethernet/intel/igc/igc_main.c +1 more+15 -41 reply
6/8igc: add preemptible queue support in tapriodrivers/net/ethernet/intel/igc/igc.h drivers/net/ethernet/intel/igc/igc_defines.h drivers/net/ethernet/intel/igc/igc_main.c +2 more+91 -30 replies
7/8igc: add preemptible queue support in mqpriodrivers/net/ethernet/intel/igc/igc_main.c drivers/net/ethernet/intel/igc/igc_tsn.c drivers/net/ethernet/intel/igc/igc_tsn.h+12 -70 replies
8/8igc: SW pad preemptible frames for correct mCRC calculationdrivers/net/ethernet/intel/igc/igc_main.c+9 -02 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchAleksandr LoktionovSimon Horman
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH iwl-next v2 0/8] igc: harmonize queue priority and add preemptible queue support

MAC Merge support for frame preemption was previously added for igc:
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/

This series builds on that work and adds support for:
- Harmonizing taprio and mqprio queue priority behavior, based on past discussions and suggestions:
https://lore.kernel.org/all/20250214102206.25dqgut5tbak2rkz@skbuf/
- Enabling preemptible queue support for both taprio and mqprio, with priority harmonization as a prerequisite.

Patch organization:
- Patches 1–3: Preparation work for patches 6 and 7
- Patches 4–5: Queue priority harmonization
- Patches 6–8: Add preemptible queue support

v2 changes:
- v1: https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
- Move RXDCTL macros for consistency with TXDCTL (Ruinskiy, Dima)
- Rename RX descriptor control macros with RXDCTL prefix (Ruinskiy, Dima)
- Add FPE acronym explanation in commit description (Loktionov, Aleksandr)
- Add Reviewed-by tag from Aleksandr for patch 6

Chwee-Lin Choong (1):
igc: SW pad preemptible frames for correct mCRC calculation

Faizal Rahim (7):
igc: move TXDCTL and RXDCTL related macros
igc: add DCTL prefix to related macros
igc: refactor TXDCTL macros to use FIELD_PREP and GEN_MASK
igc: assign highest TX queue number as highest priority in mqprio
igc: add private flag to reverse TX queue priority in TSN mode
igc: add preemptible queue support in taprio
igc: add preemptible queue support in mqprio

 drivers/net/ethernet/intel/igc/igc.h         |  33 +++++-
 drivers/net/ethernet/intel/igc/igc_base.h    |   8 --
 drivers/net/ethernet/intel/igc/igc_defines.h |   1 +
 drivers/net/ethernet/intel/igc/igc_ethtool.c |  12 +-
 drivers/net/ethernet/intel/igc/igc_main.c    |  56 ++++++---
 drivers/net/ethernet/intel/igc/igc_tsn.c     | 116 ++++++++++++++++---
 drivers/net/ethernet/intel/igc/igc_tsn.h     |   5 +
 7 files changed, 188 insertions(+), 43 deletions(-)

--
2.34.1