commit | 1b350ea0c2f4df9aa30426614c8eb755a8c32814 | [log] [tgz] |
---|---|---|
author | Varun Prakash <varun@chelsio.com> | Wed Jul 11 22:03:43 2018 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Jul 12 23:04:06 2018 -0400 |
tree | 5d30c7e622c4d27f2bf288d41170c7978d111e4c | |
parent | 943e59fe78ee870d86c775fc9fee2ab68bd262a3 [diff] |
scsi: target: iscsi: cxgbit: fix max iso npdu calculation - rounddown CXGBIT_MAX_ISO_PAYLOAD by csk->emss before calculating max_iso_npdu to get max TCP payload in multiple of mss. - call cxgbit_set_digest() before cxgbit_set_iso_npdu() to set csk->submode, it is used in calculating number of iso pdus. Signed-off-by: Varun Prakash <varun@chelsio.com> Reviewed-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>