Re: [PATCH rdma-next 2/2] IB/rxe: Cache dst in QP instead of getting it for each send

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

 



On Thu, Apr 20, 2017 at 9:01 PM, Jason Gunthorpe
<jgunthorpe@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Apr 20, 2017 at 08:55:56PM +0300, Leon Romanovsky wrote:
>> From: yonatanc <yonatanc@xxxxxxxxxxxx>
>>
>> In RC QP there is no need to resolve the outgoing interface
>> for each packet, as this does not change during QP life cycle.
>
> At first blush that seems wonky, shouldn't a QP act like a TCP socket
> and be able to migrate around when things are reconfigured?

The condition below, which is in the patch, answers this question, doesn't it?

  if (!dst || !(dst->obsolete && dst->ops->check(dst, 0))) {

>
> IIRC there is some kind of dst cache scheme you should use instead?
>
> Jason
--
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