From: Atzm Watanabe Subject: Re: [PATCH v3] vxlan: Allow setting destination to unicast address. Date: Tue, 16 Apr 2013 21:50:44 +0900 Message-ID: <878v4ir657.wl%atzm@stratosphere.co.jp> References: <87hajcm7ym.wl%atzm@stratosphere.co.jp> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: David Stevens , "David S. Miller" , netdev@vger.kernel.org, netdev-owner@vger.kernel.org, Stephen Hemminger , Cong Wang To: Mike Rapoport Return-path: Received: from mail-pa0-f45.google.com ([209.85.220.45]:54283 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754712Ab3DPNGa (ORCPT ); Tue, 16 Apr 2013 09:06:30 -0400 Received: by mail-pa0-f45.google.com with SMTP id kl13so341146pab.4 for ; Tue, 16 Apr 2013 06:06:30 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: At Tue, 16 Apr 2013 09:46:36 +0300, Mike Rapoport wrote: > > On Mon, Apr 15, 2013 at 11:53 PM, David Stevens wrote: > > netdev-owner@vger.kernel.org wrote on 04/12/2013 05:09:05 AM: > > > >> From: Atzm Watanabe > > > >> Signed-off-by: Atzm Watanabe > >> --- > > > > If this is turned into a vxlan_rdst, it should check for other > > attributes to fill that-- PORT, VNI, IFINDEX-- with approprate > > default values if not present. > > > > Overall, this patch looks ok to me as far as it goes, but I think > > it'd be more useful if it were more generic; that is, if it supported > > everything an fdb can. > > I've just sent an rfc patch that is slightly more generic version of > Atzm Watanabe work (1). It makes the "default destination" a list of > destinations rather than a single entry. > If the approach seems Ok, I can extend it to do "everything an fdb can". > > > (1) http://thread.gmane.org/gmane.linux.network/265871 For more generalization, I think that "group_head" should replace "gaddr" and related struct members, and "group_head" should allow multicast addresses, and then multicast join/leave should be done. I've trying to replace "gaddr" with "defaut destination" as vxlan_rdst (but it can be set single destination yet). I'll send the patch soon. Could you review it? Thanks.