50e3ba10e8
There is a difference when parsing a completion entry between Ethernet and IB ports. When link layer is Ethernet the bits describe the type of L3 header in the packet. In the case when link layer is Ethernet and VLAN header is present the value of SL is equal to the 3 UP bits in the VLAN header. If VLAN header is not present then the SL is undefined and consumer of the completion should check if IB_WC_WITH_VLAN is set. While that, this patch also fills the vlan_id field in the completion if present. linux commit 12f8fedef2ec94c783f929126b20440a01512c14 MFC after: 1 week Sponsored by: Mellanox Technologies |
||
---|---|---|
.. | ||
mlx5_ib_ah.c | ||
mlx5_ib_cong.c | ||
mlx5_ib_cq.c | ||
mlx5_ib_doorbell.c | ||
mlx5_ib_gsi.c | ||
mlx5_ib_mad.c | ||
mlx5_ib_main.c | ||
mlx5_ib_mem.c | ||
mlx5_ib_mr.c | ||
mlx5_ib_qp.c | ||
mlx5_ib_srq.c | ||
mlx5_ib_virt.c | ||
mlx5_ib.h |