IB/rxe: optimize the function duplicate_request
authorZhu Yanjun <yanjun.zhu@oracle.com>
Tue, 10 Apr 2018 04:47:15 +0000 (00:47 -0400)
committerDoug Ledford <dledford@redhat.com>
Thu, 19 Apr 2018 17:58:16 +0000 (13:58 -0400)
commit2e47350789ebbc002b06d4549f60b5f9cba326ea
tree6e83bf6447e42eedf26a78ff10cb5d2ef05c6ee2
parent8f1a72c815cf121f8a842c60c837f0d7605cdad4
IB/rxe: optimize the function duplicate_request

In the function duplicate_request, the reference of skb can be increased
to replace the function skb_clone.

This will make rxe performace better and save memory.

CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_resp.c