Skip to content

tipc: de-generealize topology server

Jon Maloy netdev oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tipc: remove redundant code in topology servernet/tipc/server.c net/tipc/server.h net/tipc/subscr.c+9 -350 replies
2/10tipc: remove unnecessary function pointersnet/tipc/server.c net/tipc/server.h net/tipc/subscr.c +1 more+20 -370 replies
3/10tipc: eliminate struct tipc_subscribernet/tipc/server.c net/tipc/server.h net/tipc/subscr.c +1 more+146 -2070 replies
4/10tipc: simplify interaction between subscription and topology connectionnet/tipc/name_table.c net/tipc/server.c net/tipc/server.h +2 more+88 -1490 replies
5/10tipc: simplify endianness handling in topology subscribernet/tipc/name_table.c net/tipc/name_table.h net/tipc/server.c +2 more+86 -1020 replies
6/10tipc: collapse subscription creation functionsnet/tipc/server.c net/tipc/server.h net/tipc/subscr.c +1 more+22 -430 replies
7/10tipc: some prefix changesnet/tipc/name_table.c net/tipc/server.c net/tipc/subscr.c +1 more+54 -560 replies
8/10tipc: make struct tipc_server private for server.cnet/tipc/name_table.c net/tipc/server.c net/tipc/server.h +2 more+110 -1280 replies
9/10tipc: separate topology server listener socket from subcsriber socketsnet/tipc/server.c+147 -1810 replies
10/10tipc: rename tipc_server to tipc_topsrvnet/tipc/Makefile net/tipc/core.h net/tipc/group.c +6 more+763 -7640 replies

Reviews trailers per patch

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

PatchYing Xue
1/10A-b
2/10A-b
3/10A-b
4/10A-b
5/10A-b
6/10A-b
7/10A-b
8/10A-b
9/10A-b
10/10A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [net-next 00/10] tipc: de-generealize topology server

The topology server is partially based on a template that is much more generic than what we need. This results in a code that is unnecessarily hard to follow and keeping bug free.

We now take the consequence of the fact that we only have one such server in TIPC, - with no prospects for introducing any more, and adapt the code to the specialized task is really is doing.

Jon Maloy (10):
tipc: remove redundant code in topology server
tipc: remove unnecessary function pointers
tipc: eliminate struct tipc_subscriber
tipc: simplify interaction between subscription and topology
connection
tipc: simplify endianness handling in topology subscriber
tipc: collapse subscription creation functions
tipc: some prefix changes
tipc: make struct tipc_server private for server.c
tipc: separate topology server listener socket from subcsriber sockets
tipc: rename tipc_server to tipc_topsrv

 net/tipc/Makefile     |   2 +-
 net/tipc/core.h       |   6 +-
 net/tipc/group.c      |   2 +-
 net/tipc/name_table.c |  73 +++---
 net/tipc/name_table.h |   2 +-
 net/tipc/server.c     | 710 --------------------------------------------------
 net/tipc/server.h     | 103 --------
 net/tipc/subscr.c     | 361 +++++--------------------
 net/tipc/subscr.h     |  66 +++--
 net/tipc/topsrv.c     | 702 +++++++++++++++++++++++++++++++++++++++++++++++++
 net/tipc/topsrv.h     |  54 ++++
 11 files changed, 912 insertions(+), 1169 deletions(-)
 delete mode 100644 net/tipc/server.c
 delete mode 100644 net/tipc/server.h
 create mode 100644 net/tipc/topsrv.c
 create mode 100644 net/tipc/topsrv.h
Signature · 1 line
2.1.4