Commit graph android_kernel_sony_sdm845/include/linux/mlx5/transobj.h
Message SHA1
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>

majd@mellanox.com   authored and   Doug Ledford   commited 2016-01-21 12:01:09 -05:00
75850d0bce
IB/mlx5: Add Raw Packet QP query functionality
Since Raw Packet QP is composed of RQ and SQ, the IB QP's
state is derived from the sub-objects. Therefore we need
to query each one of the sub-objects, and decide on the
IB QP's state.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>

majd@mellanox.com   authored and   Doug Ledford   commited 2016-01-21 12:01:09 -05:00
6d2f89df04
net/mlx5_core: Export transport objects
To be used by mlx5_ib in the following patches for implementing
RAW PACKET QP.

Add mlx5_core_ prefix to alloc and delloc transport_domain since
they are exposed now.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>

majd@mellanox.com   authored and   Doug Ledford   commited 2016-01-21 12:01:08 -05:00
8d7f9ecb37
Renamed from drivers/net/ethernet/mellanox/mlx5/core/transobj.h (Browse further)