summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@nvidia.com>2021-01-22 23:13:53 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-01-26 15:38:48 -0800
commit0aa128475d33d2d0095947eeab6b3e4d22dbd578 (patch)
tree7347562f7e39b06c3d577e65f2aff4f141b7cee1 /net/switchdev/switchdev.c
parent45c9a30835d84009dfe711f5c8836720767c286e (diff)
net/mlx5: Maintain separate page trees for ECPF and PF functions
Pages for the host PF and ECPF were stored in the same tree, so the ECPF pages were being freed along with the host PF's when the host driver unloaded. Combine the function ID and ECPF flag to use as an index into the x-array containing the trees to get a different tree for the host PF and ECPF. Fixes: c6168161f693 ("net/mlx5: Add support for release all pages event") Signed-off-by: Daniel Jurgens <danielj@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions