Home
last modified time | relevance | path

Searched refs:attr_id (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/
A Dfm10k_tlv.h96 #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)
101 fm10k_tlv_attr_put_value(msg, attr_id, val, 4)
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)
107 fm10k_tlv_attr_put_value(msg, attr_id, val, 2)
109 fm10k_tlv_attr_put_value(msg, attr_id, val, 4)
[all …]
A Dfm10k_tlv.c66 attr[0] = len | attr_id; in fm10k_tlv_attr_put_null_string()
125 attr[0] = len | attr_id; in fm10k_tlv_attr_put_mac_vlan()
218 attr[0] = len | attr_id; in fm10k_tlv_attr_put_value()
289 attr[0] = len | attr_id; in fm10k_tlv_attr_put_le_struct()
350 attr[0] = attr_id; in fm10k_tlv_attr_nest_start()
409 while (tlv_attr->id < attr_id) in fm10k_tlv_attr_validate()
413 if (tlv_attr->id != attr_id) in fm10k_tlv_attr_validate()
474 u32 i, attr_id, offset = 0; in fm10k_tlv_attr_parse() local
504 attr_id = *attr & FM10K_TLV_ID_MASK; in fm10k_tlv_attr_parse()
506 if (attr_id >= FM10K_TLV_RESULTS_MAX) in fm10k_tlv_attr_parse()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
A Dcm.c87 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in set_local_comm_id()
102 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in get_local_comm_id()
117 if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { in set_remote_comm_id()
309 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID || in mlx4_ib_multiplex_cm_handler()
310 mad->mad_hdr.attr_id == CM_REP_ATTR_ID || in mlx4_ib_multiplex_cm_handler()
311 mad->mad_hdr.attr_id == CM_MRA_ATTR_ID || in mlx4_ib_multiplex_cm_handler()
341 if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID) in mlx4_ib_multiplex_cm_handler()
435 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID || in mlx4_ib_demux_cm_handler()
463 if (mad->mad_hdr.attr_id == CM_REJ_ATTR_ID && in mlx4_ib_demux_cm_handler()
478 if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID || in mlx4_ib_demux_cm_handler()
[all …]
A Dmad.c234 switch (mad->mad_hdr.attr_id) { in smp_snoop()
375 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override()
423 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_demux_sa_handler()
847 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) in ib_process_mad()
893 __be16 attr_id) in edit_counter() argument
895 switch (attr_id) { in edit_counter()
949 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) in iboe_process_mad()
973 in_mad->mad_hdr.attr_id); in iboe_process_mad()
998 (in->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS || in mlx4_ib_process_mad()
1153 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in handle_slaves_guid_change()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dmad.c198 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) { in process_pma_cmd()
273 if (in->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) in mlx5_ib_process_mad()
322 in_mad->attr_id = MLX5_ATTR_EXTENDED_PORT_INFO; in mlx5_query_ext_port_caps()
349 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx5_query_mad_ifc_smp_attr_node_info()
436 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; in mlx5_query_mad_ifc_node_desc()
461 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx5_query_mad_ifc_node_guid()
487 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; in mlx5_query_mad_ifc_pkey()
516 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mlx5_query_mad_ifc_gids()
527 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in mlx5_query_mad_ifc_gids()
561 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mlx5_query_mad_ifc_port()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_rep.h245 bool mlx5e_rep_has_offload_stats(const struct net_device *dev, int attr_id);
246 int mlx5e_rep_get_offload_stats(int attr_id, const struct net_device *dev,
270 int attr_id) { return false; } in mlx5e_rep_has_offload_stats() argument
271 static inline int mlx5e_rep_get_offload_stats(int attr_id, in mlx5e_rep_get_offload_stats() argument
/linux-6.3-rc2/fs/erofs/
A Dsysfs.c24 short attr_id; member
31 .attr_id = attr_##_id, \
39 .attr_id = attr_##_id, \
115 switch (a->attr_id) { in erofs_attr_show()
140 switch (a->attr_id) { in erofs_attr_store()
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_mad.c117 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) { in smp_snoop()
141 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) { in smp_snoop()
156 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override()
232 if (in->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO || in mthca_process_mad()
233 ((in->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) == in mthca_process_mad()
247 in->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in mthca_process_mad()
A Dmthca_provider.c74 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device()
136 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mthca_query_port()
230 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; in mthca_query_pkey()
259 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mthca_query_gid()
270 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in mthca_query_gid()
1002 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; in mthca_init_node_data()
1011 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_init_node_data()
/linux-6.3-rc2/include/trace/events/
A Dib_umad.h36 __field(u16, attr_id)
81 __entry->attr_id = mad_hdr->attr_id;
104 be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id),
A Dib_mad.h36 __field(u16, attr_id)
79 __entry->attr_id =
80 ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_id;
100 be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id),
200 __field(u16, attr_id)
220 __entry->attr_id = mad_hdr->attr_id;
240 be64_to_cpu(__entry->tid), be16_to_cpu(__entry->attr_id),
/linux-6.3-rc2/fs/ubifs/
A Dsysfs.c22 enum attr_id_t attr_id; member
28 .attr_id = attr_##_id, \
55 switch (a->attr_id) { in ubifs_attr_show()
/linux-6.3-rc2/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_vema.c457 u16 attr_id) in vema_get_mac_list() argument
478 if (attr_id == OPA_EM_ATTR_IFACE_MCAST_MACS) in vema_get_mac_list()
538 u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); in vema_get() local
540 switch (attr_id) { in vema_get()
552 vema_get_mac_list(port, recvd_mad, rsp_mad, attr_id); in vema_get()
576 u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); in vema_set() local
578 switch (attr_id) { in vema_set()
814 trap_mad->mad_hdr.attr_id = IB_SMP_ATTR_NOTICE; in opa_vnic_vema_send_trap()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_gt_sysfs.c62 static struct kobj_attribute attr_id = __ATTR_RO(id); variable
65 &attr_id.attr,
/linux-6.3-rc2/fs/ext4/
A Dsysfs.c53 short attr_id; member
141 .attr_id = attr_##_id, \
151 .attr_id = attr_##_id, \
161 .attr_id = attr_pointer_string, \
193 .attr_id = attr_##_id, \
377 switch (a->attr_id) { in ext4_attr_show()
457 switch (a->attr_id) { in ext4_attr_store()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_repr.c178 ice_repr_ndo_has_offload_stats(const struct net_device *dev, int attr_id) in ice_repr_ndo_has_offload_stats() argument
180 return attr_id == IFLA_OFFLOAD_XSTATS_CPU_HIT; in ice_repr_ndo_has_offload_stats()
184 ice_repr_ndo_get_offload_stats(int attr_id, const struct net_device *dev, in ice_repr_ndo_get_offload_stats() argument
187 if (attr_id == IFLA_OFFLOAD_XSTATS_CPU_HIT) in ice_repr_ndo_get_offload_stats()
/linux-6.3-rc2/include/uapi/rdma/
A Drdma_user_ioctl_cmds.h55 __u16 attr_id; /* command specific type attribute */ member
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_repr.c113 nfp_repr_has_offload_stats(const struct net_device *dev, int attr_id) in nfp_repr_has_offload_stats() argument
115 switch (attr_id) { in nfp_repr_has_offload_stats()
156 nfp_repr_get_offload_stats(int attr_id, const struct net_device *dev, in nfp_repr_get_offload_stats() argument
159 switch (attr_id) { in nfp_repr_get_offload_stats()
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dmad.c326 smp->attr_id = IB_SMP_ATTR_NOTICE; in send_trap()
452 trap->data.ntc_256.attr_id = mad->attr_id; in bad_mkey()
2380 __be16 attr_id; member
4056 switch (attr_id) { in subn_get_opa_sma()
4146 switch (attr_id) { in subn_set_opa_sma()
4478 __be16 attr_id; in process_subn_opa() local
4486 attr_id = smp->attr_id; in process_subn_opa()
4523 switch (attr_id) { in process_subn_opa()
4537 switch (attr_id) { in process_subn_opa()
4618 switch (smp->attr_id) { in process_subn()
[all …]
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_dfs.c17 qla_dfs_rport_get(struct fc_port *fp, int attr_id, u64 *val) in qla_dfs_rport_get() argument
19 switch (attr_id) { in qla_dfs_rport_get()
33 qla_dfs_rport_set(struct fc_port *fp, int attr_id, u64 val) in qla_dfs_rport_set() argument
35 switch (attr_id) { in qla_dfs_rport_set()
/linux-6.3-rc2/samples/bpf/
A Dibumad_kern.c61 u16 attr_id; member
/linux-6.3-rc2/include/rdma/
A Dopa_smi.h31 __be16 attr_id; member
A Dib_mad.h145 __be16 attr_id; member
415 __be16 attr_id; member
A Dib_smi.h27 __be16 attr_id; member
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A Dqib_mad.c99 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()
2305 switch (ccp->attr_id) { in process_cc()
[all …]

Completed in 70 milliseconds

12