mbox series

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

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

Message

Hangbin Liu March 29, 2024, 8:28 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.

v3:
  1. remove item/list-option from request as they are not attributes (Jakub Kicinski)
v2:
  1. adjust the continuation line (Jakub Kicinski)
  2. adjust the family maxattr (Jakub Kicinski)
v1:
  1. remove dump from team options. (Jiri Pirko)

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    | 204 +++++++++++++++++++++++
 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, 346 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