aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <[email protected]>2023-10-19 17:32:20 +0000
committerDavid S. Miller <[email protected]>2023-10-20 11:53:05 +0000
commitfe1c5ca2fe760d95eb609976e225111fa055e931 (patch)
tree41eafd915d080a2528f47c8ef5a8c99091f94a03 /drivers/net/ethernet/intel/ice/ice_main.c
parentice: store VF's pci_dev ptr in ice_vf (diff)
downloadkernel-fe1c5ca2fe760d95eb609976e225111fa055e931.tar.gz
kernel-fe1c5ca2fe760d95eb609976e225111fa055e931.zip
ice: implement num_msix field per VF
Store the amount of MSI-X per VF instead of storing it in pf struct. It is used to calculate number of q_vectors (and queues) for VF VSI. This is necessary because with follow up changes the number of MSI-X can be different between VFs. Use it instead of using pf->vf_msix value in all cases. Signed-off-by: Michal Swiatkowski <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Signed-off-by: Jacob Keller <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions