Skip to content

tipc: separate link and link aggregation layer

Jon Maloy netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13tipc: introduce link entry structure to struct tipc_nodenet/tipc/bcast.c net/tipc/discover.c net/tipc/link.c +3 more+143 -1360 replies
2/13tipc: move link creation from neighbor discoverer to nodenet/tipc/discover.c net/tipc/node.c net/tipc/node.h+37 -160 replies
3/13tipc: move link input queue to tipc_nodenet/tipc/link.c net/tipc/link.h net/tipc/node.c +1 more+27 -190 replies
4/13tipc: use bearer index when looking up active linksnet/tipc/node.c net/tipc/node.h+59 -730 replies
5/13tipc: change sk_buffer handling in tipc_link_xmit()net/tipc/bcast.c net/tipc/link.c net/tipc/socket.c+37 -400 replies
6/13tipc: make media xmit call outside node spinlock contextnet/tipc/bearer.c net/tipc/bearer.h net/tipc/link.c +5 more+198 -770 replies
7/13tipc: clean up definitions and usage of link flagsnet/tipc/bcast.c net/tipc/link.c net/tipc/link.h +1 more+67 -780 replies
8/13tipc: introduce new link protocol msg create functionnet/tipc/link.c+77 -670 replies
9/13tipc: improve link FSM implementationnet/tipc/link.c net/tipc/link.h+195 -1560 replies
10/13tipc: simplify link timer implementationnet/tipc/link.c net/tipc/link.h+72 -450 replies
11/13tipc: move link supervision timer to node levelnet/tipc/link.c net/tipc/link.h net/tipc/node.c +1 more+68 -800 replies
12/13tipc: introduce node contact FSMnet/tipc/link.c net/tipc/msg.h net/tipc/node.c +1 more+185 -540 replies
13/13tipc: reduce locking scope during packet receptionnet/tipc/bcast.c net/tipc/bcast.h net/tipc/core.h +5 more+478 -3890 replies

Reviews trailers per patch

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

PatchYing Xue
1/13R-b
2/13R-b
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b
13/13R-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 [PATCH net-next 00/13] tipc: separate link and link aggregation layer

This is the first batch of a longer series that has two main objectives:

o Finer lock granularity during message sending and reception, especially regarding usage of the node spinlock.

o Better separation between the link layer implementation and the link aggregation layer, represented by node.c::struct tipc_node.

Hopefully these changes also make this part of code somewhat easier to comprehend and maintain.

Jon Maloy (13):
tipc: introduce link entry structure to struct tipc_node
tipc: move link creation from neighbor discoverer to node
tipc: move link input queue to tipc_node
tipc: use bearer index when looking up active links
tipc: change sk_buffer handling in tipc_link_xmit()
tipc: make media xmit call outside node spinlock context
tipc: clean up definitions and usage of link flags
tipc: introduce new link protocol msg create function
tipc: improve link FSM implementation
tipc: simplify link timer implementation
tipc: move link supervision timer to node level
tipc: introduce node contact FSM
tipc: reduce locking scope during packet reception

 net/tipc/bcast.c      |   31 +-
 net/tipc/bcast.h      |    1 +
 net/tipc/bearer.c     |   26 +
 net/tipc/bearer.h     |    3 +
 net/tipc/core.h       |    5 +
 net/tipc/discover.c   |   20 +-
 net/tipc/link.c       | 1517 ++++++++++++++++++++++++-------------------------
 net/tipc/link.h       |   74 +--
 net/tipc/msg.h        |   53 +-
 net/tipc/name_distr.c |    6 +-
 net/tipc/node.c       |  549 ++++++++++++++----
 net/tipc/node.h       |   93 ++-
 net/tipc/socket.c     |   71 +--
 13 files changed, 1431 insertions(+), 1018 deletions(-)
Signature · 1 line
1.9.1