[ovs-git] [openvswitch/ovs] 7235cd: netdev-dpdk: Avoid reconfiguration on VIRTIO_NET_F...
noreply at github.com
Wed Jun 26 18:46:42 UTC 2019
Author: David Marchand <david.marchand at redhat.com>
Date: 2019-06-26 (Wed, 26 Jun 2019)
netdev-dpdk: Avoid reconfiguration on VIRTIO_NET_F_MQ changes.
At the moment, a malicious guest might negotiate VIRTIO_NET_F_MQ and
!VIRTIO_NET_F_MQ in a loop which would be seen as qp_num going from 1 to
n and n to 1 continuously, triggering datapath reconfigurations at each
Limit this by only reconfiguring on increased qp_num.
The previous patch reduced the observed cost of polling disabled queues,
so the only cost is memory.
Co-authored-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>
More information about the git