IB_QP_PORT
IB_QP_QKEY | IB_QP_PORT;
if (attr_mask & IB_QP_PORT) {
attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
if (attr_mask & IB_QP_PORT) {
if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) {
attr_mask &= ~IB_QP_PORT;
if ((attr_mask & IB_QP_PORT) &&
if ((attr_mask & IB_QP_PORT) && (ibqp->qp_type == IB_QPT_RAW_PACKET) &&
int p = attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT))
mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY | IB_QP_PORT;
IB_QP_PORT, NULL);
case IB_QP_PORT:
if (attr_mask & IB_QP_PORT)
attr_mask & IB_QP_PORT ? attr->port_num : qp->port,
u8 port_num = (attr_mask & IB_QP_PORT ? attr->port_num :
if (attr_mask & IB_QP_PORT)
if ((attr_mask & IB_QP_PORT) &&
port = attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
if (attr_mask & IB_QP_PORT) {
attr_mask & IB_QP_PORT ? attr->port_num : qp->port))
if (attr_mask & IB_QP_PORT)
if ((attr_mask & IB_QP_PORT) &&
IB_QP_PKEY_INDEX | IB_QP_PORT;
*qp_attr_mask |= IB_QP_PORT;
*qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT;
if ((cmd->base.attr_mask & IB_QP_PORT) &&
if (((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT))
== (IB_QP_AV | IB_QP_PORT)) &&
if ((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT))
cmd->base.attr_mask |= IB_QP_PORT;
if (cmd->base.attr_mask & IB_QP_PORT)
[IB_QPT_RC] = (IB_QP_PORT |
[IB_QPT_XRC_INI] = (IB_QP_PORT |
[IB_QPT_XRC_TGT] = (IB_QP_PORT |
u8 port = attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
if (attr_mask & IB_QP_PORT)
if (!ib_query_qp(qp, &attr, IB_QP_STATE | IB_QP_PORT, &init_attr)) {
IB_QP_PORT |
[IB_QPT_RAW_PACKET] = IB_QP_PORT,
IB_QP_PORT |
IB_QP_PORT |
IB_QP_PORT |
IB_QP_PORT |
IB_QP_PORT |
IB_QP_PORT |
IB_QP_PORT |
IB_QP_PORT |
IB_QP_PORT |
qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | IB_QP_PKEY_INDEX | IB_QP_PORT;
attr_mask &= ~IB_QP_PORT;
IB_QP_PORT |