mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 12:14:06 +00:00
ibmvnic: change IBMVNIC_MAX_IND_DESCS to 16
The supported indirect subcrq entries on Power8 is 16. Power9
supports 128. Redefined this value to 16 to minimize the driver from
having to reset when migrating between Power9 and Power8. In our rx/tx
performance testing, we found no performance difference between 16 and
128 at this time.
Fixes: f019fb6392
("ibmvnic: Introduce indirect subordinate Command Response Queue buffer")
Signed-off-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d212683805
commit
a6f2fe5f10
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
#define IBMVNIC_BUFFS_PER_POOL 100
|
||||
#define IBMVNIC_MAX_QUEUES 16
|
||||
#define IBMVNIC_MAX_QUEUE_SZ 4096
|
||||
#define IBMVNIC_MAX_IND_DESCS 128
|
||||
#define IBMVNIC_MAX_IND_DESCS 16
|
||||
#define IBMVNIC_IND_ARR_SZ (IBMVNIC_MAX_IND_DESCS * 32)
|
||||
|
||||
#define IBMVNIC_TSO_BUF_SZ 65536
|
||||
|
|
Loading…
Add table
Reference in a new issue