net/mlx5: Hairpin pair core object setup
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 12 Nov 2017 13:15:10 +0000 (15:15 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 9 Jan 2018 05:40:48 +0000 (07:40 +0200)
commit18e568c390c61682e747178f136bcbc45c707882
treeb0df11b1703e5ebf62b49819f99c5231fb74b1b7
parent40817cdbb695de49fb1bfe857b0f440541cb22d8
net/mlx5: Hairpin pair core object setup

Low level code to setup hairpin pair core object, deals with:
 - create hairpin RQs/SQs
 - destroy hairpin RQs/SQs
 - modifying hairpin RQs/SQs - pairing (rst2rdy) and unpairing (rdy2rst)

Unlike conventional RQs/SQs, the memory used for the packet and descriptor
buffers is allocated by the firmware and not the driver. The driver sets
the overall data size (log).

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/transobj.c
include/linux/mlx5/transobj.h