linux/drivers/infiniband
Zhu Yanjun 08304d7146 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>
2019-03-27 16:23:09 -03:00
..
core IB/MAD: Add SMP details to MAD tracing 2019-03-27 15:52:01 -03:00
hw RDMA/vmw_pvrdma: Skip zeroing device attrs 2019-03-27 15:30:43 -03:00
sw IB/rxe: Replace av->network_type with skb->protocol 2019-03-27 16:23:09 -03:00
ulp IB/iser: remove uninitialized variable len 2019-03-27 10:20:33 -03:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile