]> git.baikalelectronics.ru Git - kernel.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)
commit7c08ebf7417ff9816ee69c422fe69ea9b23db471
tree3268a415562369642fe5bfedbfe223edf1759e5b
parent11a5a3856faf564dbad8e66abdcf2f8659985446
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