summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2020-05-03 10:15:58 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-05-15 15:44:12 -0700
commit2726cd4a29280c20ea983be285a6aefe75b205a4 (patch)
tree5c422d4f46541225548c96e43518c8a5496f0b79 /drivers/iommu
parentda07f52d3caf6c24c6dbffb5500f379d819e04bd (diff)
net/mlx5: Dedicate fw page to the requesting function
The cited patch assumes that all chuncks in a fw page belong to the same function, thus the driver must dedicate fw page to the requesting function, which is actually what was intedned in the original fw pages allocator design, hence the fwp->func_id ! Up until the cited patch everything worked ok, but now "relase all pages" is broken on systems with page_size > 4k. Fix this by dedicating fw page to the requesting function id via adding a func_id parameter to alloc_4k() function. Fixes: c6168161f693 ("net/mlx5: Add support for release all pages event") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions