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 <[email protected]>
  • Loading branch information
lmilleri authored and Leonardo Milleri committed Jul 24, 2023
1 parent d5d6cb4 commit 7cae62f
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 7cae62f

Please sign in to comment.