Message ID | 1498500429-22557-12-git-send-email-Michal.Kalderon@cavium.com (mailing list archive) |
---|---|
State | RFC |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 66A9660209 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 26 Jun 2017 18:13:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 653DA28520 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 26 Jun 2017 18:13:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59625285ED; Mon, 26 Jun 2017 18:13:24 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 AF6B128520 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 26 Jun 2017 18:13:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751450AbdFZSNS (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Mon, 26 Jun 2017 14:13:18 -0400 Received: from mail-by2nam03on0073.outbound.protection.outlook.com ([104.47.42.73]:28960 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751425AbdFZSNM (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Mon, 26 Jun 2017 14:13:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qxBEK88Wtwox4mPmkXBjUu8HxIUBheqEOvio7lCSzLQ=; b=JBy+rTG5aU2ZpufQ+vxL7/lpP2XlSXuIbgga8Bm1i2KwLFUrPUor0IIf/5wqqy4nzm2c5XXPOUMuV15tkfbd2Krdx8oAiow/bcr8Wj0n1qRqLeIwDKZFFq6/qgtDf/KoswZLZbuyVn0mx84zEHxyOcyV51TkSw2MfT9zm1n2Y5M= Received: from CY1PR07CA0002.namprd07.prod.outlook.com (10.166.202.12) by BN1PR07MB421.namprd07.prod.outlook.com (10.141.59.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Mon, 26 Jun 2017 18:12:55 +0000 Received: from BY2FFO11FD046.protection.gbl (2a01:111:f400:7c0c::111) by CY1PR07CA0002.outlook.office365.com (2a01:111:e400:c60a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Mon, 26 Jun 2017 18:12:55 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BY2FFO11FD046.mail.protection.outlook.com (10.1.15.170) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1199.9 via Frontend Transport; Mon, 26 Jun 2017 18:12:55 +0000 Received: from lb-tlvb-michal.il.qlogic.com.com (10.185.6.89) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Mon, 26 Jun 2017 11:12:53 -0700 From: Michal Kalderon <Michal.Kalderon@cavium.com> To: <michal.kalderon@cavium.com>, <ram.amrani@cavium.com>, <yuval.mintz@cavium.com>, <ariel.elior@cavium.com>, <davem@davemloft.net>, <netdev@vger.kernel.org>, <linux-rdma@vger.kernel.org>, <dledford@redhat.com> CC: Michal Kalderon <Michal.Kalderon@cavium.com>, Yuval Mintz <Yuval.Mintz@cavium.com>, Ariel Elior <Ariel.Elior@cavium.com> Subject: [RFC 11/19] qed: Add iWARP protocol support in context allocation Date: Mon, 26 Jun 2017 21:07:01 +0300 Message-ID: <1498500429-22557-12-git-send-email-Michal.Kalderon@cavium.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1498500429-22557-1-git-send-email-Michal.Kalderon@cavium.com> References: <1498500429-22557-1-git-send-email-Michal.Kalderon@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(39450400003)(39850400002)(39400400002)(39410400002)(39840400002)(2980300002)(428002)(189002)(199003)(9170700003)(107886003)(77096006)(2950100002)(6666003)(5660300001)(356003)(50226002)(36756003)(76176999)(2906002)(478600001)(50986999)(4326008)(38730400002)(72206003)(2201001)(47776003)(106466001)(101416001)(105586002)(86362001)(54906002)(8676002)(8936002)(81166006)(305945005)(189998001)(50466002)(48376002)(5003940100001)(104016004)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR07MB421; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:ovrnspm; MX:1; A:1; PTR:50-232-66-26-static.hfc.comcastbusiness.net; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD046; 1:oDcn6lRK+HKfoj0vQyRghrlsFLcHfdEs7o24hfR5DD9WRH7zVcCHsW+08Z4+c/DXuhjvjN8Eqi4oyte3FabfWSQwY8gE3EpsxgD3oRADpvxPZdDYJWhTp1AlOg497wNM9j/uTnuYY8pjHmXyvPRT79q0mZadUGitt1ROOVbHud8j09PEG7dPSvCCwHV0GtYCSRxtZyaJ10T6Fu/ttv/OmLAmFQlW6zTev+1oyHvp7TD3TYNwp5bVQKTzjewhTQpqag2a7y5EQzubQy0bEPTWw9TP2gNg6c8LnHLF9KnkqZtTH/ZKO6RHaBRgnnHDAulSQ1wVDOhzMLw3iGygkYTwM4OVe6l101v3V5ej3FKM13VUtbyWBCM7bT2R41xCnEKqP84NGwA6fl8T+xQqKr5jMAaVu57fdzqcsH7jwQRdV+AmBGOZ1mg3WP5l00TE6UIgeLhgcYK0EB68suL/0Mtz8WTTdzGOcmwOHHiKyoYOVP5bOllT7KhrTS7V1AnFHZ5mzV0zv7uog8e8EY/7xnXwvfW1jZ8kINTcEbdHIeYL4R/JpPl+j7+lYXKZ6sMmbCzN1JEJUhIZs4JxVO+RRi+K5QSXacTKfimT3dac7r2S8y9zc1OiMhYVtsRB79b0ccOmq7xicU0t15+dfOjzBTMyUxs+sIWJC4eIuDp1EO+YutWLnt5EyjK13ll0tajGv4LoEVL6v5w8pf9vMLNb99x2FH6yj5zwWxN7Aq5DzEhVq+k+TKbiWqH5IIjHa9Ip67gyXUsGiSZIa0SqV7ucJylYECcjJWfzsGIrkQNtUcnDMRfSCBPKPOCbWnwr0cvyNhuekcqmhV3UVhepUHGXUIUR+NKUohwRqapKJq5NmgIE1lI= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 556da091-da69-4595-e767-08d4bcbef7c3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506067)(300135500095); SRVR:BN1PR07MB421; X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB421; 3:ooJnldiZqC6qnFl1SLao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Kdl9Mcb+L2UWU43qjQbqgfqtqTdJcsWo+enzGWk27LDQxp+VgDWRRNphIh3uGyclNDUptX16abowYaU2sFbT3P6xEdrqky19cdU1yEUiAzr92FN372orvWS01A84cdWopNy7cXYO2OzW1YWl/Fnuy8VD2toqwciljvTXZHD1SLf4OM+DTFAquiE9QK2y4bvsHK3ShT0WBxLcTrdP9nbCSRIZhtVU1uuMvMVuvuek0yym8f9AwUnlA3Ko45dbtwz9+dJaNmOnz/EeUzKcmAK+871dweKiF9H1P60F315rQKWvrTZstkPnQDVDwi76pdbrese+Urkolc7XFUUu7r2ZhbLsOpsfaKOA46faiI0/oVFmDNdTlyMP8tPJIc9E2s/ip8b7AYkSKAdQnwh6it09MjhlvI3wRamQVxPs496ltq/xKgEIJXCyR2TNDxkKd+q2sM4e4/gwFTKR7NBYUiVR+htRhHyyL6J8Thcj+opRS8 X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB421; 20:jGF/M8w2o0arYhwiNO4ZclKRA7gZkKJevbaB4wqxfHr+V9VVRCNIUfVk+5CvhhxWo32s1SFMVezfmT5ZUDbDNKsKee38CKVeHwWLn22miTPzzsohu3UxqanrrgDrirUIgZjZrNraMTkPY6Ua44cSJ3s7xvv5KbEIJiE1RXjDTD1X0lhC8aB5NXUv57j6JP2vHKCrRzCyvmDNmLouxzj3aGe3CVJl+P87561sQQ56+GgyCnypxy4YynKXoa5B6JLoR1lEzLmUZC9CjnR1gcjrFK/jTru+Jjii3UffQaImewbRCEWHZdfFIBbF03TYJle3lS8MhqmRuNwQX2K25vNRGuaROKDKR3+bTWnyCY0+Xu/X4Au9zDaDblw407bo34PGkjsD/l1Pe/jHPq5IY5TpB1wFHfgdlZuTMWLjrC07CVlwSIj7bokdUhszQRtsbzB+m1E1XNsm7XEeO3U/PZSsLAZmg4x9Q6bgG2vX/aOMojhfNtBFI0Rd0epuGUjFfp5m X-Microsoft-Antispam-PRVS: <BN1PR07MB421B9BB7031AE05A249F88A88DF0@BN1PR07MB421.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(20161123558100)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN1PR07MB421; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN1PR07MB421; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR07MB421; 4:cdcl636Y270W2iGR9/tEkUnWGYZN1Na3iBO3elqtso/?= =?us-ascii?Q?SuIzyMRGOse/81R5V6oQ/WdT8zC7qIUBcuHDHR7pyUb1n+oQ9jKxfC0Gj9YS?= =?us-ascii?Q?RncsfE4PEH+AEVKrq4Ykej7P6f4b4JTPxClqEzUzX6AE18OrsDugI779q/QF?= =?us-ascii?Q?S20SgOGB+bjBRzA2GBwuu8Rfy58XmQQQ9zeBWzGicG53/s+RwPS+rwHDwtUP?= =?us-ascii?Q?ztt5rKu/t1qcGYN8TkGLmLbTWizTh5XgDz2Z5TwAn0FQAm+8l+/tccNvcmKs?= =?us-ascii?Q?mxOBdoIONlS1GxC5E6ZsQu08TxmVrG4FmsOWKtFTJURNOrb2UGLmb6gVII8Y?= =?us-ascii?Q?7E1b2u2ZGsqrWFyzd1ar0WXW5nYn2ajIUkGVWponePGqtXBGdNPLJ15JDZS5?= =?us-ascii?Q?FPfCrpeNE7QK/YnCcRG8ffGqlVWxmQcxv2rZOQO+9su2oklrH8/R92QNCYop?= =?us-ascii?Q?CPgyRqqZlm52Jcn8a0ITqGiZh9OwtIbtrtDY2hZki2wVqd0zrn0hlY/UCVx8?= =?us-ascii?Q?cBg3qJDR9zqyZ24GCOSQOKOeuHCnqzgKda6IMmb5347cv/GFfKamG1p2o0rD?= =?us-ascii?Q?8r5Buyf1uId0+ihYm+J3rgJhz61UWusKsomqewZqGv1/iVZXmhXb013Tx1Md?= =?us-ascii?Q?LljnMi/2pPTXAyZtUOGUtRz4zByup+675FWF4BCi9T6C+jYjqmTSvWByoomj?= =?us-ascii?Q?ISt3/SC4P5RLg9wjaMEnIhunDlJlHfU9dblHlkgMg2zJsTBF1a4ixO7w8zg1?= =?us-ascii?Q?SmUz2oSj1SdUZiK3nUldx6W4BZlxAex6RUN/fxbV5oo6TYhYztuwt03AVYjY?= =?us-ascii?Q?6RAXQbyvi1h5LQV2qMRsz971sZQcMtfosshWrez0wEteB38CJVWa3vzHaIhe?= =?us-ascii?Q?eiQEAaiPfY/hCFT6pjdZ2J8ua2IQjEkjpghklCnll1YHSwvVlFOMeBYPF/J5?= =?us-ascii?Q?eL3gC862+6URpqV5gxdZsT2RLvUX4b7EqU+iQYY8L0ZWx7fkJ8asZcKZAUmx?= =?us-ascii?Q?N7Rp0HZYJHuqQzh07VLWG893mQL5UYt+LQgugohTdEILjpWdbA+0t7ChSO6I?= =?us-ascii?Q?mwQ9S0MhplEizrMYvKpeLLckjP99fzBh4RsKGvaqFAvDbvVidX2Cunfko4+X?= =?us-ascii?Q?r6Zu/36YGnayIFIc0o6/tNoFghnEmQ4/2hZ/Va0USs0Iu5OEYnI6iVzXdpAM?= =?us-ascii?Q?+KX2uyJjP8aCllMfzopCD5uQPf1gjOU6R4/sDgmqLzruJdRSMD1LvSgPxe1/?= =?us-ascii?Q?iJB3Au6+OssPza22qHUmTMq320G7NvIX6+y8ekBXTkMJnVssE0xx/fKFs3Q?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 0350D7A55D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR07MB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exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2017 18:12:55.0517 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR07MB421 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/net/ethernet/qlogic/qed/qed_cxt.c b/drivers/net/ethernet/qlogic/qed/qed_cxt.c index 38716f7..af106be 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_cxt.c +++ b/drivers/net/ethernet/qlogic/qed/qed_cxt.c @@ -246,14 +246,16 @@ struct qed_cxt_mngr { static bool src_proto(enum protocol_type type) { return type == PROTOCOLID_ISCSI || - type == PROTOCOLID_FCOE; + type == PROTOCOLID_FCOE || + type == PROTOCOLID_IWARP; } static bool tm_cid_proto(enum protocol_type type) { return type == PROTOCOLID_ISCSI || type == PROTOCOLID_FCOE || - type == PROTOCOLID_ROCE; + type == PROTOCOLID_ROCE || + type == PROTOCOLID_IWARP; } static bool tm_tid_proto(enum protocol_type type) @@ -2068,6 +2070,11 @@ static void qed_rdma_set_pf_params(struct qed_hwfn *p_hwfn, num_srqs = min_t(u32, 32 * 1024, p_params->num_srqs); switch (p_hwfn->hw_info.personality) { + case QED_PCI_ETH_IWARP: + /* Each QP requires one connection */ + num_cons = min_t(u32, IWARP_MAX_QPS, p_params->num_qps); + proto = PROTOCOLID_IWARP; + break; case QED_PCI_ETH_ROCE: num_qps = min_t(u32, ROCE_MAX_QPS, p_params->num_qps); num_cons = num_qps * 2; /* each QP requires two connections */ @@ -2103,6 +2110,8 @@ int qed_cxt_set_pf_params(struct qed_hwfn *p_hwfn, u32 rdma_tasks) qed_cxt_set_proto_cid_count(p_hwfn, PROTOCOLID_CORE, core_cids, 0); switch (p_hwfn->hw_info.personality) { + case QED_PCI_ETH_RDMA: + case QED_PCI_ETH_IWARP: case QED_PCI_ETH_ROCE: { qed_rdma_set_pf_params(p_hwfn,