RE: [PATCH for-next V2 05/11] IB/core: Add rdma_network_type to wc

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

 



Moni Shoua asked:



> but how? all you have in hand is the sgid which can appear several

> times in the GID table in different indices.


Step back and review the context.

Adding an extra field to the WC is *not* going to redesign the hardware.

Anything that software can do in the verbs library you can do yourself.

The justification for including something in the work completion would
have
to be that the field was something almost always desired so that the it
made
sense to figure it out for everyone, even those that did not need it.

If this is a tricky calculation that would call for a library utiity
routine
to do it, not performing it on every completion.

--
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