From patchwork Sat Jun 22 18:00:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis Kirjanov X-Patchwork-Id: 11011361 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 85D156C5 for ; Sat, 22 Jun 2019 18:00:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7764A28765 for ; Sat, 22 Jun 2019 18:00:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BAE82880B; Sat, 22 Jun 2019 18:00:53 +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 20F5728765 for ; Sat, 22 Jun 2019 18:00:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726310AbfFVSAv (ORCPT ); Sat, 22 Jun 2019 14:00:51 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:45812 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfFVSAs (ORCPT ); Sat, 22 Jun 2019 14:00:48 -0400 Received: by mail-ed1-f66.google.com with SMTP id a14so14938365edv.12 for ; Sat, 22 Jun 2019 11:00:47 -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=FLf3IyfJ1VYMzJgCflOEKzJtxEF9klU2hqrRafarqLq51L3pP+EAg6aUWiv1vx1uyW HlWKpSLMjMsQxBU7PpK9+xVVTem0i3i/Em+ndm22JYPkysoE/ZrEuIFWYeGsVo/i732P t2LcwubTAyH7c4gW253uaShu+GTuSK+r+J2q9NjdDYHkg7BFf0eQ/CQTN/SnBbjxA/SW cRe1MqwaFLNTLEkFR51C8wmDc1KQxcO+QWT8wYEHdvnJIj/aYiDuRHO0PCEWWlQbsv8Y qWRZU+aw+K7jZ6OhYkuKX7tnyD7By8xbM4opnxfFpvE7f5FqC02ML0dn0J0pHwWtG+nS czRw== 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=joInllbIbFhwpAPdKP92rKOpPjdji6z3OMC7n0eBwDPcCUNVkN01Qo5O5grVq/Wun1 KoIIkyPni8lLUJWHkCUvXEvvWTE7b73Y1CWCGnkIuBNrmqJBs9XGZAn78r+qbAii0ELv 0gjjdY4urCL9/j/bzmwxF2WIm88BzajcC/jO62kvRBeW/TnQgXNcj7V9vcfYSxJNWJHb 5hoCAF1x3RHvtbtz8LvakFsDeCnmd1uJUUGI3ry81YfM1xR38eu2/5TZfiVmvu8Zi66l 5c6YuFf5Nyo7ysNyUG74ANrGPrfQyutC9+wWrbQDukCj3qAAaBp0R6ecK9VFPuw2anZ3 2Fhg== X-Gm-Message-State: APjAAAX6aPyAQZEoiNbmUgLxxSphMqqJqHz5qjBjJIr2+vA3altF0E/K ea4Wro0JuRESyFRtEyIyPsNAxg== X-Google-Smtp-Source: APXvYqyjgncSed+ayGuSbUV16y6JUYqnCUlwUX+TEnKQZaL4n3RbGLo2gnmODtddEUn/3Q0K3oULqA== X-Received: by 2002:a05:6402:134c:: with SMTP id y12mr53190421edw.96.1561226447015; Sat, 22 Jun 2019 11:00:47 -0700 (PDT) Received: from tegmen.arch.suse.de (charybdis-ext.suse.de. [195.135.221.2]) by smtp.gmail.com with ESMTPSA id a8sm1955560edt.56.2019.06.22.11.00.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Jun 2019 11:00:46 -0700 (PDT) From: Denis Kirjanov X-Google-Original-From: Denis Kirjanov To: stephen@networkplumber.org, dsahern@gmail.com Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, dledford@redhat.com, mkubecek@suse.cz, Denis Kirjanov Subject: [PATCH iproute2-next v3 2/2] uapi: update if_link.h Date: Sat, 22 Jun 2019 20:00:35 +0200 Message-Id: <20190622180035.40245-2-dkirjanov@suse.com> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20190622180035.40245-1-dkirjanov@suse.com> References: <20190622180035.40245-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 */