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 69CD4C3DA70 for ; Mon, 22 Jul 2024 15:10:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 22ACE605A4; Mon, 22 Jul 2024 15:10:37 +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 q4w1Q0nXXBdf; Mon, 22 Jul 2024 15:10:36 +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 smtp3.osuosl.org 758CD605A9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1721661036; bh=asjqe3+UnHy6pRUZD1T41HxBv6mLYhlKgHvH7W+blww=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=gCCvgfJOeVzBLWu+A3UMR5Q5oBOc1AdDXv30cA4k1I4HfnIbD19sxH+KwM1gWfbsO BFBw5/u7EqRwVFgO+FYfJHaLYF4m2p1stqqWic8xjVRz7v2Sp5jOHKXyarxegLuFXY nNX9xyDbC+oOyfXL1ztUxl2A4gzPufFo95eW7Lio/USRWbTsy9N8YAfSx0jwFKOoyQ e0MpnmqyZXiwEBowTeY7OW2+FgYsDDg0rcr6XOfZ2KWQbzgQUE7ukkGda44zcfquZT ncAYt+atLP5FE0I2FLPkK0Ayn2Pdre60pOtP3nwQVTzMG86tcY3vG1z1/yIcisfR4r W94hq60G5apoA== Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 758CD605A9; Mon, 22 Jul 2024 15:10:36 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 71A9B1BF31D for ; Mon, 22 Jul 2024 15:10:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6BEB5404F8 for ; Mon, 22 Jul 2024 15:10:34 +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 fBZkG2o8u6mP for ; Mon, 22 Jul 2024 15:10:33 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2604:1380:40e1:4800::1; helo=sin.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 68EE3404C2 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 68EE3404C2 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by smtp2.osuosl.org (Postfix) with ESMTPS id 68EE3404C2 for ; Mon, 22 Jul 2024 15:10:32 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id CC827CE0ACA; Mon, 22 Jul 2024 15:10:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEDDAC116B1; Mon, 22 Jul 2024 15:10:28 +0000 (UTC) Date: Mon, 22 Jul 2024 16:10:26 +0100 From: Simon Horman To: Ahmed Zaki Message-ID: <20240722151026.GQ715661@kernel.org> References: <20240710204015.124233-1-ahmed.zaki@intel.com> <20240710204015.124233-10-ahmed.zaki@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240710204015.124233-10-ahmed.zaki@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721661030; bh=96SKCm9hLa8Y4hSd6fuv/NVvVYKc1Vvns31N7ZLml68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IraDZLWaNwLijDWTMQ/Wy/zuLMeLRslSAditGmIZMpYriC2csOQdctZ2AYS4cSWEw jIs/zrHR6RTgxFSImf8t9BiDiQKNq7zJUoNSB20k9wmIA1A/hSKLJnzdDbS8HLPqFO kVB86Abtee7wJsO68zn3rgdTmFFbQc24eoXLqz2p5ImzzxFDhlWUV6/PIjLeoduhLT amFvDYOCCfPlX9Uwhgz04kWAlqhr/Zz6HlvpaM52u9KxmpCTnUGFRpOi9x/mOCCqod fxGJh3fx1j1K+3LfDfX92il/8wKDoQMGxtyBcbu7NJ1AylQkiAFCTJe3/2ygo11ZFf I5BMTAYvnR5UA== 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, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=IraDZLWa Subject: Re: [Intel-wired-lan] [PATCH iwl-next v3 09/13] virtchnl: support raw packet in protocol header 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: netdev@vger.kernel.org, anthony.l.nguyen@intel.com, Marcin Szycik , intel-wired-lan@lists.osuosl.org, Junfeng Guo Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Wed, Jul 10, 2024 at 02:40:11PM -0600, Ahmed Zaki wrote: > From: Junfeng Guo > > The patch extends existing virtchnl_proto_hdrs structure to allow VF > to pass a pair of buffers as packet data and mask that describe > a match pattern of a filter rule. Then the kernel PF driver is requested > to parse the pair of buffer and figure out low level hardware metadata > (ptype, profile, field vector.. ) to program the expected FDIR or RSS > rules. > > Reviewed-by: Marcin Szycik > Signed-off-by: Qi Zhang > Signed-off-by: Junfeng Guo > Signed-off-by: Ahmed Zaki 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 866231F954 for ; Mon, 22 Jul 2024 15:10:30 +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=1721661030; cv=none; b=OYQ88no03xpGWvRpd/BK8cwX24NvsODY74CLOmYlfxiPiQtpDfzHythZHY6UI7em685Y9ViM2SnYxD4Jebb01q486UisMVMqHbiwweJcnlHxfVt2ImW3p2FRalZbOmYpujy4X+AEkonuUwfLyl4r/RKoZ9eyoAjm52QbuAuXnXE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721661030; c=relaxed/simple; bh=96SKCm9hLa8Y4hSd6fuv/NVvVYKc1Vvns31N7ZLml68=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kjKqdDWvZBpN8vz/UhNdHkjGJpQb7YUZvgGc7oSidt/dKyfEuK+gSjNS328Sc9JswYtS2FrReTjYxj0SRdm5qfvRtw4HKVfQ77mpcizfEqNmQ2+otfL3mty9jR/UK0jJ22c8TNPVMkd9FKagdacILUGY2VH1EmEB41U7VW9m2qk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IraDZLWa; 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="IraDZLWa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEDDAC116B1; Mon, 22 Jul 2024 15:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721661030; bh=96SKCm9hLa8Y4hSd6fuv/NVvVYKc1Vvns31N7ZLml68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IraDZLWaNwLijDWTMQ/Wy/zuLMeLRslSAditGmIZMpYriC2csOQdctZ2AYS4cSWEw jIs/zrHR6RTgxFSImf8t9BiDiQKNq7zJUoNSB20k9wmIA1A/hSKLJnzdDbS8HLPqFO kVB86Abtee7wJsO68zn3rgdTmFFbQc24eoXLqz2p5ImzzxFDhlWUV6/PIjLeoduhLT amFvDYOCCfPlX9Uwhgz04kWAlqhr/Zz6HlvpaM52u9KxmpCTnUGFRpOi9x/mOCCqod fxGJh3fx1j1K+3LfDfX92il/8wKDoQMGxtyBcbu7NJ1AylQkiAFCTJe3/2ygo11ZFf I5BMTAYvnR5UA== Date: Mon, 22 Jul 2024 16:10:26 +0100 From: Simon Horman To: Ahmed Zaki Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, anthony.l.nguyen@intel.com, Junfeng Guo , Marcin Szycik Subject: Re: [PATCH iwl-next v3 09/13] virtchnl: support raw packet in protocol header Message-ID: <20240722151026.GQ715661@kernel.org> References: <20240710204015.124233-1-ahmed.zaki@intel.com> <20240710204015.124233-10-ahmed.zaki@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: <20240710204015.124233-10-ahmed.zaki@intel.com> On Wed, Jul 10, 2024 at 02:40:11PM -0600, Ahmed Zaki wrote: > From: Junfeng Guo > > The patch extends existing virtchnl_proto_hdrs structure to allow VF > to pass a pair of buffers as packet data and mask that describe > a match pattern of a filter rule. Then the kernel PF driver is requested > to parse the pair of buffer and figure out low level hardware metadata > (ptype, profile, field vector.. ) to program the expected FDIR or RSS > rules. > > Reviewed-by: Marcin Szycik > Signed-off-by: Qi Zhang > Signed-off-by: Junfeng Guo > Signed-off-by: Ahmed Zaki Reviewed-by: Simon Horman