diff options
author | Dany Madden <drt@linux.ibm.com> | 2021-02-12 15:16:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-12 17:17:05 -0800 |
commit | a6f2fe5f108c11ff8023d07f9c00cc3c9c3203b8 (patch) | |
tree | cbcce32eea6069bcbb9662edcc49594b687ea228 /drivers/net/ethernet/ibm/ibmvnic.h | |
parent | d2126838050ccd1dadf310ffb78b2204f3b032b9 (diff) | |
download | linux-stable-a6f2fe5f108c11ff8023d07f9c00cc3c9c3203b8.tar.gz linux-stable-a6f2fe5f108c11ff8023d07f9c00cc3c9c3203b8.tar.bz2 linux-stable-a6f2fe5f108c11ff8023d07f9c00cc3c9c3203b8.zip |
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: f019fb6392e5 ("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>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.h')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index c09c3f6bba9f..07ced1016aa4 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -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 |