]> 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)
commitfb03c8960a9af88ac0f25062cacd9f5cf23e6b1f
treeb0df11b1703e5ebf62b49819f99c5231fb74b1b7
parent9694cda41fa0b796a15fa49c421f2cc23ea5853c
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