diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-04-21 19:27:46 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-27 11:19:35 -0400 |
commit | 6401bdcad536cc00589c38e7e1c140d3acc00087 (patch) | |
tree | 0565bb64ccefd80cc41adda0224e0a4fbd1033c4 /drivers/scsi/fcoe | |
parent | a29e7646f42a325a7f6cce34adbeb52e8db15566 (diff) |
[SCSI] fcoe: fip: add multicast filter to receive FIP advertisements.
The FCoE forwarder (FCF) would be selected, but then would soon time
out after three advertisements were missed. This would be 24 seconds
by default, or 3 times the keep-alive interval configured on the switch.
The cause was that the multicast address for all FIP E-nodes
was never added.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/fcoe')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 8ad126556249..03e1926f40b5 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -255,6 +255,7 @@ static int fcoe_netdev_config(struct fc_lport *lp, struct net_device *netdev) | |||
255 | rtnl_lock(); | 255 | rtnl_lock(); |
256 | memcpy(flogi_maddr, (u8[6]) FC_FCOE_FLOGI_MAC, ETH_ALEN); | 256 | memcpy(flogi_maddr, (u8[6]) FC_FCOE_FLOGI_MAC, ETH_ALEN); |
257 | dev_unicast_add(fc->real_dev, flogi_maddr, ETH_ALEN); | 257 | dev_unicast_add(fc->real_dev, flogi_maddr, ETH_ALEN); |
258 | dev_mc_add(fc->real_dev, FIP_ALL_ENODE_MACS, ETH_ALEN, 0); | ||
258 | rtnl_unlock(); | 259 | rtnl_unlock(); |
259 | 260 | ||
260 | /* | 261 | /* |