]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 5 Mar 2016 07:35:49 +0000 (23:35 -0800)
commita6324f7a407b271ce501b974d2d9c37576e77445
tree609677a835d52a344da1259f6a2f8231a51120d5
parent2e54a93a4bd62e770ad5b0e8804d05e5c555e6b6
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