From: Jakub Kicinski Date: Fri, 8 Nov 2024 04:34:59 +0000 (-0800) Subject: Merge branch 'netlink-specs-add-neigh-and-rule-ynl-specs' X-Git-Tag: v6.13-rc1~135^2~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4592de83a4aa5562d9e8c4626a23587598a5ec96;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'netlink-specs-add-neigh-and-rule-ynl-specs' Donald Hunter says: ==================== netlink: specs: Add neigh and rule YNL specs Add YNL specs for the FDB neighbour tables and FIB rules from the rtnelink families. Example usage: ./tools/net/ynl/cli.py \ --spec Documentation/netlink/specs/rt_neigh.yaml \ --dump getneigh [{'cacheinfo': {'confirmed': 122664055, 'refcnt': 0, 'updated': 122658055, 'used': 122658055}, 'dst': '0.0.0.0', 'family': 2, 'flags': set(), 'ifindex': 5, 'lladr': '', 'probes': 0, 'state': {'noarp'}, 'type': 'broadcast'}, ...] ./tools/net/ynl/cli.py \ --spec Documentation/netlink/specs/rt_rule.yaml \ --dump getrule --json '{"family": 2}' [{'action': 'to-tbl', 'dst-len': 0, 'family': 2, 'flags': 0, 'protocol': 2, 'src-len': 0, 'suppress-prefixlen': '0xffffffff', 'table': 255, 'tos': 0}, ... ] ==================== Link: https://patch.msgid.link/20241106090718.64713-1-donald.hunter@gmail.com Signed-off-by: Jakub Kicinski --- 4592de83a4aa5562d9e8c4626a23587598a5ec96