netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Maloy <jon.maloy@ericsson.com>
To: <davem@davemloft.net>, <netdev@vger.kernel.org>
Cc: <mohan.krishna.ghanta.krishnamurthy@ericsson.com>,
	<tung.q.nguyen@dektech.com.au>, <hoang.h.le@dektech.com.au>,
	<jon.maloy@ericsson.com>, <canh.d.luu@dektech.com.au>,
	<ying.xue@windriver.com>, <tipc-discussion@lists.sourceforge.net>
Subject: [net-next 00/10] tipc: de-generealize topology server
Date: Thu, 15 Feb 2018 10:40:41 +0100	[thread overview]
Message-ID: <1518687651-26561-1-git-send-email-jon.maloy@ericsson.com> (raw)

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

-- 
2.1.4

             reply	other threads:[~2018-02-15  9:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15  9:40 Jon Maloy [this message]
2018-02-15  9:40 ` [net-next 01/10] tipc: remove redundant code in topology server Jon Maloy
2018-02-15  9:40 ` [net-next 02/10] tipc: remove unnecessary function pointers Jon Maloy
2018-02-15  9:40 ` [net-next 03/10] tipc: eliminate struct tipc_subscriber Jon Maloy
2018-02-15  9:40 ` [net-next 04/10] tipc: simplify interaction between subscription and topology connection Jon Maloy
2018-02-15  9:40 ` [net-next 05/10] tipc: simplify endianness handling in topology subscriber Jon Maloy
2018-02-15  9:40 ` [net-next 06/10] tipc: collapse subscription creation functions Jon Maloy
2018-02-15  9:40 ` [net-next 07/10] tipc: some prefix changes Jon Maloy
2018-02-15  9:40 ` [net-next 08/10] tipc: make struct tipc_server private for server.c Jon Maloy
2018-02-15  9:40 ` [net-next 09/10] tipc: separate topology server listener socket from subcsriber sockets Jon Maloy
2018-02-17 18:35   ` [tipc] 5fb6af56fa: BUG:sleeping_function_called_from_invalid_context_at_net/core/sock.c kernel test robot
2018-02-15  9:40 ` [net-next 10/10] tipc: rename tipc_server to tipc_topsrv Jon Maloy
2018-02-16 20:29 ` [net-next 00/10] tipc: de-generealize topology server David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518687651-26561-1-git-send-email-jon.maloy@ericsson.com \
    --to=jon.maloy@ericsson.com \
    --cc=canh.d.luu@dektech.com.au \
    --cc=davem@davemloft.net \
    --cc=hoang.h.le@dektech.com.au \
    --cc=mohan.krishna.ghanta.krishnamurthy@ericsson.com \
    --cc=netdev@vger.kernel.org \
    --cc=tipc-discussion@lists.sourceforge.net \
    --cc=tung.q.nguyen@dektech.com.au \
    --cc=ying.xue@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).