diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2022-02-24 16:20:11 +0200 |
|---|---|---|
| committer | Leon Romanovsky <leonro@nvidia.com> | 2022-02-27 11:40:00 +0200 |
| commit | 6ebd25b80c0d325a4a7f12614885aaf33dae76ab (patch) | |
| tree | 90bcbd97daa12237754032bfb2471b47c483588f /lib/mpi/mpi-sub-ui.c | |
| parent | 21ca9fb62d4688da41825e0f05d8e7e26afc69d6 (diff) | |
net/mlx5: Reuse exported virtfn index function call
Instead open-code iteration to compare virtfn internal index, use newly
introduced pci_iov_vf_id() call.
Link: https://lore.kernel.org/all/20220224142024.147653-3-yishaih@nvidia.com
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
