IB/mlx4: Don't set VLAN in IBoE WQEs' control segment
authorOr Gerlitz <ogerlitz@mellanox.com>
Mon, 10 Oct 2011 08:54:42 +0000 (10:54 +0200)
committerRoland Dreier <roland@purestorage.com>
Mon, 31 Oct 2011 18:57:51 +0000 (11:57 -0700)
commit80a2dcd8d05c11d42f4e606d7a5f3eaa2794ab34
tree4407b7481a5382bc10e5f91c77dec3b98f7f8b9c
parentbcacb897569f0e7aab7643b22567d8de22ef9dfc
IB/mlx4: Don't set VLAN in IBoE WQEs' control segment

There's no need to set the vlan-related fields in an IBoE send WQE
control segment:

 - the vlan to be used by a UD QP is set in the datagram segment.
 - for GSI (CM) QP, all the headers down to 8021q and MAC are built by
   the software anyway.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/qp.c