]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: change IBMVNIC_MAX_IND_DESCS to 16
authorDany Madden <drt@linux.ibm.com>
Fri, 12 Feb 2021 20:16:30 +0000 (15:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 01:17:05 +0000 (17:17 -0800)
commit6d835d100fec099a65d04508c8a70e3b1374a981
treecbcce32eea6069bcbb9662edcc49594b687ea228
parentcfb1f5b7556450b9646203aadec7bc86da3a0b49
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: 80b8ad25464c ("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>
drivers/net/ethernet/ibm/ibmvnic.h