The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Abdul Rahim, Faizal" <faizal.abdul.rahim@intel.com>
To: Tony Nguyen <anthony.l.nguyen@intel.com>,
	Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, Simon Horman <horms@kernel.org>,
	Faizal Rahim <faizal.abdul.rahim@linux.intel.com>,
	Aleksandr Loktionov <aleksandr.loktionov@intel.com>,
	Chwee-Lin Choong <chwee.lin.choong@intel.com>
Subject: [PATCH iwl-next v3 0/7] igc: harmonize queue priority and add preemptible queue support
Date: Mon, 19 May 2025 03:19:04 -0400	[thread overview]
Message-ID: <20250519071911.2748406-1-faizal.abdul.rahim@intel.com> (raw)

From: Faizal Rahim <faizal.abdul.rahim@linux.intel.com>

MAC Merge support for frame preemption was previously added for igc:
https://patchwork.kernel.org/project/netdevbpf/patch/20250318030742.2567080-1-faizal.abdul.rahim@linux.intel.com/

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–7: Add preemptible queue support

v3 changes:
- v2: https://patchwork.kernel.org/project/netdevbpf/cover/20250514042945.2685273-1-faizal.abdul.rahim@linux.intel.com/
- Patch 8 fixes a HW limitation and should precede preemption support. Merged into patch 6. (Simon)
- Add Reviewed-by tag from Simon for patch 1-5

v2 changes:
- v1: https://patchwork.kernel.org/project/netdevbpf/cover/20250428060225.1306986-1-faizal.abdul.rahim@linux.intel.com/
- 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

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


             reply	other threads:[~2025-05-19  7:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-19  7:19 Abdul Rahim, Faizal [this message]
2025-05-19  7:19 ` [PATCH iwl-next v3 1/7] igc: move TXDCTL and RXDCTL related macros Abdul Rahim, Faizal
2025-05-29  7:18   ` [Intel-wired-lan] " Mor Bar-Gabay
2025-05-19  7:19 ` [PATCH iwl-next v3 2/7] igc: add DCTL prefix to " Abdul Rahim, Faizal
2025-05-29  7:19   ` [Intel-wired-lan] " Mor Bar-Gabay
2025-05-19  7:19 ` [PATCH iwl-next v3 3/7] igc: refactor TXDCTL macros to use FIELD_PREP and GEN_MASK Abdul Rahim, Faizal
2025-05-29  7:20   ` [Intel-wired-lan] " Mor Bar-Gabay
2025-05-19  7:19 ` [PATCH iwl-next v3 4/7] igc: assign highest TX queue number as highest priority in mqprio Abdul Rahim, Faizal
2025-05-29  7:21   ` [Intel-wired-lan] " Mor Bar-Gabay
2025-05-19  7:19 ` [PATCH iwl-next v3 5/7] igc: add private flag to reverse TX queue priority in TSN mode Abdul Rahim, Faizal
2025-05-29  7:23   ` [Intel-wired-lan] " Mor Bar-Gabay
2025-05-19  7:19 ` [PATCH iwl-next v3 6/7] igc: add preemptible queue support in taprio Abdul Rahim, Faizal
2025-05-20  8:18   ` Simon Horman
2025-05-29  7:24   ` [Intel-wired-lan] " Mor Bar-Gabay
2025-05-19  7:19 ` [PATCH iwl-next v3 7/7] igc: add preemptible queue support in mqprio Abdul Rahim, Faizal
2025-05-20  8:18   ` Simon Horman
2025-05-29  7:25   ` [Intel-wired-lan] " Mor Bar-Gabay

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=20250519071911.2748406-1-faizal.abdul.rahim@intel.com \
    --to=faizal.abdul.rahim@intel.com \
    --cc=aleksandr.loktionov@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=chwee.lin.choong@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=faizal.abdul.rahim@linux.intel.com \
    --cc=horms@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=vladimir.oltean@nxp.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox