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=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,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 115D9C43381 for ; Sun, 31 Mar 2019 16:45:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBAA720882 for ; Sun, 31 Mar 2019 16:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554050723; bh=oRTNMfdlaTV93ipCglG+sYuEBkTCKFOUBFaCQc+5qPM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=kGGDA9lxFB/7hoOB7ZE9ExMYzm1elU3v/ly7s6imAkF/jh/nholMHDSe0vB3lJttn Gl51BVHAcsb9bE7Mv0hBeJQC7BjR4mTBRkA6NN1R9X8YI4HYVh6F1LBFVQ8BaFGuDm OZZSJukMoBXqRPMtPFdvzp33t5pCMaXel7r8BLd4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731392AbfCaQpW (ORCPT ); Sun, 31 Mar 2019 12:45:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:41616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731237AbfCaQpW (ORCPT ); Sun, 31 Mar 2019 12:45:22 -0400 Received: from localhost (unknown [77.138.135.184]) (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 B695920856; Sun, 31 Mar 2019 16:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554050721; bh=oRTNMfdlaTV93ipCglG+sYuEBkTCKFOUBFaCQc+5qPM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hVUMOkdE+L5LVySA06w9OmGI36qNnTU3B6UiKdrBOH0G8EOWuk6v1rl9dvZACEGG6 ZnC765CstP9Bm/bv24d8GODV6Izy0LGbxAjI9Ov/IBezx7KSy3dEfMtgDOEDNAXyB5 V8SYxefa8sTcvTHFMcxMJse14HUzmj8ARmaeXBYY= From: Leon Romanovsky To: Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , RDMA mailing list , Ariel Levkovich , Eli Cohen , Mark Bloch , Saeed Mahameed , linux-netdev Subject: [PATCH mlx5-next 6/8] net/mlx5: Expose TIR ICM address in command outbox Date: Sun, 31 Mar 2019 19:44:48 +0300 Message-Id: <20190331164450.23618-7-leon@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190331164450.23618-1-leon@kernel.org> References: <20190331164450.23618-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: Ariel Levkovich Adding the TIR ICM address to the create_tir command outbox through which the device reports the ICM address of the newly created TIR. The TIR address can be used for direct attachment to a steering rule in SW managed steering mode. Signed-off-by: Ariel Levkovich Reviewed-by: Eli Cohen Reviewed-by: Mark Bloch Signed-off-by: Leon Romanovsky --- include/linux/mlx5/mlx5_ifc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index c2a558d58067..688b6172cbd5 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -6899,14 +6899,14 @@ struct mlx5_ifc_create_tis_in_bits { struct mlx5_ifc_create_tir_out_bits { u8 status[0x8]; - u8 reserved_at_8[0x18]; + u8 icm_address_63_40[0x18]; u8 syndrome[0x20]; - u8 reserved_at_40[0x8]; + u8 icm_address_39_32[0x8]; u8 tirn[0x18]; - u8 reserved_at_60[0x20]; + u8 icm_address_31_0[0x20]; }; struct mlx5_ifc_create_tir_in_bits { -- 2.20.1