libcxgb, iw_cxgb4, cxgbit: add cxgb_mk_close_con_req()
commit29fb6f42e7282322672eff8b4ad85918b9dcbae3
authorVarun Prakash <varun@chelsio.com>
Tue, 13 Sep 2016 15:54:03 +0000 (13 21:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 00:49:20 +0000 (15 20:49 -0400)
treec745228ae738982d22029a921c6bbeffe374eec9
parenta1a234542b7817c28770ad4e80be1bf69e6a4f86
libcxgb, iw_cxgb4, cxgbit: add cxgb_mk_close_con_req()

Add cxgb_mk_close_con_req() to remove duplicate
code to form CPL_CLOSE_CON_REQ hardware command.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb4/cm.c
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
drivers/target/iscsi/cxgbit/cxgbit_cm.c