netlink: specs: Add neigh and rule YNL specs
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyApplied 2/2
- v22 patches 2 repliesSuperseded
- v12 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- removed spurious dump parameter, thanks to Ido Schimmel
Patches in v3 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netlink: specs: Add a spec for neighbor tables in rtnetlinkDocumentation/ | +442 | 0 replies | Applied |
| 2/2 | netlink: specs: Add a spec for FIB rule managementDocumentation/ | +242 | 0 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Stanislav Fomichev | Ido Schimmel | Jakub Kicinski |
|---|---|---|---|
| Series | A-b | ||
| 1/2 | A-b | ||
| 2/2 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next v3 0/2] netlink: specs: Add neigh and rule YNL specs
Add YNL specs for the FDB neighbour tables and FIB rules from the rtnelink families.
v2 -> v3:
- removed spurious dump parameter, thanks to Ido Schimmel
v1 -> v2:
- added 'dscp' attribute, thanks to Ido Schimmel
- fixed types in fib-rule-uid-range, thanks to Stanislav Fomichev
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},
... ]
Donald Hunter (2):
netlink: specs: Add a spec for neighbor tables in rtnetlink
netlink: specs: Add a spec for FIB rule management
Documentation/netlink/specs/rt_neigh.yaml | 442 ++++++++++++++++++++++ Documentation/netlink/specs/rt_rule.yaml | 242 ++++++++++++ 2 files changed, 684 insertions(+) create mode 100644 Documentation/netlink/specs/rt_neigh.yaml create mode 100644 Documentation/netlink/specs/rt_rule.yaml
Signature · 1 line
2.47.0