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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62C4FC19F28 for ; Thu, 28 Jul 2022 03:10:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237847AbiG1DKk (ORCPT ); Wed, 27 Jul 2022 23:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237792AbiG1DKi (ORCPT ); Wed, 27 Jul 2022 23:10:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B70C0 for ; Wed, 27 Jul 2022 20:10:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AF31061997 for ; Thu, 28 Jul 2022 03:10:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB7D7C433D7; Thu, 28 Jul 2022 03:10:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658977836; bh=xsc4101MITosDPG+XsJiTmB7aDnKm+1lJbgwFybCko8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ruxSif9ofIgFbfuKDFdZuH6pxZ0A2WZ3L7FHE1tpJ7mcvJKW07oAcIwUg3G3I35Mg vRyMtKmCSKxgP8sZRpRrE1oISVn0B9fesSB1kgcYuhCIIlBYdxVJu9Y0A/YPy/9g4I /53uihHt5qh6C3pkMRD5CPtnkWXf8wboP7P1AQvSWy5DsAzQVguTL/320tqvYA1ARJ QP0iOFLDV+D3w7o5P0MkXtml83eSO38W+sKI8XKS3xWmz8iGlNzRZFYrzkCWL4gsmu BPj7sr/EHp45HkQePkOB0Mp/tSPxDvcb3FEzwiQmHWWrWKB1cPDtJJeioqg9cO/0ti mPZZBrmVEl0Hg== Date: Wed, 27 Jul 2022 20:10:34 -0700 From: Jakub Kicinski To: Cc: , , , , Edward Cree Subject: Re: [PATCH net-next v2 12/14] sfc: set EF100 VF MAC address through representor Message-ID: <20220727201034.3a9d7c64@kernel.org> In-Reply-To: <304963d62ed1fa5f75437d1f832830d7970f9919.1658943678.git.ecree.xilinx@gmail.com> References: <304963d62ed1fa5f75437d1f832830d7970f9919.1658943678.git.ecree.xilinx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 27 Jul 2022 18:46:02 +0100 ecree@xilinx.com wrote: > From: Edward Cree > > When setting the VF rep's MAC address, set the provisioned MAC address > for the VF through MC_CMD_SET_CLIENT_MAC_ADDRESSES. Wait.. hm? The VF rep is not the VF. It's the other side of the wire. Are you passing the VF rep's MAC on the VF? Ethernet packets between the hypervisor and the VF would have the same SA and DA.