Queue Key (Q_Key)

The Problem

An unauthorized RD or UD QP may attempt to deliver a message to a remote QP.

A Little Background

Why This Isn't a Problem for RC and UC

When using the RC or UC service types, a local QP of either of these types can send messages only to the remote QP that it was initially connected to. By definition, any message transfer request posted to its SQ will be sent to the remote QP identified in the local QP's Context. The target QP is therefore not supplied as a parameter in WRs posted to the local QP's SQ. The Q_Key protection mechanism prevents a local QP from sending messages to various remote QPs that it isn't authorized to access. Since RC and UC QPs cannot exhibit this type of behavior, the Q_Key protection mechanism ...

Get InfiniBand Network Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.