/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_tlv.h | 96 #define fm10k_tlv_attr_put_u8(msg, attr_id, val) \ argument 97 fm10k_tlv_attr_put_value(msg, attr_id, val, 1) 98 #define fm10k_tlv_attr_put_u16(msg, attr_id, val) \ argument 99 fm10k_tlv_attr_put_value(msg, attr_id, val, 2) 100 #define fm10k_tlv_attr_put_u32(msg, attr_id, val) \ argument 101 fm10k_tlv_attr_put_value(msg, attr_id, val, 4) 102 #define fm10k_tlv_attr_put_u64(msg, attr_id, val) \ argument 103 fm10k_tlv_attr_put_value(msg, attr_id, val, 8) 104 #define fm10k_tlv_attr_put_s8(msg, attr_id, val) \ argument 105 fm10k_tlv_attr_put_value(msg, attr_id, val, 1) [all …]
|
D | fm10k_tlv.c | 34 static s32 fm10k_tlv_attr_put_null_string(u32 *msg, u16 attr_id, in fm10k_tlv_attr_put_null_string() argument 66 attr[0] = len | attr_id; in fm10k_tlv_attr_put_null_string() 112 s32 fm10k_tlv_attr_put_mac_vlan(u32 *msg, u16 attr_id, in fm10k_tlv_attr_put_mac_vlan() argument 125 attr[0] = len | attr_id; in fm10k_tlv_attr_put_mac_vlan() 172 s32 fm10k_tlv_attr_put_bool(u32 *msg, u16 attr_id) in fm10k_tlv_attr_put_bool() argument 179 msg[FM10K_TLV_DWORD_LEN(*msg)] = attr_id; in fm10k_tlv_attr_put_bool() 198 s32 fm10k_tlv_attr_put_value(u32 *msg, u16 attr_id, s64 value, u32 len) in fm10k_tlv_attr_put_value() argument 218 attr[0] = len | attr_id; in fm10k_tlv_attr_put_value() 270 s32 fm10k_tlv_attr_put_le_struct(u32 *msg, u16 attr_id, in fm10k_tlv_attr_put_le_struct() argument 289 attr[0] = len | attr_id; in fm10k_tlv_attr_put_le_struct() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | cm.c | 77 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in set_local_comm_id() 81 } else if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { in set_local_comm_id() 92 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in get_local_comm_id() 96 } else if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { in get_local_comm_id() 107 if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { in set_remote_comm_id() 111 } else if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in set_remote_comm_id() 122 if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { in get_remote_comm_id() 126 } else if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in get_remote_comm_id() 322 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID || in mlx4_ib_multiplex_cm_handler() 323 mad->mad_hdr.attr_id == CM_REP_ATTR_ID || in mlx4_ib_multiplex_cm_handler() [all …]
|
D | mad.c | 234 switch (mad->mad_hdr.attr_id) { in smp_snoop() 375 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override() 422 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_demux_sa_handler() 818 be16_to_cpu(in_mad->mad_hdr.attr_id)); in ib_process_mad() 846 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) in ib_process_mad() 861 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in ib_process_mad() 892 __be16 attr_id) in edit_counter() argument 894 switch (attr_id) { in edit_counter() 947 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) in iboe_process_mad() 972 in_mad->mad_hdr.attr_id); in iboe_process_mad() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | mad.c | 95 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) in process_mad() 207 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) { in process_pma_cmd() 215 if (in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS_EXT) { in process_pma_cmd() 298 in_mad->attr_id = MLX5_ATTR_EXTENDED_PORT_INFO; in mlx5_query_ext_port_caps() 325 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx5_query_mad_ifc_smp_attr_node_info() 412 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; in mlx5_query_mad_ifc_node_desc() 437 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx5_query_mad_ifc_node_guid() 463 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; in mlx5_query_mad_ifc_pkey() 492 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mlx5_query_mad_ifc_gids() 503 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in mlx5_query_mad_ifc_gids() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 116 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) { in smp_snoop() 140 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) { in smp_snoop() 155 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override() 242 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO || in mthca_process_mad() 243 ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) == in mthca_process_mad() 257 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in mthca_process_mad()
|
D | mthca_provider.c | 81 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device() 153 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mthca_query_port() 247 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; in mthca_query_pkey() 276 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mthca_query_gid() 287 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in mthca_query_gid() 1137 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; in mthca_init_node_data() 1146 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_init_node_data()
|
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 458 u16 attr_id) in vema_get_mac_list() argument 479 if (attr_id == OPA_EM_ATTR_IFACE_MCAST_MACS) in vema_get_mac_list() 539 u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); in vema_get() local 541 switch (attr_id) { in vema_get() 554 vema_get_mac_list(port, recvd_mad, rsp_mad, attr_id); in vema_get() 578 u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); in vema_set() local 580 switch (attr_id) { in vema_set() 816 trap_mad->mad_hdr.attr_id = IB_SMP_ATTR_NOTICE; in opa_vnic_vema_send_trap()
|
/Linux-v4.19/fs/ext4/ |
D | sysfs.c | 46 short attr_id; member 131 .attr_id = attr_##_id, \ 141 .attr_id = attr_##_id, \ 157 .attr_id = attr_##_id, \ 273 switch (a->attr_id) { in ext4_attr_show() 323 switch (a->attr_id) { in ext4_attr_store()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.h | 149 int mlx5e_get_offload_stats(int attr_id, const struct net_device *dev, void *sp); 150 bool mlx5e_has_offload_stats(const struct net_device *dev, int attr_id);
|
/Linux-v4.19/drivers/scsi/osd/ |
D | osd_initiator.c | 235 attr->attr_id = cpu_to_be32(oa->attr_id); in _osd_req_alist_elem_encode() 242 attr->attr_id = cpu_to_be32(oa->attr_id); in _osd_req_alist_elem_encode() 264 oa->attr_id = be32_to_cpu(attr->attr_id); in _osd_req_alist_elem_decode() 284 oa->attr_id = be32_to_cpu(attr->attr_id); in _osd_req_alist_elem_decode() 1284 attrid->attr_id = cpu_to_be32(oa->attr_id); in osd_req_add_get_attr_list() 1367 oa->attr_id = 0; in osd_req_decode_get_attr_list() 1453 cdbh->attrs_page.set_attr_id = cpu_to_be32(set_one_attr->attr_id); in osd_req_add_get_attr_page() 1861 u32 attr_id = be32_to_cpu(pattr->attr_id); in osd_req_decode_sense_full() local 1865 osi->attr.attr_id = attr_id; in osd_req_decode_sense_full() 1870 bad_attr_list->attr_id = attr_id; in osd_req_decode_sense_full() [all …]
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 142 nfp_repr_has_offload_stats(const struct net_device *dev, int attr_id) in nfp_repr_has_offload_stats() argument 144 switch (attr_id) { in nfp_repr_has_offload_stats() 185 nfp_repr_get_offload_stats(int attr_id, const struct net_device *dev, in nfp_repr_get_offload_stats() argument 188 switch (attr_id) { in nfp_repr_get_offload_stats()
|
/Linux-v4.19/include/scsi/ |
D | osd_types.h | 35 u32 attr_id; member
|
D | osd_protocol.h | 325 __be32 attr_id; member 333 __be32 attr_id; member 345 __be32 attr_id; member
|
D | osd_sense.h | 243 /*12*/ __be32 attr_id; member
|
/Linux-v4.19/include/uapi/rdma/ |
D | rdma_user_ioctl_cmds.h | 55 __u16 attr_id; /* command specific type attribute */ member
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | mad.c | 236 if (smp->attr_id != IB_SMP_ATTR_NOTICE) in subn_handle_opa_trap_repress() 368 smp->attr_id = IB_SMP_ATTR_NOTICE; in send_trap() 494 trap->data.ntc_256.attr_id = mad->attr_id; in bad_mkey() 2423 __be16 attr_id; member 4102 static int subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, in subn_get_opa_sma() argument 4109 switch (attr_id) { in subn_get_opa_sma() 4192 static int subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, in subn_set_opa_sma() argument 4199 switch (attr_id) { in subn_set_opa_sma() 4301 (void)subn_get_opa_sma(agg->attr_id, smp, am, agg->data, in subn_get_opa_aggregate() 4347 (void)subn_set_opa_sma(agg->attr_id, smp, am, agg->data, in subn_set_opa_aggregate() [all …]
|
/Linux-v4.19/include/rdma/ |
D | opa_smi.h | 58 __be16 attr_id; member
|
D | ib_smi.h | 54 __be16 attr_id; member
|
D | ib_mad.h | 172 __be16 attr_id; member 431 __be16 attr_id; member
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 99 smp->attr_id = IB_SMP_ATTR_NOTICE; in qib_send_trap() 181 data.details.ntc_256.attr_id = smp->attr_id; in qib_bad_mkey() 1887 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn() 1899 switch (smp->attr_id) { in process_subn() 1939 switch (smp->attr_id) { in process_subn() 1973 if (smp->attr_id == IB_SMP_ATTR_NOTICE) in process_subn() 1995 smp->attr_id == QIB_VENDOR_IPG) { in process_subn() 2028 switch (pmp->mad_hdr.attr_id) { in process_perf() 2057 switch (pmp->mad_hdr.attr_id) { in process_perf() 2327 switch (ccp->attr_id) { in process_cc() [all …]
|
D | qib_mad.h | 127 __be16 attr_id; member
|
/Linux-v4.19/net/core/ |
D | rtnetlink.c | 4228 static int rtnl_get_offload_stats_attr_size(int attr_id) in rtnl_get_offload_stats_attr_size() argument 4230 switch (attr_id) { in rtnl_get_offload_stats_attr_size() 4242 int attr_id, size; in rtnl_get_offload_stats() local 4250 for (attr_id = IFLA_OFFLOAD_XSTATS_FIRST; in rtnl_get_offload_stats() 4251 attr_id <= IFLA_OFFLOAD_XSTATS_MAX; attr_id++) { in rtnl_get_offload_stats() 4252 if (attr_id < *prividx) in rtnl_get_offload_stats() 4255 size = rtnl_get_offload_stats_attr_size(attr_id); in rtnl_get_offload_stats() 4259 if (!dev->netdev_ops->ndo_has_offload_stats(dev, attr_id)) in rtnl_get_offload_stats() 4262 attr = nla_reserve_64bit(skb, attr_id, size, in rtnl_get_offload_stats() 4269 err = dev->netdev_ops->ndo_get_offload_stats(attr_id, dev, in rtnl_get_offload_stats() [all …]
|
/Linux-v4.19/drivers/block/mtip32xx/ |
D | mtip32xx.h | 176 u8 attr_id; member
|
/Linux-v4.19/drivers/infiniband/core/ |
D | sysfs.c | 84 __be16 attr_id; member 442 .attr_id = IB_PMA_PORT_COUNTERS , \ 449 .attr_id = IB_PMA_PORT_COUNTERS_EXT , \ 479 in_mad->mad_hdr.attr_id = attr; in get_perf_mad() 512 ret = get_perf_mad(p->ibdev, p->port_num, tab_attr->attr_id, &data, in show_pma_counter()
|