[ovs-dev] [PATCH v3 2/3] netdev-dpdk: Avoid reconfiguration on VIRTIO_NET_F_MQ changes.

Ian Stokes ian.stokes at intel.com
Wed Jun 26 18:46:46 UTC 2019


On 4/25/2019 4:22 PM, David Marchand wrote:
> 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
> transition.
> 
> 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>

Seems fair enough. Pushed to master.

Thanks
Ian



More information about the dev mailing list