Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932400AbWEILzz (ORCPT ); Tue, 9 May 2006 07:55:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932399AbWEILzz (ORCPT ); Tue, 9 May 2006 07:55:55 -0400 Received: from rhun.apana.org.au ([64.62.148.172]:59408 "EHLO arnor.apana.org.au") by vger.kernel.org with ESMTP id S932397AbWEILzy (ORCPT ); Tue, 9 May 2006 07:55:54 -0400 From: Herbert Xu To: chrisw@sous-sol.org (Chris Wright) Subject: Re: [Xen-devel] [RFC PATCH 34/35] Add the Xen virtual network device driver. Cc: linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, Christian.Limpach@cl.cam.ac.uk, xen-devel@lists.xensource.com, netdev@vger.kernel.org, ian.pratt@xensource.com Organization: Core In-Reply-To: <20060509085201.446830000@sous-sol.org> X-Newsgroups: apana.lists.os.linux.kernel,apana.lists.os.linux.netdev,apana.lists.os.xen.devel User-Agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686)) Message-Id: Date: Tue, 09 May 2006 21:55:33 +1000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1063 Lines: 29 Hi Chris: Chris Wright wrote: > > +/** Send a packet on a net device to encourage switches to learn the > + * MAC. We send a fake ARP request. > + * > + * @param dev device > + * @return 0 on success, error code otherwise > + */ > +static int send_fake_arp(struct net_device *dev) I think we talked about this before. I don't see why Xen is so special that it needs its own gratuitous arp routine embedded in the driver. If this is needed at all (presumably for migration) then it should be performed by the management scripts which can send grat ARP packets just as easily. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/