2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-03 19:24:02 +08:00
linux-next/drivers/scsi/fcoe
Neil Horman 20dc3811a2 [SCSI] fcoe: reduce contention for fcoe_rx_list lock [v2]
There is potentially lots of contention for the rx_list_lock.  On a cpu that is
receiving lots of fcoe traffic, the softirq context has to add and release the
lock for every frame it receives, as does the receiving per-cpu thread.  We can
reduce this contention somewhat by altering the per-cpu threads loop such that
when traffic is detected on the fcoe_rx_list, we splice it to a temporary list.
In this way, we can process multiple skbs while only having to acquire and
release the fcoe_rx_list lock once.

[ Braces around single statement while loop removed by Robert Love
  to satisfy checkpath.pl. ]

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-03-28 09:31:44 +01:00
..
fcoe_ctlr.c [SCSI] libfcoe: Support extra MAC descriptor to be used as FCoE MAC 2012-03-28 09:05:37 +01:00
fcoe_transport.c [SCSI] libfcoe: Don't KERN_ERR on netdev notification 2012-02-19 09:19:49 -06:00
fcoe.c [SCSI] fcoe: reduce contention for fcoe_rx_list lock [v2] 2012-03-28 09:31:44 +01:00
fcoe.h [SCSI] fcoe: Remove reference counting on 'stuct fcoe_interface' 2012-02-19 09:25:41 -06:00
libfcoe.h [SCSI] libfcoe: add implementation to support fcoe transport 2011-02-12 11:06:06 -06:00
Makefile [SCSI] libfcoe: include fcoe_transport.c into kernel libfcoe module 2011-02-12 11:06:52 -06:00