Message ID | cover.1695201346.git.dcaratti@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | mptcp: convert netlink code to use YAML spec | expand |
Hi Davide, Paolo, On 20/09/2023 11:24, Davide Caratti wrote: > this series converts most of the MPTCP netlink interface (plus uAPI bits) > to use sources generated by a YAML spec file. Patch 2/6 and 6/6 have been > individually verified with kselftests. > > POC: > > $ sudo ./tools/net/ynl/cli.py --spec \ > > Documentation/netlink/specs/mptcp.yaml --do add_addr \ > > --json '{"addr": {"addr4": 16909061, "family": 2, "flags": 4, "id": 10, "port": 0}}' > > $ ip -j mptcp endpoint show id 10 > [{"address":"1.2.3.5","id":10,"backup":true}] Thank you for this series, the new version and the reviews! Now in our tree (feat. for net-next): New patches for t/upstream: - 9efccfde1d18: tools: ynl: add uns-admin-perm to genetlink legacy - 34e8d83f1515: net: mptcp: convert netlink from small_ops to ops - cf4a7c60248c: Documentation: netlink: add a YAML spec for mptcp - 25385acaa5c7: uapi: mptcp: use header file generated from YAML spec - 11351fc8e13b: net: mptcp: rename netlink handlers to mptcp_pm_nl_<blah>_{doit,dumpit} - 7d081cf1470a: net: mptcp: use policy generated by YAML spec - Results: bf9368cc6ffb..1c2adc4e573c (export) Tests are now in progress: https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20230923T075423 Cheers, Matt