From patchwork Wed Aug 2 20:10:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Long Li X-Patchwork-Id: 9877541 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 120B060360 for ; Wed, 2 Aug 2017 20:16:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0431E286BB for ; Wed, 2 Aug 2017 20:16:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED378287FF; Wed, 2 Aug 2017 20:16:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9576A286BB for ; Wed, 2 Aug 2017 20:16:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753345AbdHBUOV (ORCPT ); Wed, 2 Aug 2017 16:14:21 -0400 Received: from a2nlsmtp01-04.prod.iad2.secureserver.net ([198.71.225.38]:36940 "EHLO a2nlsmtp01-04.prod.iad2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753047AbdHBUM1 (ORCPT ); Wed, 2 Aug 2017 16:12:27 -0400 Received: from linuxonhyperv.com ([107.180.71.197]) by : HOSTING RELAY : with SMTP id czzKd531E3vhKczzKdxf4B; Wed, 02 Aug 2017 13:11:26 -0700 x-originating-ip: 107.180.71.197 Received: from longli by linuxonhyperv.com with local (Exim 4.89) (envelope-from ) id 1dczzK-0005Ih-0B; Wed, 02 Aug 2017 13:11:26 -0700 From: Long Li To: Steve French , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org Cc: Long Li Subject: [[PATCH v1] 31/37] [CIFS] Add SMBD transport to SMB session context Date: Wed, 2 Aug 2017 13:10:42 -0700 Message-Id: <1501704648-20159-32-git-send-email-longli@exchange.microsoft.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1501704648-20159-1-git-send-email-longli@exchange.microsoft.com> References: <1501704648-20159-1-git-send-email-longli@exchange.microsoft.com> X-CMAE-Envelope: MS4wfF/hggb3KEnTtqzrFYu9HNg7B14VX7iTRjvqrNTjh6nM8kgP6S6qjfCHZDWMT8uL0WhLvA0wC5cZkWLtM/ea3PTvDR39ChUGNf7i6nFG5gd9IoYmYrAA X8NJW+GMkYrNYpSmigw8lMYyf2k3KGqU95RsdniLq5Ps/ekU9uF7W5VcRPe/HDOjx9w2evWMjP5SXpOG3kR53Ym886kE/WqyTc0Fw/mOrN4yZxMktJm8B2bF J91S4fN6lYLHmhoZtac39iNjCzGDQWKCX9tzeMy0YEqS9rM+hyfWhKirgS+94ZjGe7E+skuJIhuHiGFkghl+SwUI/U8giSEV0DOJ0FNaUn4= Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Long Li With the SMBD transport implemented, now add to the SMB session context. Now the upper layer can use SMBD transport in a SMB session. Signed-off-by: Long Li --- fs/cifs/cifsglob.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 20af553..413b011 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -581,6 +581,7 @@ inc_rfc1001_len(void *buf, int count) } struct TCP_Server_Info { + struct cifs_rdma_info *rdma_ses; struct list_head tcp_ses_list; struct list_head smb_ses_list; int srv_count; /* reference counter */