diff options
author | Bodong Wang <bodong@mellanox.com> | 2019-02-12 22:55:36 -0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-02-14 12:14:41 -0800 |
commit | 22e939a91dcb9bd4b773f2a0c0cb4eb016679b49 (patch) | |
tree | 77467ed5835670366f4ff3e111f1c9ac99032aa9 /virt/kvm | |
parent | 591905ba96796e3b677b14fa79f27127bfaab4ab (diff) |
net/mlx5: Update enable HCA dependency
With the introduction of ECPF, we require that the ECPF driver will
aways call enable/disable HCA for that PF in the same way a PF does
this for its VFs. The PF is still responsible for calling enable and
disable HCA for its VFs.
To distinguish between the ECPF executing enable/disable HCA for
itself or for the PF, it sets the embedded CPU function bit in the
input params struct of these commands. When the bit is cleared and
function ID is zero, it refers to the peer PF.
Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions