From patchwork Thu Jun 20 09:02:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis Kirjanov X-Patchwork-Id: 11006189 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 02DDA76 for ; Thu, 20 Jun 2019 09:03:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5F0F285E1 for ; Thu, 20 Jun 2019 09:03:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA4DA28623; Thu, 20 Jun 2019 09:03:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E94A928613 for ; Thu, 20 Jun 2019 09:03:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726394AbfFTJDA (ORCPT ); Thu, 20 Jun 2019 05:03:00 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:34779 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726468AbfFTJC7 (ORCPT ); Thu, 20 Jun 2019 05:02:59 -0400 Received: by mail-ed1-f67.google.com with SMTP id s49so3650574edb.1 for ; Thu, 20 Jun 2019 02:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-powerpc-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HNmoLH7L65zh+oviWZRmLVKzaZLwx+ZIkWckjpUyKBQ=; b=qnaFRngisyT+p14PuQM4uTC8dlxFiXIfU6jhp7Cwm2GDz6fgwVmQt8USkBDUT9Ux95 L1xy6efGE6QX/urt3iDy8AkQY9e0rp6dzWbjonUY8fW69+l5UovSuqt+APkg2MRZ/vax ZToLBDjPMXcvoLE3x4JCXrn4nq3ZmQp2Gg/cQwe/0MJbVu3oFmvGCflWisu10SPdO9rz 3Ch4QLir3pcuVONevW3GpvAhUm7AO8Cf8T5gA0Zc00A6ti2K2s4ITCI3oFQU79TXOAHo ntIvsahdv/hv2/2QAKy9u2VPAeoy0pWCtp1vFHcvhjzF/uUxk+F7Edz4Dz+6Eq9RY5Sk iuRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HNmoLH7L65zh+oviWZRmLVKzaZLwx+ZIkWckjpUyKBQ=; b=aPAD7x7pIl40TGQsew62SpoJ9UvaN41Q7rmeRZw9RXDeHwm92hefDkSKUddYZWgeMh NMY6yF2xKXWhpTnvf3UiE6ZOk7NtzMaV1SiX7BoahfN8lJnbbKzIgOTNIlxllGFRWyH+ itbS/Gqy71yWp9yd5npQGfptELAe5+BZYipVckBlyq71zFfqcx/N7IUy58cfHB+0+q6o pOTWHQQbeC7Edz37X7lYEfnMqASfo2yWxYZlSikLoSA5RGijNxZfOIVh333IB4hTQy3P fy0Fb2n2LRIfK+iruI3X/UWfW4+ZrvO8wY8G9VLbQ5llLHBYhicnb1/BGWESZrc7uFDo mxcQ== X-Gm-Message-State: APjAAAX5SD9T7Gmz0wE+73ZOV/Mgm//QAhTyLADE1XpAPISGodI4rcBQ 3Viy7SwkO0BJQgGjBuU6ygrIVA== X-Google-Smtp-Source: APXvYqzrbhv+xcfbMgnz6jmUlvVpz6aC2jzgDXXjRbBQJJaUWmHpbKIPoK1CcFCy4e77AdJLom+Oqg== X-Received: by 2002:a17:906:158c:: with SMTP id k12mr187614ejd.83.1561021378154; Thu, 20 Jun 2019 02:02:58 -0700 (PDT) Received: from tegmen.arch.suse.de (nat.nue.novell.com. [195.135.221.2]) by smtp.gmail.com with ESMTPSA id i18sm3765803ede.65.2019.06.20.02.02.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 02:02:57 -0700 (PDT) From: Denis Kirjanov X-Google-Original-From: Denis Kirjanov To: stephen@networkplumber.org Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, dledford@redhat.com, mkubecek@suse.cz, Denis Kirjanov Subject: [PATCH iproute2-next v2 2/2] uapi: update if_link.h Date: Thu, 20 Jun 2019 11:02:49 +0200 Message-Id: <20190620090249.106704-2-dkirjanov@suse.com> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20190620090249.106704-1-dkirjanov@suse.com> References: <20190620090249.106704-1-dkirjanov@suse.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP update if_link.h to commit 75345f888f700c4ab2448287e35d48c760b202e6 ("ipoib: show VF broadcast address") Signed-off-by: Denis Kirjanov --- include/uapi/linux/if_link.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index bfe7f9e6..5f271d84 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -692,6 +692,7 @@ enum { IFLA_VF_IB_NODE_GUID, /* VF Infiniband node GUID */ IFLA_VF_IB_PORT_GUID, /* VF Infiniband port GUID */ IFLA_VF_VLAN_LIST, /* nested list of vlans, option for QinQ */ + IFLA_VF_BROADCAST, /* VF broadcast */ __IFLA_VF_MAX, }; @@ -702,6 +703,10 @@ struct ifla_vf_mac { __u8 mac[32]; /* MAX_ADDR_LEN */ }; +struct ifla_vf_broadcast { + __u8 broadcast[32]; +}; + struct ifla_vf_vlan { __u32 vf; __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */