summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPhilo Lu <lulie@linux.alibaba.com>2024-11-04 11:57:06 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-11-07 14:40:10 +0300
commit50bfcaedd78e53135ec0504302269b3b65bf1eff (patch)
treeb32b09ef04e63aed1b363d4e628088f8d045d5a4 /tools/perf/scripts/python/export-to-postgresql.py
parentdc749b7b06082ccaacc602e724445da19cd03e9f (diff)
downloadlinux-50bfcaedd78e53135ec0504302269b3b65bf1eff.tar.xz
virtio_net: Update rss when set queue
RSS configuration should be updated with queue number. In particular, it should be updated when (1) rss enabled and (2) default rss configuration is used without user modification. During rss command processing, device updates queue_pairs using rss.max_tx_vq. That is, the device updates queue_pairs together with rss, so we can skip the sperate queue_pairs update (VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET below) and return directly. Also remove the `vi->has_rss ?` check when setting vi->rss.max_tx_vq, because this is not used in the other hash_report case. Fixes: c7114b1249fa ("drivers/net/virtio_net: Added basic RSS support.") Signed-off-by: Philo Lu <lulie@linux.alibaba.com> Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions