ibmvnic: Introduce xmit_more support using batched subCRQ hcalls
authorThomas Falcon <tlfalcon@linux.ibm.com>
Thu, 19 Nov 2020 01:12:19 +0000 (19:12 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Nov 2020 03:50:33 +0000 (19:50 -0800)
commit0d973388185d49add56b81ca82fa5e4348019df8
treea9ecdfeaa5df7c30bd0b94e7789b4b072431ea50
parent4f0b6812e9b9a05887b51c773642c6f354d69650
ibmvnic: Introduce xmit_more support using batched subCRQ hcalls

Include support for the xmit_more feature utilizing the
H_SEND_SUB_CRQ_INDIRECT hypervisor call which allows the sending
of multiple subordinate Command Response Queue descriptors in one
hypervisor call via a DMA-mapped buffer. This update reduces hypervisor
calls and thus hypervisor call overhead per TX descriptor.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c