]> git.baikalelectronics.ru Git - kernel.git/commit
iw_cxgb4: pass window scale in flowc work request
authorPotnuri Bharat Teja <bharat@chelsio.com>
Fri, 3 Aug 2018 12:56:47 +0000 (18:26 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 8 Aug 2018 15:54:55 +0000 (09:54 -0600)
commit7779ac4390cd4fff7e7097bc8d5247ac1fab8442
tree1fee1faaf4de1c7444a80ae123fdece02c8b0dc7
parent6500efcde97e5919c42ce045f399e8f986ae6d12
iw_cxgb4: pass window scale in flowc work request

This will allow FW to not send more data to TP (which would then need to
be buffered). Pass the negotiated TCP window scale to FW in the FLOWC WR.

Also refactor send_flowc() a bit to clean it up.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/cxgb4/iw_cxgb4.h