Skip to content

misc tipc updates / enhancements

Paul Gortmaker netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20tipc: Convert fatal broadcast sanity check to non-fatal checknet/tipc/bcast.c+5 -10 replies
2/20tipc: Remove unused sanity test macronet/tipc/core.h+0 -60 replies
3/20tipc: Standardize exit logic for message rejection handlingnet/tipc/port.c+9 -100 replies
4/20tipc: Add sanity check to detect rejection of non-payload messagesnet/tipc/port.c+6 -00 replies
5/20tipc: Optimize routing of returned payload messagesnet/tipc/port.c+6 -10 replies
6/20tipc: Optimizations & corrections to message rejectionnet/tipc/port.c+24 -250 replies
7/20tipc: Eliminate message header routines for caching destination nodenet/tipc/msg.h+0 -200 replies
8/20tipc: Eliminate redundant masking in message header routinesnet/tipc/msg.h+2 -20 replies
9/20tipc: Partition name table instance array info into two partsnet/tipc/name_table.c+89 -610 replies
10/20tipc: Convert name table publication lists to standard kernel listsnet/tipc/name_table.c net/tipc/name_table.h+90 -1640 replies
11/20tipc: Eliminate checks for empty zone list during name translationnet/tipc/name_table.c+2 -50 replies
12/20tipc: Correct typo in link statistics outputnet/tipc/link.c+1 -10 replies
13/20tipc: Eliminate unused field in bearer structurenet/tipc/bearer.c net/tipc/bearer.h+0 -30 replies
14/20tipc: Remove unnecessary includes in socket codenet/tipc/socket.c+0 -30 replies
15/20tipc: Eliminate useless check when creating internal messagenet/tipc/msg.c+2 -40 replies
16/20tipc: Cleanup of message header size terminologynet/tipc/link.c net/tipc/msg.h net/tipc/name_distr.c +1 more+20 -200 replies
17/20tipc: Optimize creation of FIN messagesnet/tipc/port.c+24 -370 replies
18/20tipc: Reject connection protocol message sent to unconnected portnet/tipc/port.c+40 -390 replies
19/20tipc: Don't create payload message using connection protocol routinenet/tipc/port.c+9 -80 replies
20/20tipc: Optimize creation of connection protocol messagesnet/tipc/port.c+12 -360 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 00/20] misc tipc updates / enhancements

A bit more dead code removal, some collapsing of functions with too many arguments, and some cosmetic stuff with no real impact.

But I think the best part in this lot is getting rid of the internal (to tipc) duplication of "almost" linked list like code, and just having it use the normal shared kernel code for the task. The diffstat summary reflects the net gain here:

       12 files changed, 276 insertions(+), 381 deletions(-)

All credit to Al for the work to get here. I'm just an intermediate reviewer -- and happy to see my value-add in that role becoming smaller and smaller each time as tipc-2 leaves the SF tipc-1.7.x further behind.

I've independently tested using the basic tipcTS/tipcTC tests between an x86-32 and an x86-64 host, in both directions.

Thanks,
Paul.

---

The following changes since commit 21e842579a5fd1ce746be4e34ac53ef67d6f0a6b:

Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/jkirsher/net-next-2.6 (2011-06-23 23:39:33 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulg/net-next-2.6.git tipc-Jun24-2011

Allan Stephens (20):
tipc: Convert fatal broadcast sanity check to non-fatal check
tipc: Remove unused sanity test macro
tipc: Standardize exit logic for message rejection handling
tipc: Add sanity check to detect rejection of non-payload messages
tipc: Optimize routing of returned payload messages
tipc: Optimizations & corrections to message rejection
tipc: Eliminate message header routines for caching destination node
tipc: Eliminate redundant masking in message header routines
tipc: Partition name table instance array info into two parts
tipc: Convert name table publication lists to standard kernel lists
tipc: Eliminate checks for empty zone list during name translation
tipc: Correct typo in link statistics output
tipc: Eliminate unused field in bearer structure
tipc: Remove unnecessary includes in socket code
tipc: Eliminate useless check when creating internal message
tipc: Cleanup of message header size terminology
tipc: Optimize creation of FIN messages
tipc: Reject connection protocol message sent to unconnected port
tipc: Don't create payload message using connection protocol routine
tipc: Optimize creation of connection protocol messages

 net/tipc/bcast.c      |    6 +-
 net/tipc/bearer.c     |    1 -
 net/tipc/bearer.h     |    2 -
 net/tipc/core.h       |    6 -
 net/tipc/link.c       |    6 +-
 net/tipc/msg.c        |    6 +-
 net/tipc/msg.h        |   34 ++-----
 net/tipc/name_distr.c |    6 +-
 net/tipc/name_table.c |  289 ++++++++++++++++++++-----------------------------
 net/tipc/name_table.h |   14 ++--
 net/tipc/port.c       |  284 ++++++++++++++++++++++--------------------------
 net/tipc/socket.c     |    3 -
 12 files changed, 276 insertions(+), 381 deletions(-)
Signature · 1 line
1.7.4.4