diff options
author | Varun Prakash <varun@chelsio.com> | 2018-07-11 22:03:43 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-12 23:04:06 -0400 |
commit | 1b350ea0c2f4df9aa30426614c8eb755a8c32814 (patch) | |
tree | 5d30c7e622c4d27f2bf288d41170c7978d111e4c /tools/perf/scripts/python/export-to-postgresql.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions