linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Eran Ben Elisha c6168161f6 net/mlx5: Add support for release all pages event
If FW sets release_all_pages bit in MLX5_EVENT_TYPE_PAGE_REQUEST,
driver shall release all pages of a given function id, with no further
pages reclaim negotiation with FW nor MANAGE_PAGES commands from driver
towards FW.

Upon receiving this bit as part of pages reclaim event, driver will
initiate release all flow, in which it will iterate and release all
function's pages.

As part of driver <-> FW capabilities handshake, FW will report
release_all_pages max HCA cap bit, and driver will set the
release_all_pages bit in HCA cap.

NIC: ConnectX-4 Lx
CPU: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
Test case: Simulataniously FLR 4 VFs, and measure FW release pages by
driver.
Before: 3.18 Sec
After:  0.31 Sec

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2020-04-30 10:10:44 -07:00
..
mlx4 net/mlx4_core: Add missing iounmap() in error path 2020-04-25 20:43:56 -07:00
mlx5/core net/mlx5: Add support for release all pages event 2020-04-30 10:10:44 -07:00
mlxfw net/mlxfw: Remove unneeded semicolon 2020-04-24 16:56:22 -07:00
mlxsw mlxsw: spectrum: Move flow offload binding into spectrum_flow.c 2020-04-27 12:43:29 -07:00
Kconfig
Makefile