aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-05-08 01:21:28 +0000
committerJakub Kicinski <[email protected]>2025-05-08 01:21:28 +0000
commit015b5b8ed194efe2d2faaf4c3ee4fcfb346c14d8 (patch)
treef5f5f8ec4c5e2cf656fc1069c1f9e7897ea52ac6 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
parentMerge branch 'lan78xx-phylink-prep' (diff)
parenttools: ynl-gen: move the count into a presence struct too (diff)
downloadkernel-015b5b8ed194efe2d2faaf4c3ee4fcfb346c14d8.tar.gz
kernel-015b5b8ed194efe2d2faaf4c3ee4fcfb346c14d8.zip
Merge branch 'tools-ynl-gen-split-presence-metadata'
Jakub Kicinski says: ==================== tools: ynl-gen: split presence metadata The presence metadata indicates whether given attribute was/should be added to the Netlink message. We have 3 types of such metadata: - bit presence for simple values like integers, - len presence for variable size attrs, like binary and strings, - count for arrays. Previously this information was spread around with first two types living in a dedicated sub-struct called _present. The counts resided directly in the main struct with an n_ prefix. Reshuffle these an uniformly store them in dedicated sub-structs. The immediate motivation is that current scheme causes name collisions for TC. ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions