]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cxgbi: use per-connection link-speed dependent send/recv windows
authorKaren Xie <kxie@chelsio.com>
Fri, 10 Apr 2015 20:57:12 +0000 (13:57 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Mon, 25 May 2015 15:46:24 +0000 (08:46 -0700)
commit81daf10c76770ef9fbb59f4d024f67517edf21d3
tree3268a415562369642fe5bfedbfe223edf1759e5b
parentdee0586e15d5d5796dd76bdc0ecfb7df7c5ee1c8
cxgbi: use per-connection link-speed dependent send/recv windows

For adapters supporting both 10G and 40G use per-connection send/recv window
and calculate the size based on the link speed.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/scsi/cxgbi/libcxgbi.c
drivers/scsi/cxgbi/libcxgbi.h