Skip to content

tipc: some optimizations and impovements

Jon Maloy netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v17 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tipc: add framework for node capabilities exchangenet/tipc/discover.c net/tipc/msg.h net/tipc/node.h+16 -20 replies
2/7tipc: move message validation function to msg.cnet/tipc/link.c net/tipc/msg.c net/tipc/msg.h+47 -600 replies
3/7tipc: eliminate unnecessary linearization of incoming buffersnet/tipc/link.c net/tipc/msg.c+10 -90 replies
4/7tipc: extract bundled buffers by cloning instead of copyingnet/tipc/link.c net/tipc/msg.c+28 -470 replies
5/7tipc: eliminate unnecessary call to broadcast ack functionnet/tipc/bcast.c net/tipc/link.c+5 -10 replies
6/7tipc: split link outqueuenet/tipc/bcast.c net/tipc/link.c net/tipc/link.h +4 more+150 -1670 replies
7/7tipc: clean up handling of message prioritiesnet/tipc/bcast.c net/tipc/link.c net/tipc/msg.c +1 more+50 -610 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchErik HugneYing Xue
1/7R-b R-b
2/7
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/7] tipc: some optimizations and impovements

The commits in this series contain some relatively simple changes that lead to better throughput across TIPC connections. We also make changes to the implementation of link transmission queueing and priority handling, in order to make the code more comprehensible and maintainable.

v2: Commit #2: Redesigned tipc_msg_validate() to use pskb_may_pull(),
as per feedback from David Miller.
Commit #3: Some cosmetic changes to tipc_msg_extract(). I tried to
replace the unconditional skb_linearize() with calls to pskb_may_pull() at selected locations, but I gave up. First, skb_trim() requires a fully linearized buffer. Second, it doesn't make much sense; the whole buffer will end up linearized, one way or another.

Jon Maloy (7):
tipc: add framework for node capabilities exchange
tipc: move message validation function to msg.c
tipc: eliminate unnecessary linearization of incoming buffers
tipc: extract bundled buffers by cloning instead of copying
tipc: eliminate unnecessary call to broadcast ack function
tipc: split link outqueue
tipc: clean up handling of message priorities

 net/tipc/bcast.c    |  53 ++++----
 net/tipc/discover.c |   3 +
 net/tipc/link.c     | 352 +++++++++++++++++++---------------------------------
 net/tipc/link.h     |  17 ++-
 net/tipc/msg.c      | 119 ++++++++++++------
 net/tipc/msg.h      |  87 +++++++------
 net/tipc/node.c     |   4 +-
 net/tipc/node.h     |   6 +-
 8 files changed, 300 insertions(+), 341 deletions(-)
Signature · 1 line
1.9.1