Commit 4e0d26b
xen/netback: set default upper limit of tx/rx queues to 8
[ Upstream commit 56dd5af9bc23d0d5d23bb207c477715b4c2216c5 ]
The default for the maximum number of tx/rx queues of one interface is
the number of cpus of the system today. As each queue pair reserves 512
grant pages this default consumes a ridiculous number of grants for
large guests.
Limit the queue number to 8 as default. This value can be modified
via a module parameter if required.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent f3170e6 commit 4e0d26b
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
2157 | 2158 | | |
2158 | 2159 | | |
2159 | 2160 | | |
2160 | | - | |
| 2161 | + | |
2161 | 2162 | | |
2162 | 2163 | | |
2163 | 2164 | | |
2164 | | - | |
| 2165 | + | |
| 2166 | + | |
2165 | 2167 | | |
2166 | 2168 | | |
2167 | 2169 | | |
| |||
0 commit comments