diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-03-21 04:08:37 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-29 13:25:22 -0600 |
commit | 99dae690255e90f5cbefcc76ad92b35cdf87d14d (patch) | |
tree | 840e12300389008def05b4c4d8b703b89e7c8a56 /lib/locking-selftest-spin-softirq.h | |
parent | a343e3f89e365a598ab4061fd2bc9ed5daf1905d (diff) | |
download | blackbird-op-linux-99dae690255e90f5cbefcc76ad92b35cdf87d14d.tar.gz blackbird-op-linux-99dae690255e90f5cbefcc76ad92b35cdf87d14d.zip |
IB/rxe: optimize mcast recv process
In mcast recv process, the function skb_clone is used. In fact,
the refcount can be increased to replace cloning a new skb since
the original skb will not be modified before it is freed.
This can make the performance better and save the 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: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/locking-selftest-spin-softirq.h')
0 files changed, 0 insertions, 0 deletions