OpenCloudOS-Kernel/drivers/target/iscsi/cxgbit
Varun Prakash 1b350ea0c2 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>
2018-07-12 23:04:06 -04:00
..
Kconfig libcxgb: add library module for Chelsio drivers 2016-07-25 10:31:08 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cxgbit.h cxgbit: Abort the TCP connection in case of data out timeout 2017-11-04 14:54:40 -07:00
cxgbit_cm.c cxgbit: call neigh_event_send() to update MAC address 2018-01-12 15:07:26 -08:00
cxgbit_ddp.c cxgbit: Abort the TCP connection in case of data out timeout 2017-11-04 14:54:40 -07:00
cxgbit_lro.h target/cxgbit: add T6 iSCSI DDP completion feature 2017-02-18 21:24:21 -08:00
cxgbit_main.c target: Suppress gcc 7 fallthrough warnings 2017-11-04 15:15:35 -07:00
cxgbit_target.c scsi: target: iscsi: cxgbit: fix max iso npdu calculation 2018-07-12 23:04:06 -04:00