Searched refs:attr_id (Results 1 - 15 of 15) sorted by relevance

/barrelfish-master/lib/devif/backends/net/mlx4/drivers/infiniband/core/
H A Dsa.h56 int ib_sa_pack_attr(void *dst, void *src, int attr_id);
58 int ib_sa_unpack_attr(void *dst, void *src, int attr_id);
H A Dsa_query.c489 int ib_sa_pack_attr(void *dst, void *src, int attr_id) argument
491 switch (attr_id) {
501 int ib_sa_unpack_attr(void *dst, void *src, int attr_id) argument
503 switch (attr_id) {
848 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_PATH_REC);
969 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_SERVICE_REC);
1061 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC);
1197 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_INFORM_INFO);
H A Dcm.c1000 __be16 attr_id, __be64 tid)
1006 hdr->attr_id = attr_id;
3228 msg->mad)->attr_id) - CM_ATTR_ID_OFFSET;
3405 u16 attr_id; local
3408 switch (mad_recv_wc->recv_buf.mad->mad_hdr.attr_id) {
3450 attr_id = be16_to_cpu(mad_recv_wc->recv_buf.mad->mad_hdr.attr_id);
3452 counter[attr_id - CM_ATTR_ID_OFFSET]);
999 cm_format_mad_hdr(struct ib_mad_hdr *hdr, __be16 attr_id, __be64 tid) argument
H A Dsysfs.c323 in_mad->mad_hdr.attr_id = IB_PMA_PORT_COUNTERS_EXT;
325 in_mad->mad_hdr.attr_id = IB_PMA_PORT_COUNTERS;
H A Dlocal_sa.c476 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_PATH_REC);
/barrelfish-master/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mlx4/
H A Dcm.c290 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID ||
291 mad->mad_hdr.attr_id == CM_REP_ATTR_ID) {
298 } else if (mad->mad_hdr.attr_id == CM_REJ_ATTR_ID) {
312 if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID)
314 else if (mad->mad_hdr.attr_id == CM_DREP_ATTR_ID)
326 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID) {
354 if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID)
356 else if (mad->mad_hdr.attr_id == CM_REJ_ATTR_ID ||
357 mad->mad_hdr.attr_id == CM_DREP_ATTR_ID) {
H A Dmad.c238 switch (mad->mad_hdr.attr_id) {
351 && mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
397 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) {
700 in_mad->mad_hdr.method, be16_to_cpu(in_mad->mad_hdr.attr_id));
727 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO)
742 && in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO
777 __be16 attr_id)
779 switch (attr_id) {
894 pr_warn("Unsupported attr_id 0x%x\n", attr_id);
[all...]
H A Dmain.c158 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
267 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO;
323 in_mad->attr_id = MLX4_ATTR_EXTENDED_PORT_INFO;
434 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO;
456 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO;
503 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE;
1267 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC;
1277 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
H A Dmcg.c286 mad.mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC);
327 mad.mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC);
/barrelfish-master/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c115 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) {
139 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) {
154 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
231 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO ||
232 ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) ==
246 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO &&
H A Dmthca_provider.c78 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
154 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO;
259 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE;
294 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO;
310 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO;
1264 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC;
1278 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
/barrelfish-master/usr/skb/octopus/
H A Dcode_generator.c154 dident attr_id = ec_did(left->u.in.str, 0); local
155 pword left_term = ec_atom(attr_id);
/barrelfish-master/lib/devif/backends/net/mlx4/include/rdma/
H A Dib_smi.h55 __be16 attr_id; member in struct:ib_smp
H A Dib_mad.h139 __be16 attr_id; member in struct:ib_mad_hdr
/barrelfish-master/lib/devif/backends/net/mlx4/include/linux/mlx4/
H A Ddevice.h962 __be16 attr_id; member in struct:mlx4_mad_ifc

Completed in 202 milliseconds