From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 29ECDA0555; Thu, 26 May 2022 11:54:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9D4F42670; Thu, 26 May 2022 11:54:35 +0200 (CEST) Received: from mail-108-mta68.mxroute.com (mail-108-mta68.mxroute.com [136.175.108.68]) by mails.dpdk.org (Postfix) with ESMTP id A092440E78 for ; Thu, 26 May 2022 11:54:33 +0200 (CEST) Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta68.mxroute.com (ZoneMTA) with ESMTPSA id 180ffc9fd8d000c327.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Thu, 26 May 2022 09:54:29 +0000 X-Zone-Loop: 0a44776dcb307b373eee61ed08b786aa5e743d8b46f9 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Type:MIME-Version:Message-ID:Date:In-reply-to:Subject:Cc:To: From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9nTIv+FzaxUR+e/egOcsOQ5oL1ss/uCxjvK4bfWgG7g=; b=FP4oX/zh4XDC7LUqDbDvhD5084 TnykI+QX15bcWd8RgXDQCByavt2Sj3ANVbt52YekSnaSShXwivGVZX3zqNCNELmhh4mkLbR/u5AgV jL/owo+JOzcxVF+RDDbhsSJdjd9OJuXD+yT+S4yHNxVHcKD6IYKfXx5hD45yewltZkw7WfC62JGFB f8PhAHRCoE/q2qpBTY6xf94obEwecVuPnK+Fh2X2Lwhwhx5L3gy75EylaTBUSHOiYBC/RjJXpckfl 5Jvgaf5MbLH7qt5olp6iqCVIYxc3uk61Zbq7SP+5Lc7roT6TCkDs/6oZtC8pcbAIxa+nso8fQTzZ2 S9RtPtAw==; References: <20220526084550.243121-1-ivan.malov@oktetlabs.ru> <20220526084550.243121-2-ivan.malov@oktetlabs.ru> User-agent: mu4e 1.4.15; emacs 27.1 From: Ray Kinsella To: Ivan Malov Cc: dev@dpdk.org, Andrew Rybchenko , Andy Moreton Subject: Re: [PATCH 2/3] common/sfc_efx/base: manage VNIC MAC address by MCDI handle In-reply-to: <20220526084550.243121-2-ivan.malov@oktetlabs.ru> Date: Thu, 26 May 2022 10:54:25 +0100 Message-ID: <87tu9cbovi.fsf@mdr78.vserver.site> MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: mdr@ashroe.eu X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Ivan Malov writes: > The board admin may need to assign a MAC address to a guest > VNIC identified by its MCDI handle. Provide an API for that. > > In the case when a libefx-based driver is used at the guest, > it will need to check its MAC address using the symmetrical > API if the admin has tweaked it by means of its representor. > > Signed-off-by: Ivan Malov > Reviewed-by: Andrew Rybchenko > Reviewed-by: Andy Moreton > --- > drivers/common/sfc_efx/base/ef10_nic.c | 9 ++- > drivers/common/sfc_efx/base/efx.h | 21 ++++- > drivers/common/sfc_efx/base/efx_mcdi.c | 101 +++++++++++++++++++++++++ > drivers/common/sfc_efx/version.map | 2 + > 4 files changed, 127 insertions(+), 6 deletions(-) > Acked-by: Ray Kinsella