From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82213C433FF for ; Mon, 12 Aug 2019 01:35:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D8D7206A2 for ; Mon, 12 Aug 2019 01:35:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="e2O1LGGe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726717AbfHLBfB (ORCPT ); Sun, 11 Aug 2019 21:35:01 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:33324 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfHLBfB (ORCPT ); Sun, 11 Aug 2019 21:35:01 -0400 Received: by mail-ot1-f65.google.com with SMTP id q20so500255otl.0 for ; Sun, 11 Aug 2019 18:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MjYl6nZdTPiQvVVbZ0W23UBFBzuiCwUjhIUqDO/Zg3A=; b=e2O1LGGe971lIacBWMw3xiJyJAMt8oV3IP2tb2v5hsnhuLZYU6QjAHxWrvwoGpA3Zy 1bl+9YUva9pDlzrFUjsJcIjSd8Ag1bFN+5EtBy8eX9yhaJOslI7/YyHkQexIMmP2+TIr boW6DzS0RGjRzkICiKM9fZCafSW8f625t/0NO6MK4el2DTtPQ5TqxnsnelDj3gtRbUkZ Ztjcz7sHJisyn/7pWdNi/TkND+ge0ZWWoyqVVitgeCCfjVXfjeAoC7bWTmIUmw6qFyDq ZXZW5cB6hppFtyC9Q6yTlOoy0JT2WBrHI/ifWc5UQ+IQ8EMro6Dx+7fr3Wq+/kdioYEO +Xgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MjYl6nZdTPiQvVVbZ0W23UBFBzuiCwUjhIUqDO/Zg3A=; b=kFVjMR6ncGpbumqkhLyvv1BmkMP1Av3ZvgTcbAcCgkrClAblGD7hNS9s559UcjPk3H +hroj3mlGgWIe2zsEU5XfYyIjh8X2CGtu7UyMex1DVDT1eFL1jux+dQsv6GgTMsnVCIS pIDxXV1tXuM/i5cB/8lYY49be7BCu/Dv+oISIDMVB7J+1I8QXmEL02y1pEBXD5fAYCMo WFzWEd7Q4KzdgByrzjeb4ub2UUmu/oFzoat4Xb8vs/nfBDAG46ibHWYaw6BVRoCKdoiz Cl5c6J7QQO1Q3vO31peUFGG0shtzPA4LLZd/juXcZq2mO5pD+uem8R9cViZaZ5pJiMCR +f2Q== X-Gm-Message-State: APjAAAWoDEXoztGFK2vXFCOyREZtsURCOpNZ+8+6wYfdZJeiAeJyuRax SB2xDM6fDl8TbxTbwUVpQhc= X-Google-Smtp-Source: APXvYqyRxWL0tG2BQeWUGHcBurcVSp3IZo0QqxfDQf8/nTsrVAxL8hJk8MIf7/gHCkTUV/o6cerNvQ== X-Received: by 2002:a6b:5a12:: with SMTP id o18mr17860238iob.159.1565573700135; Sun, 11 Aug 2019 18:35:00 -0700 (PDT) Received: from ?IPv6:2601:282:800:fd80:1576:e0d9:527d:c4bb? ([2601:282:800:fd80:1576:e0d9:527d:c4bb]) by smtp.googlemail.com with ESMTPSA id j5sm78216134iom.69.2019.08.11.18.34.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Aug 2019 18:34:59 -0700 (PDT) Subject: Re: [patch net-next rfc 3/7] net: rtnetlink: add commands to add and delete alternative ifnames To: Jiri Pirko Cc: Roopa Prabhu , netdev , David Miller , Jakub Kicinski , Stephen Hemminger , dcbw@redhat.com, Michal Kubecek , Andrew Lunn , parav@mellanox.com, Saeed Mahameed , mlxsw References: <20190719110029.29466-1-jiri@resnulli.us> <20190719110029.29466-4-jiri@resnulli.us> <20190809062558.GA2344@nanopsycho.orion> <5e7270a1-8de6-1563-4e42-df37da161b98@gmail.com> <20190810063047.GC2344@nanopsycho.orion> From: David Ahern Message-ID: Date: Sun, 11 Aug 2019 19:34:55 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190810063047.GC2344@nanopsycho.orion> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 8/10/19 12:30 AM, Jiri Pirko wrote: > Could you please write me an example message of add/remove? altnames are for existing netdevs, yes? existing netdevs have an id and a name - 2 existing references for identifying the existing netdev for which an altname will be added. Even using the altname as the main 'handle' for a setlink change, I see no reason why the GETLINK api can not take an the IFLA_ALT_IFNAME and return the full details of the device if the altname is unique. So, what do the new RTM commands give you that you can not do with RTM_*LINK?