Skip to content

tipc: cleanups and simplifications

[email protected] netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesApplied 16/16

Patches in v1 All 16 applied

#Subject and filesSizeRepliesApplied
1/16tipc: re-organize members of struct publicationnet/tipc/name_distr.c net/tipc/name_table.c net/tipc/name_table.h +1 more+92 -970 repliesApplied
2/16tipc: move creation of publication item one level up in call chainnet/tipc/name_table.c+32 -330 repliesApplied
3/16tipc: introduce new unified address type for internal usenet/tipc/addr.c net/tipc/addr.h+46 -10 repliesApplied
4/16tipc: simplify signature of tipc_namtbl_publish()net/tipc/name_table.c net/tipc/name_table.h net/tipc/net.c +2 more+68 -580 repliesApplied
5/16tipc: simplify call signatures for publication creationnet/tipc/name_distr.c net/tipc/name_table.c net/tipc/name_table.h+34 -400 repliesApplied
6/16tipc: simplify signature of tipc_nametbl_withdraw() functionsnet/tipc/name_distr.c net/tipc/name_table.c net/tipc/name_table.h +2 more+70 -680 repliesApplied
7/16tipc: rename binding table lookup functionsnet/tipc/msg.c net/tipc/name_table.c net/tipc/name_table.h +1 more+56 -370 repliesApplied
8/16tipc: refactor tipc_sendmsg() and tipc_lookup_anycast()net/tipc/msg.c net/tipc/name_table.c net/tipc/name_table.h +1 more+91 -950 repliesApplied
9/16tipc: simplify signature of tipc_namtbl_lookup_mcast_sockets()net/tipc/name_table.c net/tipc/name_table.h net/tipc/socket.c+18 -190 repliesApplied
10/16tipc: simplify signature of tipc_nametbl_lookup_mcast_nodes()net/tipc/name_table.c net/tipc/name_table.h net/tipc/socket.c+14 -160 repliesApplied
11/16tipc: simplify signature of tipc_nametbl_lookup_group()net/tipc/name_table.c net/tipc/name_table.h net/tipc/socket.c+27 -360 repliesApplied
12/16tipc: simplify signature of tipc_service_find_range()net/tipc/name_table.c+8 -60 repliesApplied
13/16tipc: simplify signature of tipc_find_service()net/tipc/name_table.c net/tipc/name_table.h net/tipc/socket.c+39 -270 repliesApplied
14/16tipc: simplify api between binding table and topology servernet/tipc/name_table.c net/tipc/subscr.c net/tipc/subscr.h+43 -480 repliesApplied
15/16tipc: add host-endian copy of user subscription to struct tipc_subscriptionnet/tipc/name_table.c net/tipc/subscr.c net/tipc/subscr.h+37 -400 repliesApplied
16/16tipc: remove some unnecessary warningsnet/tipc/name_distr.c net/tipc/name_table.c+16 -210 repliesApplied

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchYing XueHoang LeTung NguyenXin Long
1/16A-b A-b A-b A-b
2/16A-b A-b A-b A-b
3/16A-b A-b A-b A-b
4/16A-b A-b A-b A-b
5/16A-b A-b A-b A-b
6/16A-b A-b A-b A-b
7/16A-b A-b A-b A-b
8/16A-b A-b A-b A-b
9/16A-b A-b A-b A-b
10/16A-b A-b A-b A-b
11/16A-b A-b A-b A-b
12/16A-b A-b A-b A-b
13/16A-b A-b A-b A-b
14/16A-b A-b A-b A-b
15/16A-b A-b A-b A-b
16/16A-b A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [net-next 00/16] tipc: cleanups and simplifications

From: Jon Maloy <[email protected]>

We do a number of cleanups and simplifications, especially regarding call signatures in the binding table. This makes the code easier to understand and serves as preparation for upcoming functional additions.

Jon Maloy (16):
tipc: re-organize members of struct publication
tipc: move creation of publication item one level up in call chain
tipc: introduce new unified address type for internal use
tipc: simplify signature of tipc_namtbl_publish()
tipc: simplify call signatures for publication creation
tipc: simplify signature of tipc_nametbl_withdraw() functions
tipc: rename binding table lookup functions
tipc: refactor tipc_sendmsg() and tipc_lookup_anycast()
tipc: simplify signature of tipc_namtbl_lookup_mcast_sockets()
tipc: simplify signature of tipc_nametbl_lookup_mcast_nodes()
tipc: simplify signature of tipc_nametbl_lookup_group()
tipc: simplify signature of tipc_service_find_range()
tipc: simplify signature of tipc_find_service()
tipc: simplify api between binding table and topology server
tipc: add host-endian copy of user subscription to struct
tipc_subscription
tipc: remove some unnecessary warnings

 net/tipc/addr.c       |   1 +
 net/tipc/addr.h       |  46 ++++-
 net/tipc/msg.c        |  23 ++-
 net/tipc/name_distr.c |  93 +++++----
 net/tipc/name_table.c | 426 +++++++++++++++++++++---------------------
 net/tipc/name_table.h |  63 +++----
 net/tipc/net.c        |   8 +-
 net/tipc/node.c       |  28 +--
 net/tipc/socket.c     | 319 ++++++++++++++++---------------
 net/tipc/subscr.c     |  86 +++++----
 net/tipc/subscr.h     |  14 +-
 11 files changed, 578 insertions(+), 529 deletions(-)
Signature · 1 line
2.29.2