From patchwork Tue Jul 7 08:22:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaetan Rivet X-Patchwork-Id: 1324198 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=u256.net Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B1G1V5FQqz9sRK for ; Tue, 7 Jul 2020 18:33:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5AEC788EBB; Tue, 7 Jul 2020 08:33:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w1LKK59QSLiH; Tue, 7 Jul 2020 08:33:43 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id B193988B1E; Tue, 7 Jul 2020 08:33:43 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9F404C0893; Tue, 7 Jul 2020 08:33:43 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6B3B4C016F for ; Tue, 7 Jul 2020 08:33:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5A4EA89817 for ; Tue, 7 Jul 2020 08:33:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pgdeKmFeuEFY for ; Tue, 7 Jul 2020 08:33:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by hemlock.osuosl.org (Postfix) with ESMTPS id BDE41897BB for ; Tue, 7 Jul 2020 08:33:40 +0000 (UTC) Received: from relay5-d.mail.gandi.net (unknown [217.70.183.197]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 35D883AC6FB for ; Tue, 7 Jul 2020 08:22:48 +0000 (UTC) X-Originating-IP: 90.92.205.40 Received: from inocybe.home (lfbn-idf2-1-1144-40.w90-92.abo.wanadoo.fr [90.92.205.40]) (Authenticated sender: grive@u256.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 96CF11C001E for ; Tue, 7 Jul 2020 08:22:42 +0000 (UTC) From: Gaetan Rivet To: dev@openvswitch.org Date: Tue, 7 Jul 2020 10:22:32 +0200 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200610113447.z2osbxikvbqhzviv@u256.net> References: <20200610113447.z2osbxikvbqhzviv@u256.net> MIME-Version: 1.0 Subject: [ovs-dev] [PATCH v1 0/2] netdev-dpdk: support changing VF MAC X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Hello Ilya, Following your suggestion, here is a small patch adding the ability to configure the MAC address of DPDK VF representors. As said off-ML, I've used the options column instead of other_configs, as it allows avoid having the DPDK representor concept bleed out of netdev-dpdk. There is only a small compilation fix on your first patch (rte_eth_addr type instead of eth_addr), otherwise it is the same. Thank you for your help and reading, Gaetan Rivet (1): netdev-dpdk: Add option to configure VF MAC address. Ilya Maximets (1): netdev-dpdk: Add ability to set MAC address. Documentation/topics/dpdk/phy.rst | 12 +++++ NEWS | 2 + lib/netdev-dpdk.c | 78 +++++++++++++++++++++++++++++-- vswitchd/vswitch.xml | 6 +++ 4 files changed, 93 insertions(+), 5 deletions(-)