diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2019-03-27 05:50:47 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-27 16:23:09 -0300 |
commit | 08304d714638dff08bf001e92ce56411e2e902c7 (patch) | |
tree | 921480232a4a2c518285c811d0ecc1c6ec97986b /drivers/infiniband/core/iwpm_util.h | |
parent | 0ac01febd4753809d7d4d785f71cac2abde6b1c3 (diff) |
IB/rxe: Replace av->network_type with skb->protocol
In the function rxe_init_packet, based on av->network_type, skb->protocol
is set to ipv4 or ipv6. The functions rxe_prepare and rxe_send are called
after the functin rxe_init_packet. So in these functions,
av->network_type can be replaced with skb->protocol.
The functions are in the xmit fast path. So with skb->protocol, the
performance will be better.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/iwpm_util.h')
0 files changed, 0 insertions, 0 deletions