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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E6B7C433F5 for ; Wed, 22 Sep 2021 19:48:08 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 89C8C60EFF for ; Wed, 22 Sep 2021 19:48:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 89C8C60EFF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93E93411EC; Wed, 22 Sep 2021 21:48:06 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 89E29411A8 for ; Wed, 22 Sep 2021 21:48:05 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3B16D5C0099; Wed, 22 Sep 2021 15:48:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 22 Sep 2021 15:48:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= vzLSweXKhZ+9BhT9Vk0SaZSyO0hM9+ut6fH7v8JGSFE=; b=dejrNMFqv8tFQLIX 721fL05AoSFGznBbc+l8g7jMep9LYqAeF/ZE1XnTymWHUpLMWzxQv+YiKZHhYRSm F3SZyg2U6AsYKWpbmivyHMD+iEv+nZtoOXVEwUEFqQeEbnwaaBgcOhyoAAuSI+z5 RX0nmjHV3A6fTPqfzo8Qhj8Nee6qVoJsFplAMLu/eM/xlXg3frNIQ12LIjMBuapp MdyJ7yspxh/wsCTdTdHE0MYTorH1bHDtF+xvausZ7awNQY3ZeT21P742mlQqz0Dp 8gSKHeMAXQmb1BFPu1SeEcnWJF6la9jZlnGleZtwwGhL/eGqbM8qjPTJaaTV71wk UoPVAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=vzLSweXKhZ+9BhT9Vk0SaZSyO0hM9+ut6fH7v8JGS FE=; b=qRIAxHHyKkEb1ZKnvmJyg1aLwPXoUuJ99cAUD+7xPxVZQis5QuWoFYxlO E3ITIqRluXNF4I+m3KTNXnUFkqYu38vjcxRX7vPwaWbDcNKbpUDiURhxO2kNmBMV BKgoYaefTztbt8qJHnhHG3i2+3Cae6DSshBCit7az7MpVRqZumFOPPUq/9imbTgI 2NoWR12xGoQ6RROI7YT7CnPDyJixV/y+w46Yj08xyQw9hPlIx/dhxpxNOrIsI0FK xmqmXc1BMLdN8Es6/86pTzU2+4xSAk+p8nLwnb0TRwm1XmQ3wsTQwILz5gCYDbCK UZuARrsnftK8rgg1LjjsNImt5vNQA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeijedgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Sep 2021 15:48:04 -0400 (EDT) From: Thomas Monjalon To: Raja Zidane Cc: dev@dpdk.org, Matan Azrad Date: Wed, 22 Sep 2021 21:48:03 +0200 Message-ID: <2350861.26DRcQjydO@thomas> In-Reply-To: <20210915000504.5660-3-rzidane@nvidia.com> References: <20210912163652.24983-2-rzidane@nvidia.com> <20210915000504.5660-1-rzidane@nvidia.com> <20210915000504.5660-3-rzidane@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH V3 2/5] common/mlx5: update new MMO HCA capabilities X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 15/09/2021 02:05, Raja Zidane: > New MMO HCA capabilities were added and others were renamed. > Align hca capabilities with new prm. > Add support in devx interface for changes in HCA capabilities. > > Signed-off-by: Raja Zidane > Acked-by: Matan Azrad > --- > --- a/drivers/common/mlx5/mlx5_devx_cmds.h > +++ b/drivers/common/mlx5/mlx5_devx_cmds.h > @@ -173,9 +173,14 @@ struct mlx5_hca_attr { > uint32_t log_max_srq; > uint32_t log_max_srq_sz; > uint32_t rss_ind_tbl_cap; > - uint32_t mmo_dma_en:1; > - uint32_t mmo_compress_en:1; > - uint32_t mmo_decompress_en:1; > + uint32_t mmo_dma_sq_en:1; > + uint32_t mmo_compress_sq_en:1; > + uint32_t mmo_decompress_sq_en:1; > + uint32_t mmo_dma_qp_en:1; > + uint32_t mmo_compress_qp_en:1; > + uint32_t mmo_decompress_qp_en:1; > + uint32_t mmo_regex_qp_en:1; > + uint32_t mmo_regex_sq_en:1; It does not compile: struct mlx5_hca_attr has no member named mmo_compress_en