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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 EEF8FCA0FF9 for ; Wed, 27 Aug 2025 14:19:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C2093607BA; Wed, 27 Aug 2025 14:19:55 +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 FVGiie7z-nnx; Wed, 27 Aug 2025 14:19:55 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 45810607C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1756304395; bh=iwo2hpA9bNkrnPvBK/oYTlR5K7tDo4ELkCqdisIxHFE=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RmqUJsCw8z88WvXyelTrmOpSeZUJvf95eitQTBEG/ZRX+kxgecaLvONvyIGaqRBgq 2w0SZSp4uneTzkuUddDsHNfimPzeZmT44TjoCMka64BMp5rLpjGfJQgBnOWm5SwOvi t7PDwAKus+Mk6EfLYOlD89YuloUBpDfV3OFoeSJA8uXp7LrwK7QjUgOQsV6DNYWXjw E1OGUz7tQz4IKdzmjcG55E5SygW0ETOhiNUVqVEDodSdXGderfQCLRoAFgKK4RDGvE Wz1Eb9DA6gjzELaOjFq1smvKk2JBZkNJ39l7UvOisawkXlI1qlJgbQt7VAeJudEtsv t0v6IuP7kRr6A== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 45810607C2; Wed, 27 Aug 2025 14:19:55 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id 861CD17D for ; Wed, 27 Aug 2025 14:19:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7660D80BAC for ; Wed, 27 Aug 2025 14:19:53 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id S1nNFY8_srid for ; Wed, 27 Aug 2025 14:19:53 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org EE69580BA9 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org EE69580BA9 Received: from tor.source.kernel.org (tor.source.kernel.org [IPv6:2600:3c04:e001:324:0:1991:8:25]) by smtp1.osuosl.org (Postfix) with ESMTPS id EE69580BA9 for ; Wed, 27 Aug 2025 14:19:52 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 1217C60266; Wed, 27 Aug 2025 14:19:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBDF5C4CEF0; Wed, 27 Aug 2025 14:19:48 +0000 (UTC) Date: Wed, 27 Aug 2025 15:19:46 +0100 From: Simon Horman To: Emil Tantilov Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, Aleksandr.Loktionov@intel.com, przemyslaw.kitszel@intel.com, anthony.l.nguyen@intel.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, decot@google.com, willemb@google.com, joshua.a.hay@intel.com, madhu.chittim@intel.com Message-ID: <20250827141946.GC5652@horms.kernel.org> References: <20250822035248.22969-1-emil.s.tantilov@intel.com> <20250822035248.22969-2-emil.s.tantilov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250822035248.22969-2-emil.s.tantilov@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756304391; bh=7Fjd3YmS5c4fVv5YW2uewpd700LeWpLhFBANrfL+JxM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=de/8ANp0nKe3x0iZQO1ror8mFuAYVHw7KCtG9bXkJnO4i/xRnCEHMH7j8y47SG4ks AmpbmxfAERWrd3cwKrss7H7Sq2oQAYZj8+4yVfKeaJovuLlt5geMgfz4hlodeYd5r4 yEO0fhciCDcIXR6eD10+FQnq2qlH67N8iD0tsFWXrIgRUfWUwFF9IByQLEy/+AqnJS cz8kLr3w7lvR69T3RgGaglpAyyIZHtrk7UQSH/lWlqs36U0yHkF/HLmQtv3d5wqydS CZ0xgfM8Gerrf9IsLzrVWS59/ggC/9/OpA/bdHkBVv0deN4SgO+4z2VjOJYoBFun+f daU8hxfHjtvlw== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=de/8ANp0 Subject: Re: [Intel-wired-lan] [PATCH iwl-net 1/2] idpf: convert vport state to bitmap X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Thu, Aug 21, 2025 at 08:52:47PM -0700, Emil Tantilov wrote: > Convert vport state to a bitmap and remove the DOWN state which is > redundant in the existing logic. There are no functional changes aside > from the use of bitwise operations when setting and checking the states. > Removed the double underscore to be consistent with the naming of other > bitmaps in the header and renamed current_state to vport_is_up to match > the meaning of the new variable. > > Reviewed-by: Przemek Kitszel > Reviewed-by: Aleksandr Loktionov > Reviewed-by: Chittim Madhu > Signed-off-by: Emil Tantilov Reviewed-by: Simon Horman From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4401C2F3C0E for ; Wed, 27 Aug 2025 14:19:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756304392; cv=none; b=EfA+xPMBkZ6J+FEU+u2BSGUzK33NT+ELige1iR2ysk0tw7SWSzBemIcHfxPAnnv5HvcNs4Sti/d0OlKxjzphom/tvP6ohUGcf4vxDsDYCu9SzgYPSwDkJyrgK6RrwqOMrpCMNw9gQ2w1mrD2q8N4oLD2spMsRxcuMhnHdWPZnMo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756304392; c=relaxed/simple; bh=7Fjd3YmS5c4fVv5YW2uewpd700LeWpLhFBANrfL+JxM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IUBQ4vydob2EmXgBUcvJzclTnY1S2n7QKHjI0yHlAksRQ6AXci2u9TLfFeriwHNvdTIYbVXE4596lxCxU2RRHUuSkQD98ztA1Zpvuv00WnOZ4pNsGi5TUOiEukE1UqNz4qEDaVrNleyHr5f2U9Uin4mtrjYikCaUxPvfxbdmLKA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=de/8ANp0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="de/8ANp0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBDF5C4CEF0; Wed, 27 Aug 2025 14:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756304391; bh=7Fjd3YmS5c4fVv5YW2uewpd700LeWpLhFBANrfL+JxM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=de/8ANp0nKe3x0iZQO1ror8mFuAYVHw7KCtG9bXkJnO4i/xRnCEHMH7j8y47SG4ks AmpbmxfAERWrd3cwKrss7H7Sq2oQAYZj8+4yVfKeaJovuLlt5geMgfz4hlodeYd5r4 yEO0fhciCDcIXR6eD10+FQnq2qlH67N8iD0tsFWXrIgRUfWUwFF9IByQLEy/+AqnJS cz8kLr3w7lvR69T3RgGaglpAyyIZHtrk7UQSH/lWlqs36U0yHkF/HLmQtv3d5wqydS CZ0xgfM8Gerrf9IsLzrVWS59/ggC/9/OpA/bdHkBVv0deN4SgO+4z2VjOJYoBFun+f daU8hxfHjtvlw== Date: Wed, 27 Aug 2025 15:19:46 +0100 From: Simon Horman To: Emil Tantilov Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, Aleksandr.Loktionov@intel.com, przemyslaw.kitszel@intel.com, anthony.l.nguyen@intel.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, decot@google.com, willemb@google.com, joshua.a.hay@intel.com, madhu.chittim@intel.com Subject: Re: [PATCH iwl-net 1/2] idpf: convert vport state to bitmap Message-ID: <20250827141946.GC5652@horms.kernel.org> References: <20250822035248.22969-1-emil.s.tantilov@intel.com> <20250822035248.22969-2-emil.s.tantilov@intel.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250822035248.22969-2-emil.s.tantilov@intel.com> On Thu, Aug 21, 2025 at 08:52:47PM -0700, Emil Tantilov wrote: > Convert vport state to a bitmap and remove the DOWN state which is > redundant in the existing logic. There are no functional changes aside > from the use of bitwise operations when setting and checking the states. > Removed the double underscore to be consistent with the naming of other > bitmaps in the header and renamed current_state to vport_is_up to match > the meaning of the new variable. > > Reviewed-by: Przemek Kitszel > Reviewed-by: Aleksandr Loktionov > Reviewed-by: Chittim Madhu > Signed-off-by: Emil Tantilov Reviewed-by: Simon Horman