Skip to content

Commit

Permalink
vdpa multiqueue enabled
Browse files Browse the repository at this point in the history
Max number of queues is set to 32 by default.
This setting should help with the performance of
NVIDIA network cards.

Signed-off-by: Leonardo Milleri <lmilleri@redhat.com>
  • Loading branch information
lmilleri authored and Leonardo Milleri committed Aug 16, 2023
1 parent e1dc910 commit fde019d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ contents:
do
extract_min_max_ids
vdpaType=$(jq -c '.vdpaType' -r <<< $group)
if [ $vfid -le $maxId ] && [ $vfid -ge $minId ] && [ $vdpaType == "virtio" ]; then
vdpa_cmd="vdpa dev add name vdpa:"${VfPciAddr}" mgmtdev pci/"${VfPciAddr}
if [ $vfid -le $maxId ] && [ $vfid -ge $minId ] && [ $vdpaType != "" ]; then
vdpa_cmd="vdpa dev add name vdpa:"${VfPciAddr}" mgmtdev pci/"${VfPciAddr}" max_vqp 32"
eval $vdpa_cmd
fi
done
Expand Down

0 comments on commit fde019d

Please sign in to comment.