tipc: de-generealize topology server
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | tipc: remove redundant code in topology servernet/ net/ net/ | +9 | 0 replies | |
| 2/10 | tipc: remove unnecessary function pointersnet/ net/ net/ +1 more | +20 | 0 replies | |
| 3/10 | tipc: eliminate struct tipc_subscribernet/ net/ net/ +1 more | +146 | 0 replies | |
| 4/10 | tipc: simplify interaction between subscription and topology connectionnet/ net/ net/ +2 more | +88 | 0 replies | |
| 5/10 | tipc: simplify endianness handling in topology subscribernet/ net/ net/ +2 more | +86 | 0 replies | |
| 6/10 | tipc: collapse subscription creation functionsnet/ net/ net/ +1 more | +22 | 0 replies | |
| 7/10 | tipc: some prefix changesnet/ net/ net/ +1 more | +54 | 0 replies | |
| 8/10 | tipc: make struct tipc_server private for server.cnet/ net/ net/ +2 more | +110 | 0 replies | |
| 9/10 | tipc: separate topology server listener socket from subcsriber socketsnet/ | +147 | 0 replies | |
| 10/10 | tipc: rename tipc_server to tipc_topsrvnet/ net/ net/ +6 more | +763 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Ying Xue |
|---|---|
| 1/10 | A-b |
| 2/10 | A-b |
| 3/10 | A-b |
| 4/10 | A-b |
| 5/10 | A-b |
| 6/10 | A-b |
| 7/10 | A-b |
| 8/10 | A-b |
| 9/10 | A-b |
| 10/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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