Re: net/mlx5: Maintain separate page trees for ECPF and PF functions

2021-01-29 Thread Eran Ben Elisha
On 1/29/2021 2:18 PM, Colin Ian King wrote: Hi, Static analysis with Coverity has detected an issue with the following commit: commit 0aa128475d33d2d0095947eeab6b3e4d22dbd578 Author: Daniel Jurgens Date: Fri Jan 22 23:13:53 2021 +0200 net/mlx5: Maintain separate page trees for ECPF

[net 06/12] net/mlx5: Maintain separate page trees for ECPF and PF functions

2021-01-26 Thread Saeed Mahameed
From: Daniel Jurgens 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