mbox series

[PATCHv2,net-next,0/4] doc/netlink: add a YAML spec for team

Message ID 20240327100318.1085067-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series doc/netlink: add a YAML spec for team | expand

Message

Hangbin Liu March 27, 2024, 10:03 a.m. UTC
Add a YAML spec for team. As we need to link two objects together to form
the team module, rename team to team_core for linking.

Hangbin Liu (4):
  Documentation: netlink: add a YAML spec for team
  net: team: rename team to team_core for linking
  net: team: use policy generated by YAML spec
  uapi: team: use header file generated from YAML spec

 Documentation/netlink/specs/team.yaml    | 208 +++++++++++++++++++++++
 MAINTAINERS                              |   1 +
 drivers/net/team/Makefile                |   1 +
 drivers/net/team/{team.c => team_core.c} |  63 +------
 drivers/net/team/team_nl.c               |  59 +++++++
 drivers/net/team/team_nl.h               |  29 ++++
 include/uapi/linux/if_team.h             | 116 +++++--------
 7 files changed, 350 insertions(+), 127 deletions(-)
 create mode 100644 Documentation/netlink/specs/team.yaml
 rename drivers/net/team/{team.c => team_core.c} (97%)
 create mode 100644 drivers/net/team/team_nl.c
 create mode 100644 drivers/net/team/team_nl.h