From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-he1eur01on0062.outbound.protection.outlook.com ([104.47.0.62]:23616 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750794AbdKUPOZ (ORCPT ); Tue, 21 Nov 2017 10:14:25 -0500 Date: Tue, 21 Nov 2017 08:14:09 -0700 From: Jason Gunthorpe To: Mark Bloch Cc: Leon Romanovsky , Doug Ledford , linux-rdma@vger.kernel.org, Daniel Jurgens , Paul Moore , Don Dutile , stable@vger.kernel.org Subject: Re: [PATCH rdma-rc 1/2] IB/core: Only enforce security for InfiniBand Message-ID: <20171121151409.GA29826@mellanox.com> References: <20171121102618.31216-1-leon@kernel.org> <20171121102618.31216-2-leon@kernel.org> <4f5268b5-e5b6-a7d9-2096-70b4ae8facaf@mellanox.com> <20171121132215.GU18825@mtr-leonro.local> <9bb92ec4-d29f-55b7-d3ba-33bfe451ea6c@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9bb92ec4-d29f-55b7-d3ba-33bfe451ea6c@mellanox.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Nov 21, 2017 at 03:56:19PM +0200, Mark Bloch wrote: > I just gave mlx4 as an example, but I was talking more about the ability of the RDMA > subsystem to support mixed port types, so in this case, if in the future a vendor > will come with an ib_device with 2 ports, one is IB and one is iWARP bad things will happen. That will never be allowed. Even mixing roce and IB on the same device should be banned, IMHO. If APM does not work between the ports then they do not belong on the same device. Jason