mbox series

[mptcp-next,v2,00/13] refactor PM interfaces

Message ID cover.1728381245.git.tanggeliang@kylinos.cn (mailing list archive)
Headers show
Series refactor PM interfaces | expand

Message

Geliang Tang Oct. 8, 2024, 9:58 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

v2:
 - split patch 5 into two.
 - new patches 9-13.

In order to implement BPF path manager, this set refactors get_addr
and dump_addr interfaces of PM.

Depends on:
 - cleanups for PM interfaces, v3

Geliang Tang (13):
  mptcp: add id parameter for get_addr
  mptcp: add addr parameter for get_addr
  mptcp: reuse sending nlmsg code in get_addr
  mptcp: change info of get_addr as const
  mptcp: refactor dump_addr with id bitmap
  mptcp: refactor dump_addr with get_addr
  mptcp: reuse sending nlmsg code in dump_addr
  mptcp: add loc and rem for set_flags
  mptcp: update address type of get_local_id
  mptcp: change is_backup interfaces as get_flags
  mptcp: hold pm lock when deleting entry
  mptcp: rename mptcp_pm_remove_addrs
  mptcp: drop free_list for deleting entries

 net/mptcp/pm.c           |  17 +++-
 net/mptcp/pm_netlink.c   | 197 ++++++++++++++++++++++-----------------
 net/mptcp/pm_userspace.c | 161 ++++++++++----------------------
 net/mptcp/protocol.h     |  22 +++--
 4 files changed, 185 insertions(+), 212 deletions(-)

Comments

Geliang Tang Oct. 9, 2024, 9:59 a.m. UTC | #1
On Tue, 2024-10-08 at 17:58 +0800, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
> 
> v2:
>  - split patch 5 into two.
>  - new patches 9-13.
> 
> In order to implement BPF path manager, this set refactors get_addr
> and dump_addr interfaces of PM.
> 
> Depends on:
>  - cleanups for PM interfaces, v3

Based-on: <1728298100.git.tanggeliang@kylinos.cn>

> 
> Geliang Tang (13):
>   mptcp: add id parameter for get_addr
>   mptcp: add addr parameter for get_addr
>   mptcp: reuse sending nlmsg code in get_addr
>   mptcp: change info of get_addr as const
>   mptcp: refactor dump_addr with id bitmap
>   mptcp: refactor dump_addr with get_addr
>   mptcp: reuse sending nlmsg code in dump_addr
>   mptcp: add loc and rem for set_flags
>   mptcp: update address type of get_local_id
>   mptcp: change is_backup interfaces as get_flags
>   mptcp: hold pm lock when deleting entry
>   mptcp: rename mptcp_pm_remove_addrs
>   mptcp: drop free_list for deleting entries
> 
>  net/mptcp/pm.c           |  17 +++-
>  net/mptcp/pm_netlink.c   | 197 ++++++++++++++++++++++---------------
> --
>  net/mptcp/pm_userspace.c | 161 ++++++++++----------------------
>  net/mptcp/protocol.h     |  22 +++--
>  4 files changed, 185 insertions(+), 212 deletions(-)
>
Geliang Tang Oct. 9, 2024, 10:24 a.m. UTC | #2
On Wed, 2024-10-09 at 17:59 +0800, Geliang Tang wrote:
> On Tue, 2024-10-08 at 17:58 +0800, Geliang Tang wrote:
> > From: Geliang Tang <tanggeliang@kylinos.cn>
> > 
> > v2:
> >  - split patch 5 into two.
> >  - new patches 9-13.
> > 
> > In order to implement BPF path manager, this set refactors get_addr
> > and dump_addr interfaces of PM.
> > 
> > Depends on:
> >  - cleanups for PM interfaces, v3
> 
> Based-on: <1728298100.git.tanggeliang@kylinos.cn>

Based-on: <cover.1728298100.git.tanggeliang@kylinos.cn>

> 
> > 
> > Geliang Tang (13):
> >   mptcp: add id parameter for get_addr
> >   mptcp: add addr parameter for get_addr
> >   mptcp: reuse sending nlmsg code in get_addr
> >   mptcp: change info of get_addr as const
> >   mptcp: refactor dump_addr with id bitmap
> >   mptcp: refactor dump_addr with get_addr
> >   mptcp: reuse sending nlmsg code in dump_addr
> >   mptcp: add loc and rem for set_flags
> >   mptcp: update address type of get_local_id
> >   mptcp: change is_backup interfaces as get_flags
> >   mptcp: hold pm lock when deleting entry
> >   mptcp: rename mptcp_pm_remove_addrs
> >   mptcp: drop free_list for deleting entries
> > 
> >  net/mptcp/pm.c           |  17 +++-
> >  net/mptcp/pm_netlink.c   | 197 ++++++++++++++++++++++-------------
> > --
> > --
> >  net/mptcp/pm_userspace.c | 161 ++++++++++----------------------
> >  net/mptcp/protocol.h     |  22 +++--
> >  4 files changed, 185 insertions(+), 212 deletions(-)
> > 
> 
>