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

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