netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] tipc: simplifications in socket and port layer
@ 2014-03-12 15:31 Jon Maloy
  2014-03-12 15:31 ` [PATCH net-next 1/7] tipc: replace reference table rwlock with spinlock Jon Maloy
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Jon Maloy @ 2014-03-12 15:31 UTC (permalink / raw)
  To: davem
  Cc: netdev, Paul Gortmaker, erik.hugne, ying.xue, maloy,
	tipc-discussion, Jon Maloy

After the removal of the tipc native API the relation between
tipc_port and its API types is strictly one-to-one, i.e, the latter
can now only be a socket API. This change opens up for
simplifications both in the code, data and locking structure. 

We start with this series, where we ensure that port and socket
structures are co-allocated. Note that the first commit in the
series is unrelated to the above.

Jon Maloy (7):
  tipc: replace reference table rwlock with spinlock
  tipc: remove redundant 'peer_name' field in struct tipc_sock
  tipc: aggregate port structure into socket structure
  tipc: eliminate upcall function pointers between port and socket
  tipc: eliminate redundant locking
  tipc: align usage of variable names and macros in socket
  tipc: eliminate redundant lookups in registry

 net/tipc/link.c   |    4 +-
 net/tipc/port.c   |  208 +++++++++++-----------------------------------
 net/tipc/port.h   |  112 ++++++++++++++++---------
 net/tipc/ref.c    |   27 ++----
 net/tipc/ref.h    |    1 -
 net/tipc/socket.c |  240 +++++++++++++++++++++++++----------------------------
 net/tipc/socket.h |   72 ++++++++++++++++
 7 files changed, 314 insertions(+), 350 deletions(-)
 create mode 100644 net/tipc/socket.h

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-03-12 19:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 15:31 [PATCH net-next 0/7] tipc: simplifications in socket and port layer Jon Maloy
2014-03-12 15:31 ` [PATCH net-next 1/7] tipc: replace reference table rwlock with spinlock Jon Maloy
2014-03-12 15:31 ` [PATCH net-next 2/7] tipc: remove redundant 'peer_name' field in struct tipc_sock Jon Maloy
2014-03-12 15:31 ` [PATCH net-next 3/7] tipc: aggregate port structure into socket structure Jon Maloy
2014-03-12 15:31 ` [PATCH net-next 4/7] tipc: eliminate upcall function pointers between port and socket Jon Maloy
2014-03-12 15:31 ` [PATCH net-next 5/7] tipc: eliminate redundant locking Jon Maloy
2014-03-12 15:31 ` [PATCH net-next 6/7] tipc: align usage of variable names and macros in socket Jon Maloy
2014-03-12 15:31 ` [PATCH net-next 7/7] tipc: eliminate redundant lookups in registry Jon Maloy
2014-03-12 19:54 ` [PATCH net-next 0/7] tipc: simplifications in socket and port layer David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).