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

Add cxgb_mk_abort_req() to remove duplicate code
to form CPL_ABORT_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