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 smtp1.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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6DC08C27C55 for ; Sat, 8 Jun 2024 12:58:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3B21D81FB7; Sat, 8 Jun 2024 12:58:14 +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 Eh2FVZmmqtay; Sat, 8 Jun 2024 12:58:13 +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 smtp1.osuosl.org 85BBA82101 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1717851493; bh=S4ANwUopIwfwga+XjJvydrRMBAZcW3eOAkZyMom4emk=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=b6xXAL3XHoxf2UI2HqwdcrGSpFrhaFAo9CPfSQ5HjgO7S5vn6quOpADgnu6ML4FOU MMICaNuIuv6rmQwUIqJb5xS8/XomJRmf0BEX3fZXephUIRdDfp+RQNFGv0MGA2c3oI SvW90X6MO0X3/VPhe+KHRL0d6rD61IDpxnB8JM0+qEMh9DZfYv+XJOotjxk1OeD23a ZBg8oeZLhvrxBtL7LVu2gZREM0GJP7zhYWLvCoWyM5xTBZz8BO3M1YeEn6MdIShMSz k/ylVenoF0o3nVW6awbq4hJ3yu9+vlQKv+KXIQ8kD4d2zvBKfOpuqq5toNYFGRADuW wzrcHKH1xfUEg== Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 85BBA82101; Sat, 8 Jun 2024 12:58:13 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id ED41A1BF47E for ; Sat, 8 Jun 2024 12:58:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E720C40207 for ; Sat, 8 Jun 2024 12:58:11 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 8nDFRSw8f3cr for ; Sat, 8 Jun 2024 12:58:11 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=145.40.73.55; helo=sin.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org CC83E401EB DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org CC83E401EB Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by smtp2.osuosl.org (Postfix) with ESMTPS id CC83E401EB for ; Sat, 8 Jun 2024 12:58:10 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 9DC42CE1D29; Sat, 8 Jun 2024 12:58:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C69F8C2BD11; Sat, 8 Jun 2024 12:58:06 +0000 (UTC) Date: Sat, 8 Jun 2024 13:58:04 +0100 From: Simon Horman To: Mateusz Polchlopek Message-ID: <20240608125804.GW27689@kernel.org> References: <20240604131400.13655-1-mateusz.polchlopek@intel.com> <20240604131400.13655-5-mateusz.polchlopek@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240604131400.13655-5-mateusz.polchlopek@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717851488; bh=PRZGzRzXBZNnTRWY00hkQeI11V75QSfAxDrfYrcrius=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r0gAAVdinC5OSMDSUyxdUGCjZXTpEYE5rEk7L3QUZpOxwl7tstOZgqBRgguwtS3Xk +SRFy61xtrHQfphDEAxZfbVfvd3bT6Pd+UVulV7PtyIBAlaQccaGi1nCmQRA8kXRSf rhKojg0HEMkZAlB1u5mKrd3OgUm9akXWp66V3auMF31jgWF1+tedk8vNq9tM7332dl CYG995UWiPv+NvVjJLRL+6F/fkrpOkA+tcBasQwg4OBRtiL0lQi+OB6I3KncWm1AF5 8ikrv3j326CLO1FJVpSEFQPiAsgOWdIYRnLpboC3Crk2tIP5oS7rFqix1xFUPWsn5J VQ4kPymKoo+AQ== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=r0gAAVdi Subject: Re: [Intel-wired-lan] [PATCH iwl-next v7 04/12] iavf: add support for negotiating flexible RXDID format 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: Jacob Keller , netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, Wojciech Drewek Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Tue, Jun 04, 2024 at 09:13:52AM -0400, Mateusz Polchlopek wrote: > From: Jacob Keller > > Enable support for VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC, to enable the VF > driver the ability to determine what Rx descriptor formats are > available. This requires sending an additional message during > initialization and reset, the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS. This > operation requests the supported Rx descriptor IDs available from the > PF. > > This is treated the same way that VLAN V2 capabilities are handled. Add > a new set of extended capability flags, used to process send and receipt > of the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS message. > > This ensures we finish negotiating for the supported descriptor formats > prior to beginning configuration of receive queues. > > This change stores the supported format bitmap into the iavf_adapter > structure. Additionally, if VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC is enabled > by the PF, we need to make sure that the Rx queue configuration > specifies the format. > > Signed-off-by: Jacob Keller > Reviewed-by: Wojciech Drewek > Co-developed-by: Mateusz Polchlopek > Signed-off-by: Mateusz Polchlopek 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 5A2B2178362 for ; Sat, 8 Jun 2024 12:58:08 +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=1717851488; cv=none; b=j+wF88mu6eH/cuM6+dH4ZlpNZizIWqzBANI0bvkSzKjyBNET9WS+wHXKxz9bXbwQip3x5qPlQpcBEerSI232U3psgxuCRip9xKMbxPkbPVqixzD+TQNFK+NdvtT6cXKroNbr/bqqp8rB0RhWhj0SlsposwmZOyVK2yFPwHSmk4c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717851488; c=relaxed/simple; bh=PRZGzRzXBZNnTRWY00hkQeI11V75QSfAxDrfYrcrius=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BPgNcS/JTe00vXALvocbSrwRH6954yoJAXmzR/RyPVMMjnZ80Ku6Rjyl8RkF2H4kWmFV0+o4bjhwp7wS7rJpFKhkC9gtzlZAdENMvYV2ot6EpXqW7lmHZ+x/vdKC/JsptRaw/7sGxQEWWRrNbXs17ObIG7YpBdFQrXlMLyTU5H4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=r0gAAVdi; 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="r0gAAVdi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C69F8C2BD11; Sat, 8 Jun 2024 12:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717851488; bh=PRZGzRzXBZNnTRWY00hkQeI11V75QSfAxDrfYrcrius=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r0gAAVdinC5OSMDSUyxdUGCjZXTpEYE5rEk7L3QUZpOxwl7tstOZgqBRgguwtS3Xk +SRFy61xtrHQfphDEAxZfbVfvd3bT6Pd+UVulV7PtyIBAlaQccaGi1nCmQRA8kXRSf rhKojg0HEMkZAlB1u5mKrd3OgUm9akXWp66V3auMF31jgWF1+tedk8vNq9tM7332dl CYG995UWiPv+NvVjJLRL+6F/fkrpOkA+tcBasQwg4OBRtiL0lQi+OB6I3KncWm1AF5 8ikrv3j326CLO1FJVpSEFQPiAsgOWdIYRnLpboC3Crk2tIP5oS7rFqix1xFUPWsn5J VQ4kPymKoo+AQ== Date: Sat, 8 Jun 2024 13:58:04 +0100 From: Simon Horman To: Mateusz Polchlopek Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, Jacob Keller , Wojciech Drewek Subject: Re: [Intel-wired-lan] [PATCH iwl-next v7 04/12] iavf: add support for negotiating flexible RXDID format Message-ID: <20240608125804.GW27689@kernel.org> References: <20240604131400.13655-1-mateusz.polchlopek@intel.com> <20240604131400.13655-5-mateusz.polchlopek@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: <20240604131400.13655-5-mateusz.polchlopek@intel.com> On Tue, Jun 04, 2024 at 09:13:52AM -0400, Mateusz Polchlopek wrote: > From: Jacob Keller > > Enable support for VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC, to enable the VF > driver the ability to determine what Rx descriptor formats are > available. This requires sending an additional message during > initialization and reset, the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS. This > operation requests the supported Rx descriptor IDs available from the > PF. > > This is treated the same way that VLAN V2 capabilities are handled. Add > a new set of extended capability flags, used to process send and receipt > of the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS message. > > This ensures we finish negotiating for the supported descriptor formats > prior to beginning configuration of receive queues. > > This change stores the supported format bitmap into the iavf_adapter > structure. Additionally, if VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC is enabled > by the PF, we need to make sure that the Rx queue configuration > specifies the format. > > Signed-off-by: Jacob Keller > Reviewed-by: Wojciech Drewek > Co-developed-by: Mateusz Polchlopek > Signed-off-by: Mateusz Polchlopek Reviewed-by: Simon Horman