|
|
Subscribe / Log in / New account

igc: harmonize queue priority and add preemptible queue support

From:  Tony Nguyen <anthony.l.nguyen-AT-intel.com>
To:  davem-AT-davemloft.net, kuba-AT-kernel.org, pabeni-AT-redhat.com, edumazet-AT-google.com, andrew+netdev-AT-lunn.ch, netdev-AT-vger.kernel.org
Subject:  [PATCH net-next 0/7][pull request] igc: harmonize queue priority and add preemptible queue support
Date:  Wed, 11 Jun 2025 11:03:02 -0700
Message-ID:  <20250611180314.2059166-1-anthony.l.nguyen@intel.com>
Cc:  Tony Nguyen <anthony.l.nguyen-AT-intel.com>, faizal.abdul.rahim-AT-linux.intel.com, faizal.abdul.rahim-AT-intel.com, chwee.lin.choong-AT-intel.com, vladimir.oltean-AT-nxp.com, horms-AT-kernel.org, vitaly.lifshits-AT-intel.com, dima.ruinskiy-AT-intel.com
Archive-link:  Article

Faizal Rahim says:

MAC Merge support for frame preemption was previously added for igc:
https://lore.kernel.org/netdev/20250418163822.3519810-1-a...

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.25dqgut5tbak2r...
- 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-7: Add preemptible queue support
---
IWL: https://lore.kernel.org/intel-wired-lan/20250519071911.27...

The following are changes since commit 0097c4195b1d0ca57d15979626c769c74747b5a0:
  net: airoha: Add PPPoE offload support
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 1GbE

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    |  57 ++++++---
 drivers/net/ethernet/intel/igc/igc_tsn.c     | 116 ++++++++++++++++---
 drivers/net/ethernet/intel/igc/igc_tsn.h     |   5 +
 7 files changed, 189 insertions(+), 43 deletions(-)

-- 
2.47.1




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds