iser-target: Remove ISER_RECV_DATA_SEG_LEN
authorChristoph Hellwig <hch@lst.de>
Wed, 24 Feb 2016 17:24:04 +0000 (19:24 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Mar 2016 05:48:42 +0000 (21:48 -0800)
commited1083b251f0ed992e90739994c31cffa597abfa
tree2cc423b2baf2dfae6b0f65f1cf5876ee21d74663
parent26c7b673db576b6345e2de1c53bdce125d2f180a
iser-target: Remove ISER_RECV_DATA_SEG_LEN

This is the same as ISCSI_DEF_MAX_RECV_SEG_LEN (and must be the same given
the structure layouts), so just use that constant instead.  This also
allows removing ISER_RX_LOGIN_SIZE in favor of ISER_RX_PAYLOAD_SIZE.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h