[PATCH net-next 0/2] net: macb: fix ENST configuration for all queues

Vineeth Karumanchi posted 2 patches 17 hours ago
drivers/net/ethernet/cadence/macb.h      |  8 --------
drivers/net/ethernet/cadence/macb_main.c | 20 +++++++++-----------
2 files changed, 9 insertions(+), 19 deletions(-)
[PATCH net-next 0/2] net: macb: fix ENST configuration for all queues
Posted by Vineeth Karumanchi 17 hours ago
This series fixes the ENST (Enhanced Scheduled Traffic) queue
configuration in the macb driver and removes leftover dead defines.

When a TAPRIO schedule configured only a subset of queues, the driver
left the ENST timing registers of the unconfigured queues at their
reset values, resulting in an invalid setup. Patch 2 configures all
queues unconditionally, zero-initializing the unconfigured ones, and
derives the queue index directly from the gate mask instead of storing
a redundant queue_id.

Patch 1 removes the fixed per-queue ENST time register defines that are
no longer referenced, since the driver computes these addresses from the
ENST base offset and the queue index.

Vineeth Karumanchi (2):
  net: macb: remove unused ENST Q0/Q1 time register defines
  net: macb: configure ENST registers for all queues

 drivers/net/ethernet/cadence/macb.h      |  8 --------
 drivers/net/ethernet/cadence/macb_main.c | 20 +++++++++-----------
 2 files changed, 9 insertions(+), 19 deletions(-)

-- 
2.44.4