Home
last modified time | relevance | path

Searched refs:qp_attr (Results 1 – 1 of 1) sorted by relevance

/external/libpcap/
Dpcap-rdmasniff.c193 struct ibv_qp_attr qp_attr; in rdmasniff_activate() local
241 memset(&qp_attr, 0, sizeof qp_attr); in rdmasniff_activate()
242 qp_attr.qp_state = IBV_QPS_INIT; in rdmasniff_activate()
243 qp_attr.port_num = priv->port_num; in rdmasniff_activate()
244 if (ibv_modify_qp(priv->qp, &qp_attr, IBV_QP_STATE | IBV_QP_PORT)) { in rdmasniff_activate()
250 memset(&qp_attr, 0, sizeof qp_attr); in rdmasniff_activate()
251 qp_attr.qp_state = IBV_QPS_RTR; in rdmasniff_activate()
252 if (ibv_modify_qp(priv->qp, &qp_attr, IBV_QP_STATE)) { in rdmasniff_activate()