On 19/05/2025 10:19, Abdul Rahim, Faizal wrote:
From: Faizal Rahim <[email protected]>

igc already supports enabling MAC Merge for FPE. This patch adds
support for preemptible queues in mqprio.

Tested preemption with mqprio by:
1. Enable FPE:
    ethtool --set-mm enp1s0 pmac-enabled on tx-enabled on verify-enabled on
2. Enable preemptible queue in mqprio:
    mqprio num_tc 4 map 0 1 2 3 0 0 0 0 0 0 0 0 0 0 0 0 \
    queues 1@0 1@1 1@2 1@3 \
    fp P P P E

Signed-off-by: Faizal Rahim <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
---
  drivers/net/ethernet/intel/igc/igc_main.c | 9 ++-------
  drivers/net/ethernet/intel/igc/igc_tsn.c  | 9 +++++++++
  drivers/net/ethernet/intel/igc/igc_tsn.h  | 1 +
  3 files changed, 12 insertions(+), 7 deletions(-)

Tested-by: Mor Bar-Gabay <[email protected]>

Reply via email to