]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e6569687774e8934b6b4d009d961d587558e0f5
treeb0df11b1703e5ebf62b49819f99c5231fb74b1b7
parentf293348705d26fc1d9604d2291ea54241664eb9a
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