scsi: fcoe: Remove fcoe_select_cpu()
authorHannes Reinecke <hare@kernel.org>
Thu, 5 Jun 2025 06:20:14 +0000 (08:20 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Jun 2025 01:30:14 +0000 (21:30 -0400)
commit8b0b14614c1566de7857d6ee29e27ec9ac740578
treeb58d8e57a135070ead47a8019ff35f994de19378
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
scsi: fcoe: Remove fcoe_select_cpu()

The function fcoe_select_cpu() is just used to distribute incoming skbs
which start a new FC command sequence. But the network stack already
received (and processed) that skb, and there is a _really_ good chance
that all subsequent skbs for this sequence will be handled with the same
CPU. So we should just use the CPU on which this skb was allocated on and
save ourselves some overhead due to pointless scheduling.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Link: https://lore.kernel.org/r/20250605062014.105302-1-hare@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe.c