ibmvnic: Assign IRQ affinity hints to device queues
authorNick Child <nnac123@linux.ibm.com>
Thu, 10 Nov 2022 21:32:16 +0000 (15:32 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2022 10:47:07 +0000 (10:47 +0000)
commit44fbc1b6e0e291df1d31f5080777ce66a72ef37a
treec1e1e81d86557a159e0449e6eff230b5566b8c01
parente384cf35bf0c83284eb37785d21d39bbe2568adf
ibmvnic: Assign IRQ affinity hints to device queues

Assign affinity hints to ibmvnic device queue interrupts.
Affinity hints are assigned and removed during sub-crq init and
teardown, respectively. This update should improve latency if
utilized as interrupt lines and processing are more equally
distributed among CPU's. This implementation is based on the
virtio_net driver.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Nick Child <nnac123@linux.ibm.com>
Reviewed-by: Rick Lindsley <ricklind@linux.ibm.com>
Reviewed-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h