]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: macb: Add capability-based QBV detection and Versal support
authorVineeth Karumanchi <vineeth.karumanchi@amd.com>
Thu, 14 Aug 2025 07:10:58 +0000 (12:40 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 19 Aug 2025 10:13:03 +0000 (12:13 +0200)
commitd739ce4bebf4c708020a900548e36d005236388f
treeca3675c2df92d67ba031f3ae4b3cd3563e6f2a92
parent89934dbf169e358b57c2b394bb51a57d3f259dc0
net: macb: Add capability-based QBV detection and Versal support

The 'exclude_qbv' bit in the designcfg_debug1 register varies across
MACB/GEM IP revisions, making direct probing unreliable for detecting
QBV support. This patch introduces a capability-based approach for
consistent QBV feature identification across the IP family.

Platform support updates:
- Establish foundation for QBV detection in TAPRIO implementation
- Enable MACB_CAPS_QBV for Xilinx Versal platform configuration
- Fix capability line wrapping, ensuring code stays within 80 columns

Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com>
Link: https://patch.msgid.link/20250814071058.3062453-3-vineeth.karumanchi@amd.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c