From: Chris Leech Date: Tue, 25 Aug 2009 20:59:41 +0000 (-0700) Subject: [SCSI] fcoe: move packet handlers from fcoe_port to fcoe_interface X-Git-Tag: v2.6.32-rc1~689^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=259ad85d8dbbcd508e3dad29a36e3e76365853b7;p=pandora-kernel.git [SCSI] fcoe: move packet handlers from fcoe_port to fcoe_interface The packet handlers need to be tracked in fcoe_interface so there is only one set per net_device. When NPIV is enabled there will be multiple SCSI hosts and multiple fcoe_port structures on a single net_device. The packet handlers match by ethertype and netdev. If the same handler gets registered on a single netdev multiple times, the receive function will be called multiple times for each frame. Signed-off-by: Chris Leech Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed