mbox series

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

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

Message

Hangbin Liu March 26, 2024, 3:30 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} |  59 +------
 drivers/net/team/team_nl.c               |  59 +++++++
 drivers/net/team/team_nl.h               |  29 ++++
 include/uapi/linux/if_team.h             | 116 +++++--------
 7 files changed, 348 insertions(+), 125 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