net/smc: handle ioctls SIOCINQ, SIOCOUTQ, and SIOCOUTQNSD
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 2 May 2018 14:56:46 +0000 (16:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 17:29:12 +0000 (13:29 -0400)
commit9b67e26f936cd40a551da98914ed56dc5606686b
treedfda436dbd31637492ecc11a64489888ffc1104e
parented75986f4aaef7822f63bd40c2ce491bdd9c6dec
net/smc: handle ioctls SIOCINQ, SIOCOUTQ, and SIOCOUTQNSD

SIOCINQ returns the amount of unread data in the RMB.
SIOCOUTQ returns the amount of unsent or unacked sent data in the send
buffer.
SIOCOUTQNSD returns the amount of data prepared for sending, but
not yet sent.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c