IB/mlx5: Set network_hdr_type upon RoCE responder completion
authorAchiad Shochat <achiad@mellanox.com>
Wed, 23 Dec 2015 16:47:22 +0000 (18:47 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 17:07:37 +0000 (12:07 -0500)
commitcb34be6da25f45034ef4ff6103d401b451165e39
tree6d3bb467d9bf290f659fb42a1401b6893cfc08b7
parent3f89a643eb29543af0838d37604bbc29a4e1eb60
IB/mlx5: Set network_hdr_type upon RoCE responder completion

When handling a responder completion, if the link layer is Ethernet,
set the work completion network_hdr_type field according to CQE's
info and the IB_WC_WITH_NETWORK_HDR_TYPE flag.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/cq.c
include/linux/mlx5/device.h
This page took 0.027451 seconds and 5 git commands to generate.