diff options
author | Tariq Toukan <tariqt@nvidia.com> | 2021-03-11 10:09:15 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-03-13 00:07:46 +0300 |
commit | 26bf30902c10473ba38f220d3401a61c56d8db3b (patch) | |
tree | 4a7d3e53dc4b5bb96aec8670e21011b9b0b700e0 /drivers/pci/pci.h | |
parent | c3e666f1ada9cbfbe5465f122f9a2d63ddfd25ed (diff) | |
download | linux-26bf30902c10473ba38f220d3401a61c56d8db3b.tar.xz |
net/mlx5: Use order-0 allocations for EQs
Currently we are allocating high-order page for EQs. In case of
fragmented system, VF hot remove/add in VMs for example, there isn't
enough contiguous memory for EQs allocation, which results in crashing
of the VM.
Therefore, use order-0 fragments for the EQ allocations instead.
Performance tests:
ConnectX-5 100Gbps, CPU: Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz
Performance tests show no sensible degradation.
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/pci/pci.h')
0 files changed, 0 insertions, 0 deletions