netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next  0/3] tipc: socket diagnostics additions for AF_TIPC
@ 2018-03-21 13:37 GhantaKrishnamurthy MohanKrishna
  2018-03-21 13:37 ` [net-next 1/3] tipc: modify socket iterator for sock_diag GhantaKrishnamurthy MohanKrishna
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: GhantaKrishnamurthy MohanKrishna @ 2018-03-21 13:37 UTC (permalink / raw)
  To: tipc-discussion, jon.maloy, maloy, ying.xue,
	mohan.krishna.ghanta.krishnamurthy, netdev, davem

The following patchsets add socket diagnostics support for AF_TIPC by
using the sock diag framework. The patchset was created on top of
commit id: fb66cb0.

New iproute2 package is needed to use this functionality which will
be sent for review in a seperate mail.

The commit series improves diagnosis of tipc sockets by exporting the
configuration, states and statistics of sockets.

The series has been co-authored by Parthasarathy Bhuvaragan and
consist of two parts:

1-2:  Adaptations of existing code to support sock_diag framework.
We modify existing functions to support socket diagnostics. Required
information about the sockets are exported.

3:  Step sk_drops during packet drop.
This occurs if the packet cannot be queued due to queue length exceeding
configured thresholds.

The diag module is optional, and if enabled it will be loaded on demand
when needed.

GhantaKrishnamurthy MohanKrishna (3):
  tipc: modify socket iterator for sock_diag
  tipc: implement socket diagnostics for AF_TIPC
  tipc: step sk->sk_drops when rcv buffer is full

 include/uapi/linux/tipc_netlink.h      |  19 +++++
 include/uapi/linux/tipc_sockets_diag.h |  17 +++++
 net/tipc/Kconfig                       |   8 ++
 net/tipc/Makefile                      |   5 ++
 net/tipc/diag.c                        | 114 ++++++++++++++++++++++++++++
 net/tipc/socket.c                      | 134 +++++++++++++++++++++++++++------
 net/tipc/socket.h                      |  10 ++-
 7 files changed, 281 insertions(+), 26 deletions(-)
 create mode 100644 include/uapi/linux/tipc_sockets_diag.h
 create mode 100644 net/tipc/diag.c

-- 
2.1.4

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

end of thread, other threads:[~2018-06-29 15:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-21 13:37 [net-next 0/3] tipc: socket diagnostics additions for AF_TIPC GhantaKrishnamurthy MohanKrishna
2018-03-21 13:37 ` [net-next 1/3] tipc: modify socket iterator for sock_diag GhantaKrishnamurthy MohanKrishna
2018-03-21 13:37 ` [net-next 2/3] tipc: implement socket diagnostics for AF_TIPC GhantaKrishnamurthy MohanKrishna
2018-06-29 13:57   ` Eric Dumazet
2018-06-29 15:03     ` Jon Maloy
2018-03-21 13:37 ` [net-next 3/3] tipc: step sk->sk_drops when rcv buffer is full GhantaKrishnamurthy MohanKrishna
2018-03-22 18:44 ` [net-next 0/3] tipc: socket diagnostics additions for AF_TIPC 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).