Whamcloud - gitweb
LU-13004 lnet: simplify ksock_tx. 50/37850/8
authorMr NeilBrown <neilb@suse.de>
Wed, 4 Dec 2019 05:40:12 +0000 (16:40 +1100)
committerOleg Drokin <green@whamcloud.com>
Wed, 20 May 2020 08:25:01 +0000 (08:25 +0000)
commit28ffde29603b12627e87e9becd3ec2a5c377124d
tree076d2fcc49d36aa9d3fcdcd64b3eacd6a9cba0f0
parent12af05194ad71c5278a5943035a3da8200fac969
LU-13004 lnet: simplify ksock_tx.

The tx_frags union in 'struct ksock_tx' is largely unnecessary.  The
payload is always lnet_kiov_t, the only kvec is a header.  So replace
the union with just those two fields.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I2c4bd5397ddf412b11e9f741406de617c534c736
Reviewed-on: https://review.whamcloud.com/37850
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c