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 committed Jul 14, 2023
1 parent bcfe302 commit 79f227b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ contents:
extract_min_max_ids
vdpaType=$(jq -c '.vdpaType' -r <<< $group)
if [ $vfid -le $maxId ] && [ $vfid -ge $minId ] && [ $vdpaType != "" ]; then
vdpa_cmd="vdpa dev add name vdpa:"${VfPciAddr}" mgmtdev pci/"${VfPciAddr}
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 79f227b

Please sign in to comment.