]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fa51fa69a23782eb01370c529c459b940d6132b
tree6e83bf6447e42eedf26a78ff10cb5d2ef05c6ee2
parentd4a54648da0dd880b4d8211411815bd185abf02d
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