From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH net-next v1 1/2] bridge: export port_no and port_id via IFA_INFO_DATA Date: Sat, 01 Dec 2012 11:53:43 +0800 Message-ID: <1354334023.9680.4.camel@cr0> References: <1354269514-1863-1-git-send-email-amwang@redhat.com> <20121130075254.14aac5ce@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, Herbert Xu , Jesper Dangaard Brouer , Thomas Graf , "David S. Miller" To: Stephen Hemminger Return-path: In-Reply-To: <20121130075254.14aac5ce@nehalam.linuxnetplumber.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bridge-bounces@lists.linux-foundation.org Errors-To: bridge-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org On Fri, 2012-11-30 at 07:52 -0800, Stephen Hemminger wrote: > I don't think these are necessary. The device is already available and > the relationship > can be determined from other messages. This is what RSTP daemon does. > Rethinking about it, I think we can just put port->dev->ifindex instead of port->port_no in the netlink message, so patch 1/2 is not needed at more. Thanks!