From: Atzm Watanabe Subject: Re: [PATCH] vxlan: Allow setting unicast address to the group address Date: Thu, 11 Apr 2013 15:27:42 +0900 Message-ID: <87obdlmvj5.wl%atzm@stratosphere.co.jp> References: <87txnen4y4.wl%atzm@stratosphere.co.jp> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: netdev@vger.kernel.org To: Cong Wang Return-path: Received: from mail-da0-f47.google.com ([209.85.210.47]:39027 "EHLO mail-da0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752350Ab3DKG2N (ORCPT ); Thu, 11 Apr 2013 02:28:13 -0400 Received: by mail-da0-f47.google.com with SMTP id s35so549014dak.34 for ; Wed, 10 Apr 2013 23:28:13 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: At Thu, 11 Apr 2013 04:05:01 +0000 (UTC), Cong Wang wrote: > > On Wed, 10 Apr 2013 at 08:52 GMT, Atzm Watanabe wrote: > > This patch allows setting unicast address to the VXLAN group address. > > It allows that VXLAN can be used as peer-to-peer tunnel without > > multicast. > > > > Then GROUP is confusing, please pick another name and attribute. OK, I agreed. But simply adding another name and attribute also means that a VXLAN interface can have multiple "last resort". So I'll try to fix as below: 1) Replace "gaddr" by "daddr", in struct vxlan_dev. 2) Add IFLA_VXLAN_REMOTE apart from IFLA_VXLAN_GROUP. 3) If IFLA_VXLAN_REMOTE and IFLA_VXLAN_GROUP are specified at a time, vxlan_validate() will return an error. If you have other better ideas, please let me know. Thanks.