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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 D2F10C06510 for ; Tue, 2 Jul 2019 10:02:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A354B2173E for ; Tue, 2 Jul 2019 10:02:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562061777; bh=O9n424RhOAa9AWJXCzVny9UfLRQGWfbA2fFVxFbl6Xg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=JKSwSETxo7RrJIS1VfPsW7YI31cgr+4ck/1QGPLkS/tLOGVsueasO7OvIiOG8ahBn goAwLXLmUtS7Nw/c/vSWFCgE6TKb22RcMTiR/2i1hQLqmgzh2VKGBN2AxUCKz0cmr4 jS2rLtt7pgGGRljCcgPQe7VcjdmfnJt6+uG2QWVI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfGBKC4 (ORCPT ); Tue, 2 Jul 2019 06:02:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:39076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbfGBKC4 (ORCPT ); Tue, 2 Jul 2019 06:02:56 -0400 Received: from localhost (unknown [37.142.3.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B4A920665; Tue, 2 Jul 2019 10:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562061776; bh=O9n424RhOAa9AWJXCzVny9UfLRQGWfbA2fFVxFbl6Xg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PxnDNRL5DtE9Xos5fO6tW6Xkt+BOOVEBLRxkzCT0wouf+P+w5C3W/EnBo/HoLRK7y jD/mb/rTNOTuGqWaULOHpcu2nk6FnbDvVPadFx3OXhZDAqIGuZK0GQtYy/loCrM7xi zecF7FH9uMGUYgO1vb1UWafEpyqVqjxNdsMQwRls= From: Leon Romanovsky To: Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , RDMA mailing list , Majd Dibbiny , Mark Zhang , Saeed Mahameed , linux-netdev Subject: [PATCH mlx5-next v5 01/17] net/mlx5: Add rts2rts_qp_counters_set_id field in hca cap Date: Tue, 2 Jul 2019 13:02:30 +0300 Message-Id: <20190702100246.17382-2-leon@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190702100246.17382-1-leon@kernel.org> References: <20190702100246.17382-1-leon@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Mark Zhang Add rts2rts_qp_counters_set_id field in hca cap so that RTS2RTS qp modification can be used to change the counter of a QP. Signed-off-by: Mark Zhang Reviewed-by: Majd Dibbiny Acked-by: Saeed Mahameed Signed-off-by: Leon Romanovsky --- include/linux/mlx5/mlx5_ifc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index e3c154b573a2..16348528fef6 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -1028,7 +1028,9 @@ struct mlx5_ifc_cmd_hca_cap_bits { u8 cc_modify_allowed[0x1]; u8 start_pad[0x1]; u8 cache_line_128byte[0x1]; - u8 reserved_at_165[0xa]; + u8 reserved_at_165[0x4]; + u8 rts2rts_qp_counters_set_id[0x1]; + u8 reserved_at_16a[0x5]; u8 qcam_reg[0x1]; u8 gid_table_size[0x10]; -- 2.20.1