mbox series

[mptcp-next,v2,0/8] BPF path manager, part 2

Message ID cover.1734074788.git.tanggeliang@kylinos.cn (mailing list archive)
Headers show
Series BPF path manager, part 2 | expand

Message

Geliang Tang Dec. 13, 2024, 7:35 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

v2:
 - split patch 7 of v1 into two.
 - patches 1-6 have no code changes, only the commit logs have been
updated.
 - more commit log to explain why mptcp_pm_addr_id_bitmap_t needs to
be defined.
 - use mptcp_pm_addr_id_bitmap_t in userspace_pm_append_new_local_addr
too.

In order to implement BPF userspace path manager, it is necessary to
unify the interfaces of the path manager. This set updates get_addr()
and dump_addr() interfaces.

Geliang Tang (8):
  mptcp: make three pm wrappers static
  mptcp: drop skb parameter of get_addr
  mptcp: add id parameter for get_addr
  mptcp: reuse sending nlmsg code in get_addr
  mptcp: change info of get_addr as const
  mptcp: add info parameter for dump_addr
  mptcp: add mptcp_pm_addr_id_bitmap_t type
  mptcp: reuse sending nlmsg code in dump_addr

 include/net/mptcp.h      |   7 +++
 net/mptcp/pm.c           | 108 ++++++++++++++++++++++++++++++++++++---
 net/mptcp/pm_netlink.c   | 105 ++++++-------------------------------
 net/mptcp/pm_userspace.c | 102 ++++++++++--------------------------
 net/mptcp/protocol.h     |  21 +++-----
 5 files changed, 157 insertions(+), 186 deletions(-)