The hardware arp cache is updated by inet event notifiers. Therefore, no arp cache update is needed at netdev_open.
Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]> --- diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index 2ff4c41..496024a 100644 --- a/drivers/infiniband/hw/nes/nes_nic.c +++ b/drivers/infiniband/hw/nes/nes_nic.c @@ -260,16 +260,6 @@ static int nes_netdev_open(struct net_device *netdev) } - if (netdev->ip_ptr) { - struct in_device *ip = netdev->ip_ptr; - struct in_ifaddr *in = NULL; - if (ip && ip->ifa_list) { - in = ip->ifa_list; - nes_manage_arp_cache(nesvnic->netdev, netdev->dev_addr, - ntohl(in->ifa_address), NES_ARP_ADD); - } - } - nes_write32(nesdev->regs+NES_CQE_ALLOC, NES_CQE_ALLOC_NOTIFY_NEXT | nesvnic->nic_cq.cq_number); nes_read32(nesdev->regs+NES_CQE_ALLOC); _______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg