From: Kiran Patil Date: Mon, 20 Jun 2011 23:59:20 +0000 (-0700) Subject: [SCSI] fcoe: Round-robin based selection of CPU for post-processing of incoming commands X-Git-Tag: v3.1-rc1~270^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=064287eee372e8a2effe77fb909a40da9e7a1fd7;p=pandora-kernel.git [SCSI] fcoe: Round-robin based selection of CPU for post-processing of incoming commands Problem: Earlier mechanism of selection of CPU was, to select the same CPU which has received incoming request. Hence in case of rx_id = 0xFFFF, request was always posted to same NetRx queue, hence only 1 CPU is utilized for handling the command. It was also causing problem of "running out of exchanges from per CPU pool of exchanges (in case of DDP offload) Fix: Implemented new algo. to select CPU for post-processing of incoming commands when rx_id is unknown. This is simple Round robin algo. for CPU selection. Notes/Dependencies: N/A Signed-off-by: Kiran Patil Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed