Re: [PATCH 0/2] xen/net: limit number of tx/rx queues

From: Boris Ostrovsky
Date: Mon Jan 30 2017 - 00:36:18 EST

On 01/10/2017 08:32 AM, Juergen Gross wrote:
The Xen network frontend/backend supports multiple tx/rx queues for one
virtual interface. The number of queues supported by the backend is
set to the number of cpus of the backend driver domain (usually dom0)
and the number of queues requested by the frontend is limited by the
number of vcpus of the related guest.

On large systems this can lead to ridiculous large number of queues
exhausting the required number of grant pages rather quick.

To avoid this limit the default maximum on both sides to 8. Both
frontend and backend maximum can be individually tuned via module

Juergen Gross (2):
xen/netfront: set default upper limit of tx/rx queues to 8
xen/netback: set default upper limit of tx/rx queues to 8

drivers/net/xen-netback/netback.c | 6 ++++--
drivers/net/xen-netfront.c | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)

Applied to for-linus-4.11