From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: chien.yen@oracle.com, davem@davemloft.net,
rds-devel@oss.oracle.com, agrover@redhat.com, clm@fb.com,
zab@zabbo.net, ajaykumar.hotchandani@oracle.com,
sergei.shtylyov@cogentembedded.com,
Sowmini Varadhan <sowmini.varadhan@oracle.com>
Subject: [PATCH v4 1/3] Document AF_RDS, PF_RDS and SOL_RDS correctly.
Date: Tue, 7 Apr 2015 16:38:02 -0400 [thread overview]
Message-ID: <b16dfaff3473b8bfc1f660dd7a27bcb7ff980c94.1428437150.git.sowmini.varadhan@oracle.com> (raw)
In-Reply-To: <cover.1428437150.git.sowmini.varadhan@oracle.com>
In-Reply-To: <cover.1428437150.git.sowmini.varadhan@oracle.com>
AF_RDS, PF_RDS and SOL_RDS are available in header files,
and there is no need to get their values from /proc. Document
this correctly.
Fixes: 0c5f9b8830aa ("RDS: Documentation")
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
---
v4: this change replaces the v3 modifications to sysctl.c
Documentation/networking/rds.txt | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/Documentation/networking/rds.txt b/Documentation/networking/rds.txt
index c67077c..e1a3d59 100644
--- a/Documentation/networking/rds.txt
+++ b/Documentation/networking/rds.txt
@@ -62,11 +62,10 @@ Socket Interface
================
AF_RDS, PF_RDS, SOL_RDS
- These constants haven't been assigned yet, because RDS isn't in
- mainline yet. Currently, the kernel module assigns some constant
- and publishes it to user space through two sysctl files
- /proc/sys/net/rds/pf_rds
- /proc/sys/net/rds/sol_rds
+ AF_RDS and PF_RDS are the domain type to be used with socket(2)
+ to create RDS sockets. SOL_RDS is the socket-level to be used
+ with setsockopt(2) and getsockopt(2) for RDS specific socket
+ options.
fd = socket(PF_RDS, SOCK_SEQPACKET, 0);
This creates a new, unbound RDS socket.
--
1.7.1
next prev parent reply other threads:[~2015-04-07 20:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 20:38 [PATCH v4 0/3] RDS: RDS-core fixes Sowmini Varadhan
2015-04-07 20:38 ` Sowmini Varadhan [this message]
2015-04-07 20:38 ` [PATCH v4 2/3] RDS: only use passive connections when addresses match Sowmini Varadhan
2015-04-07 20:38 ` [PATCH v4 3/3] RDS: make sure not to loop forever inside rds_send_xmit Sowmini Varadhan
2015-04-07 21:26 ` David Miller
2015-04-07 21:56 ` Sowmini Varadhan
2015-04-07 22:27 ` 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=b16dfaff3473b8bfc1f660dd7a27bcb7ff980c94.1428437150.git.sowmini.varadhan@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=agrover@redhat.com \
--cc=ajaykumar.hotchandani@oracle.com \
--cc=chien.yen@oracle.com \
--cc=clm@fb.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rds-devel@oss.oracle.com \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=zab@zabbo.net \
/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
all inboxes | Powered by JetHome®