summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2025-08-19 12:13:05 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-08-19 12:13:05 +0200
commit244ada9cb7a86ecbfbe17dc02eb269a162aa64a3 (patch)
treeca3675c2df92d67ba031f3ae4b3cd3563e6f2a92 /tools/perf/scripts/python/libxed.py
parent6089970b077fdec6f80b502e875d7a5b3f95cdf9 (diff)
parentd739ce4bebf4c708020a900548e36d005236388f (diff)
downloadkernel-244ada9cb7a86ecbfbe17dc02eb269a162aa64a3.tar.gz
Merge branch 'net-macb-add-taprio-traffic-scheduling-support'
Vineeth Karumanchi says: ==================== net: macb: Add TAPRIO traffic scheduling support Implement Time-Aware Traffic Scheduling (TAPRIO) offload support for Cadence MACB/GEM ethernet controllers to enable IEEE 802.1Qbv compliant time-sensitive networking (TSN) capabilities. Key features implemented: - Complete TAPRIO qdisc offload infrastructure with TC_SETUP_QDISC_TAPRIO - Hardware-accelerated time-based gate control for multiple queues - Enhanced Scheduled Traffic (ENST) register configuration and management - Gate state scheduling with configurable start times, on/off intervals - Support for cycle-time based traffic scheduling with validation - Hardware capability detection via MACB_CAPS_QBV flag - Robust error handling and parameter validation - Queue-specific timing register programming (ENST_START_TIME, ENST_ON_TIME, ENST_OFF_TIME) Changes include: - Add enst_ns_to_hw_units(): Converts nanoseconds to hardware units - Add enst_max_hw_interval(): Returns max interval for given speed - Add macb_taprio_setup_replace() for TAPRIO configuration - Add macb_taprio_destroy() for cleanup and reset - Add macb_setup_tc() as TC offload entry point - Enable NETIF_F_HW_TC feature for QBV-capable hardware - Add ENST register offsets to queue configuration The implementation validates timing constraints against hardware limits, supports per-queue gate mask configuration, and provides comprehensive logging for debugging and monitoring. Hardware registers are programmed atomically with proper locking to ensure consistent state. Tested on Xilinx Versal platforms with QBV-capable MACB controllers. Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> ==================== Link: https://patch.msgid.link/20250814071058.3062453-1-vineeth.karumanchi@amd.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
8eb1b3354d0f31c075d1e06a0'>media: hi556: correct the test pattern configurationBingbu Cao 2025-08-28media: tc358743: Increase FIFO trigger level to 374Dave Stevenson 2025-08-28media: tc358743: Return an appropriate colorspace from tc358743_set_fmtDave Stevenson 2025-08-28media: tc358743: Check I2C succeeded during probeDave Stevenson 2025-06-27media: ccs-pll: Check for too high VT PLL multiplier in dual PLL caseSakari Ailus 2025-06-27media: ccs-pll: Correct the upper limit of maximum op_pre_pll_clk_divSakari Ailus 2025-06-27media: ccs-pll: Start OP pre-PLL multiplier search from correct valueSakari Ailus 2025-06-27media: ccs-pll: Start VT pre-PLL multiplier search from correct valueSakari Ailus 2025-06-27media: i2c: ds90ub913: Fix returned fmt from .set_fmt()Tomi Valkeinen 2025-06-27media: ov5675: suppress probe deferral errorsJohan Hovold 2025-06-27media: ov8856: suppress probe deferral errorsJohan Hovold 2025-06-04media: i2c: imx219: Correct the minimum vblanking valueDavid Plowman 2025-06-04media: tc358746: improve calculation of the D-PHY timing registersMatthias Fend 2025-06-04media: adv7180: Disable test-pattern control on adv7180Niklas Söderlund