[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170608.143913.800862231155819238.davem@davemloft.net>
Date: Thu, 08 Jun 2017 14:39:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nikolay@...ulusnetworks.com
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com,
sharpd@...ulusnetworks.com
Subject: Re: [PATCH net-next v2] net: ipmr: add getlink support
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Date: Wed, 7 Jun 2017 18:02:32 +0300
> Currently there's no way to dump the VIF table for an ipmr table other
> than the default (via proc). This is a major issue when debugging ipmr
> issues and in general it is good to know which interfaces are
> configured. This patch adds support for RTM_GETLINK for the ipmr family
> so we can dump the VIF table and the ipmr table's current config for
> each table. We're protected by rtnl so no need to acquire RCU or
> mrt_lock.
>
> Signed-off-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
> ---
> v2: use netlink attributes for all mrtable and vif fields, and set message
> type to RTM_NEWLINK
>
> The plan is to add full netlink control to ipmr via new/set/dellink later.
> Also this would allow us to dump any number of VIFs in the future when we
> remove the VIF device limit.
Applied, thanks Nikolay.
Powered by blists - more mailing lists