[Open-FCoE] [PATCH] fcoe: fip: add multicast filter to receive FIP advertisements.
jeykholt at cisco.com
Sat Apr 18 00:32:12 UTC 2009
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 at cisco.com>
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 ff887c9..3f0d0b2 100644
@@ -253,6 +253,7 @@ static int fcoe_netdev_config(struct fc_lport *lp, struct net_device *netdev)
memcpy(flogi_maddr, (u8) FC_FCOE_FLOGI_MAC, ETH_ALEN);
dev_unicast_add(fc->real_dev, flogi_maddr, ETH_ALEN);
+ dev_mc_add(fc->real_dev, FIP_ALL_ENODE_MACS, ETH_ALEN, 0);
More information about the devel