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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2123EC25B75 for ; Fri, 31 May 2024 18:15:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id D94714242A; Fri, 31 May 2024 18:15:47 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id puXb9Qy4TCOq; Fri, 31 May 2024 18:15:47 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 211AE42418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1717179347; bh=P4Jar4elsIrTac0fDWy7PUfgRUAzuJ8CA/GPDTymtvs=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=3W4n4SOiDfPD+I5wDHiZ5feP77JV/JiUT4HB6UDn4GlLNEbDm/cuS94gxd6vechR6 XuEmFFU4DhuLNo75OHj2Fn+rkb9ZAzGSwMocWgVX/SqLQbnLkAz5Pt+VoiAoZcdt2c O4mObUpqlk2wVW5t4TNhjcqPll6jA/SNPf/5wvHDKutJX1uDIcfY4BXmA+mPOEHYie S5A+nDMBZM7y1/v2wb3LRJ20xLKGyXu7jDruc9PMBHwI8O0HvNqlCiuWEvkC7paCke aBz87S3JWSsLWj5qYKCkaWGq4PxExODW9hIbgg3i43g6GSsxS/kyNklyuN0Y4n67w7 oK6ZYBW3F5b3g== Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 211AE42418; Fri, 31 May 2024 18:15:47 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id CAB8C1BF36D for ; Fri, 31 May 2024 18:15:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C47B0606CB for ; Fri, 31 May 2024 18:15:44 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Ypjrv8qaSZjQ for ; Fri, 31 May 2024 18:15:44 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2604:1380:4641:c500::1; helo=dfw.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 33A8D606AA DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 33A8D606AA Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by smtp3.osuosl.org (Postfix) with ESMTPS id 33A8D606AA for ; Fri, 31 May 2024 18:15:44 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 120F461A77; Fri, 31 May 2024 18:15:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE1FFC116B1; Fri, 31 May 2024 18:15:39 +0000 (UTC) Date: Fri, 31 May 2024 19:15:37 +0100 From: Simon Horman To: Michal Swiatkowski Message-ID: <20240531181537.GI491852@kernel.org> References: <20240528043813.1342483-1-michal.swiatkowski@linux.intel.com> <20240528043813.1342483-7-michal.swiatkowski@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240528043813.1342483-7-michal.swiatkowski@linux.intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717179342; bh=ojbqQ4rQj8Z2yW3x5JqcO+0NbTOfLU9wZRZbY34oNd4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ODUiJLiUWJDMZ3zU457/PkLvLlTaEL5yeL/sjc6NSNx24gmI55S+ZFkHoE7iqO4AN YucnV2o0gTkaWAcH5iZbmlhW+8Q8ZqxxPi1r7uMG2qTQrjPuMU+gOvZ0XDbuXAFI+d jBOGy7dt3DZuO//KdS7G4eRufwYV5OkjYsi0VVtECQuT/O8D2/xuCElR4LaeqEX+/Y jx7yIPlpfrjnQEF2Mpj3RD5UZ020uU6zEj92mFCqOvsGLxMf8bPUWb/MfkEdSpaIEq qMtJ0ZZhao97svp9JGmJSSy61+cgTP+I/gx2yFdEoJRQv3V90nK3E2AiDzF6AKDYbt b5qmBRZT2Cw6g== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=ODUiJLiU Subject: Re: [Intel-wired-lan] [iwl-next v3 06/15] ice: base subfunction aux driver X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: shayd@nvidia.com, maciej.fijalkowski@intel.com, mateusz.polchlopek@intel.com, netdev@vger.kernel.org, jiri@nvidia.com, kalesh-anakkur.purayil@broadcom.com, michal.kubiak@intel.com, intel-wired-lan@lists.osuosl.org, pio.raczynski@gmail.com, sridhar.samudrala@intel.com, jacob.e.keller@intel.com, wojciech.drewek@intel.com, przemyslaw.kitszel@intel.com Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Tue, May 28, 2024 at 06:38:04AM +0200, Michal Swiatkowski wrote: > From: Piotr Raczynski > > Implement subfunction driver. It is probe when subfunction port is > activated. > > VSI is already created. During the probe VSI is being configured. > MAC unicast and broadcast filter is added to allow traffic to pass. > > Store subfunction pointer in VSI struct. The same is done for VF > pointer. Make union of subfunction and VF pointer as only one of them > can be set with one VSI. > > Reviewed-by: Jiri Pirko > Signed-off-by: Piotr Raczynski > Signed-off-by: Michal Swiatkowski Reviewed-by: Simon Horman