]> git.baikalelectronics.ru Git - kernel.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>
Fri, 11 Mar 2016 05:48:42 +0000 (21:48 -0800)
commit0ef644ea643c24a9b34c4e71579abc3b5c0ef620
tree2cc423b2baf2dfae6b0f65f1cf5876ee21d74663
parent51d1d6c73c2af13cffb7df5498695b5d2ee859c1
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