aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorMatt Johnston <[email protected]>2022-02-09 12:05:57 +0800
committerDavid S. Miller <[email protected]>2022-02-09 12:00:11 +0000
commit63ed1aab3d40aa61aaa66819bdce9377ac7f40fa (patch)
tree6f239012c2653e6f0d89ef1ac483467e2590a339 /lib/mpi/mpi-add.c
parent0de55a7d1133d0ab1acad5d91eea6ccd8cf6d448 (diff)
mctp: Add SIOCMCTP{ALLOC,DROP}TAG ioctls for tag control
This change adds a couple of new ioctls for mctp sockets: SIOCMCTPALLOCTAG and SIOCMCTPDROPTAG. These ioctls provide facilities for explicit allocation / release of tags, overriding the automatic allocate-on-send/release-on-reply and timeout behaviours. This allows userspace more control over messages that may not fit a simple request/response model. In order to indicate a pre-allocated tag to the sendmsg() syscall, we introduce a new flag to the struct sockaddr_mctp.smctp_tag value: MCTP_TAG_PREALLOC. Additional changes from Jeremy Kerr <[email protected]>. Contains a fix that was: Reported-by: kernel test robot <[email protected]> Signed-off-by: Matt Johnston <[email protected]> Signed-off-by: Jeremy Kerr <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions