Re: [PATCH rdma-next 14/15] IB/mlx5: Don't advertise RAW QP support in dual port mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/3/2018 2:39 PM, Or Gerlitz wrote:
> On Wed, Jan 3, 2018 at 10:35 PM, Daniel Jurgens <danielj@xxxxxxxxxxxx> wrote:
>> On 12/25/2017 3:17 AM, Or Gerlitz wrote:
>>> On Mon, Dec 25, 2017 at 9:16 AM, Leon Romanovsky <leonro@xxxxxxxxxxxx> wrote:
>>>> On Mon, Dec 25, 2017 at 12:16:15AM +0200, Or Gerlitz wrote:
>>>>> On Sun, Dec 24, 2017 at 2:57 PM, Leon Romanovsky <leon@xxxxxxxxxx> wrote:
>>>>>> From: Daniel Jurgens <danielj@xxxxxxxxxxxx>
>>>>>>
>>>>>> When operating in dual port RoCE mode RAW QPs are not supposed
>>>>>> to work on the slave port.
>>>>> why?
>>>> HW create flow table restriction.
>>> cryptic to me, either put a proper explanation on the V2 change log
>>> for this patch
>>> so we can review it then or explain it here if you want a review on V1
>> We don't report RAW QP support on a per port basis.  It's per device.
>> The user doesn't know which port is the master/slave, so we shouldn't
>> support RAW QP at all in this mode. I'll update the commit message to state that.
> in mlx4 we do have IB device with two ports and RAW QP is supported,
> what is different there?

mlx4 has a completely different HW architecture.  It's 2 ports on 1 PCI function.  This feature doesn't do that for mlx5, there are still 2 PCI functions.  It uses steering rules to route RDMA traffic arriving at the 2nd port to resources in the domain of the 1st port. RDMA traffic is easy to identify and steer accordingly, generic traffic over a Raw QP is not.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux