IB/mlx5: Support setting Ethernet priority for Raw Packet QPs
authormajd@mellanox.com <majd@mellanox.com>
Thu, 14 Jan 2016 17:13:06 +0000 (19:13 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 21 Jan 2016 17:01:09 +0000 (12:01 -0500)
commit75850d0bcece42416ba81bd38e4c719f101c832d
tree8d1c05ec399476944375f0379d56815ae7ef71e9
parent6d2f89df04b796e7dcc4f9f8dc0d8f04ad7f144b
IB/mlx5: Support setting Ethernet priority for Raw Packet QPs

When the user changes the Address Vector(AV) in the modify QP, he
provides an SL. This SL should be translated to Ethernet Priority
by taking the 3 LSB bits, and modify the QP's TIS according to this
Ethernet priority.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c
drivers/net/ethernet/mellanox/mlx5/core/transobj.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/transobj.h
This page took 0.028118 seconds and 5 git commands to generate.