Home
last modified time | relevance | path

Searched refs:in_mad (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmad.c46 struct ib_mad *in_mad) in can_do_mad_ifc()
48 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED && in can_do_mad_ifc()
49 in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in can_do_mad_ifc()
56 const struct ib_grh *in_grh, const void *in_mad, in mlx5_MAD_IFC()
61 if (!can_do_mad_ifc(dev, port, (struct ib_mad *)in_mad)) in mlx5_MAD_IFC()
72 return mlx5_cmd_mad_ifc(dev->mdev, in_mad, response_mad, op_modifier, in mlx5_MAD_IFC()
151 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd()
176 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) { in process_pma_cmd()
185 if (in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS_EXT) { in process_pma_cmd()
290 struct ib_smp *in_mad in mlx5_query_ext_port_caps() local
45 can_do_mad_ifc(struct mlx5_ib_dev *dev, u8 port_num, struct ib_mad *in_mad) can_do_mad_ifc() argument
54 mlx5_MAD_IFC(struct mlx5_ib_dev *dev, int ignore_mkey, int ignore_bkey, u8 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const void *in_mad, void *response_mad) mlx5_MAD_IFC() argument
150 process_pma_cmd(struct mlx5_ib_dev *dev, u8 port_num, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_pma_cmd() argument
320 struct ib_smp *in_mad = NULL; mlx5_query_mad_ifc_smp_attr_node_info() local
405 struct ib_smp *in_mad = NULL; mlx5_query_mad_ifc_node_desc() local
430 struct ib_smp *in_mad = NULL; mlx5_query_mad_ifc_node_guid() local
456 struct ib_smp *in_mad = NULL; mlx5_query_mad_ifc_pkey() local
485 struct ib_smp *in_mad = NULL; mlx5_query_mad_ifc_gids() local
527 struct ib_smp *in_mad = NULL; mlx5_query_mad_ifc_port() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dmad.c46 struct ib_mad *in_mad) in can_do_mad_ifc()
48 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED && in can_do_mad_ifc()
49 in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in can_do_mad_ifc()
56 const struct ib_grh *in_grh, const void *in_mad, in mlx5_MAD_IFC()
61 if (!can_do_mad_ifc(dev, port, (struct ib_mad *)in_mad)) in mlx5_MAD_IFC()
72 return mlx5_cmd_mad_ifc(dev->mdev, in_mad, response_mad, op_modifier, in mlx5_MAD_IFC()
173 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd()
198 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) { in process_pma_cmd()
207 if (in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS_EXT) { in process_pma_cmd()
311 struct ib_smp *in_mad; in mlx5_query_ext_port_caps() local
45 can_do_mad_ifc(struct mlx5_ib_dev *dev, u32 port_num, struct ib_mad *in_mad) can_do_mad_ifc() argument
54 mlx5_MAD_IFC(struct mlx5_ib_dev *dev, int ignore_mkey, int ignore_bkey, u32 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const void *in_mad, void *response_mad) mlx5_MAD_IFC() argument
172 process_pma_cmd(struct mlx5_ib_dev *dev, u32 port_num, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_pma_cmd() argument
341 struct ib_smp *in_mad; mlx5_query_mad_ifc_smp_attr_node_info() local
426 struct ib_smp *in_mad; mlx5_query_mad_ifc_node_desc() local
451 struct ib_smp *in_mad; mlx5_query_mad_ifc_node_guid() local
477 struct ib_smp *in_mad; mlx5_query_mad_ifc_pkey() local
506 struct ib_smp *in_mad; mlx5_query_mad_ifc_gids() local
548 struct ib_smp *in_mad; mlx5_query_mad_ifc_port() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c64 struct ib_smp *in_mad = NULL; in mthca_query_device() local
72 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device()
74 if (!in_mad || !out_mad) in mthca_query_device()
81 init_query_mad(in_mad); in mthca_query_device()
82 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device()
85 1, NULL, NULL, in_mad, out_mad); in mthca_query_device()
124 kfree(in_mad); in mthca_query_device()
132 struct ib_smp *in_mad = NULL; in mthca_query_port() local
136 in_mad in mthca_query_port()
228 struct ib_smp *in_mad = NULL; mthca_query_pkey() local
257 struct ib_smp *in_mad = NULL; mthca_query_gid() local
1013 struct ib_smp *in_mad = NULL; mthca_init_node_data() local
[all...]
H A Dmthca_cmd.h316 const void *in_mad, void *response_mad);
H A Dmthca_cmd.c1864 const void *in_mad, void *response_mad) in mthca_MAD_IFC()
1892 memcpy(inbox, in_mad, 256); in mthca_MAD_IFC()
1862 mthca_MAD_IFC(struct mthca_dev *dev, int ignore_mkey, int ignore_bkey, int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const void *in_mad, void *response_mad) mthca_MAD_IFC() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c56 struct ib_smp *in_mad; in mthca_query_device() local
64 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device()
66 if (!in_mad || !out_mad) in mthca_query_device()
73 ib_init_query_mad(in_mad); in mthca_query_device()
74 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device()
77 1, NULL, NULL, in_mad, out_mad); in mthca_query_device()
116 kfree(in_mad); in mthca_query_device()
124 struct ib_smp *in_mad; in mthca_query_port() local
128 in_mad in mthca_query_port()
220 struct ib_smp *in_mad; mthca_query_pkey() local
249 struct ib_smp *in_mad; mthca_query_gid() local
992 struct ib_smp *in_mad; mthca_init_node_data() local
[all...]
H A Dmthca_cmd.h316 const void *in_mad, void *response_mad);
H A Dmthca_cmd.c1864 const void *in_mad, void *response_mad) in mthca_MAD_IFC()
1892 memcpy(inbox, in_mad, 256); in mthca_MAD_IFC()
1862 mthca_MAD_IFC(struct mthca_dev *dev, int ignore_mkey, int ignore_bkey, int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const void *in_mad, void *response_mad) mthca_MAD_IFC() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dmain.c442 struct ib_smp *in_mad = NULL; in mlx4_ib_query_device() local
467 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mlx4_ib_query_device()
470 if (!in_mad || !out_mad) in mlx4_ib_query_device()
473 init_query_mad(in_mad); in mlx4_ib_query_device()
474 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx4_ib_query_device()
477 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device()
642 kfree(in_mad); in mlx4_ib_query_device()
660 struct ib_smp *in_mad = NULL; in ib_link_query_port() local
666 in_mad in ib_link_query_port()
838 struct ib_smp *in_mad = NULL; __mlx4_ib_query_gid() local
902 struct ib_smp *in_mad = NULL; mlx4_ib_query_sl2vl() local
962 struct ib_smp *in_mad = NULL; __mlx4_ib_query_pkey() local
1983 struct ib_smp *in_mad = NULL; init_node_data() local
[all...]
H A Dmad.c111 const void *in_mad, void *response_mad) in mlx4_MAD_IFC()
130 memcpy(inbox, in_mad, 256); in mlx4_MAD_IFC()
823 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad()
831 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) { in ib_process_mad()
832 forward_trap(to_mdev(ibdev), port_num, in_mad); in ib_process_mad() local
836 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in ib_process_mad()
837 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in ib_process_mad()
838 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in ib_process_mad()
839 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in ib_process_mad()
840 in_mad in ib_process_mad()
108 mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const void *in_mad, void *response_mad) mlx4_MAD_IFC() argument
821 ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) ib_process_mad() argument
935 iboe_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) iboe_process_mad() argument
1127 struct ib_smp *in_mad = NULL; handle_slaves_guid_change() local
[all...]
H A Dmlx4_ib.h812 const void *in_mad, void *response_mad);
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dmain.c440 struct ib_smp *in_mad; in mlx4_ib_query_device() local
465 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mlx4_ib_query_device()
468 if (!in_mad || !out_mad) in mlx4_ib_query_device()
471 ib_init_query_mad(in_mad); in mlx4_ib_query_device()
472 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx4_ib_query_device()
475 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device()
640 kfree(in_mad); in mlx4_ib_query_device()
658 struct ib_smp *in_mad; in ib_link_query_port() local
664 in_mad in ib_link_query_port()
836 struct ib_smp *in_mad; __mlx4_ib_query_gid() local
901 struct ib_smp *in_mad; mlx4_ib_query_sl2vl() local
961 struct ib_smp *in_mad; __mlx4_ib_query_pkey() local
1977 struct ib_smp *in_mad; init_node_data() local
[all...]
H A Dmad.c111 const void *in_mad, void *response_mad) in mlx4_MAD_IFC()
130 memcpy(inbox, in_mad, 256); in mlx4_MAD_IFC()
824 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad()
832 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) { in ib_process_mad()
833 forward_trap(to_mdev(ibdev), port_num, in_mad); in ib_process_mad() local
837 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in ib_process_mad()
838 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in ib_process_mad()
839 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in ib_process_mad()
840 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in ib_process_mad()
841 in_mad in ib_process_mad()
108 mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const void *in_mad, void *response_mad) mlx4_MAD_IFC() argument
822 ib_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) ib_process_mad() argument
936 iboe_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) iboe_process_mad() argument
1129 struct ib_smp *in_mad = NULL; handle_slaves_guid_change() local
[all...]
H A Dmlx4_ib.h813 const void *in_mad, void *response_mad);
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsysfs.c476 struct ib_mad *in_mad; in get_perf_mad() local
485 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in get_perf_mad()
487 if (!in_mad || !out_mad) { in get_perf_mad()
492 in_mad->mad_hdr.base_version = 1; in get_perf_mad()
493 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in get_perf_mad()
494 in_mad->mad_hdr.class_version = 1; in get_perf_mad()
495 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in get_perf_mad()
496 in_mad->mad_hdr.attr_id = attr; in get_perf_mad()
499 in_mad in get_perf_mad()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dsysfs.c557 struct ib_mad *in_mad; in get_perf_mad() local
566 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in get_perf_mad()
568 if (!in_mad || !out_mad) { in get_perf_mad()
573 in_mad->mad_hdr.base_version = 1; in get_perf_mad()
574 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in get_perf_mad()
575 in_mad->mad_hdr.class_version = 1; in get_perf_mad()
576 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in get_perf_mad()
577 in_mad->mad_hdr.attr_id = attr; in get_perf_mad()
580 in_mad in get_perf_mad()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dmad.c4457 * @in_mad: MAD packet with header and data
4492 const struct opa_mad *in_mad, in hfi1_pkey_validation_pma()
4498 if (!is_local_mad(ibp, in_mad, in_wc) && in hfi1_pkey_validation_pma()
4512 u8 port, const struct opa_mad *in_mad, in process_subn_opa()
4523 *out_mad = *in_mad; in process_subn_opa()
4617 u8 port, const struct ib_mad *in_mad, in process_subn()
4624 *out_mad = *in_mad; in process_subn()
4644 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
4676 const struct ib_mad *in_mad, in process_perf()
4684 *out_mad = *in_mad; in process_perf()
4491 hfi1_pkey_validation_pma(struct hfi1_ibport *ibp, const struct opa_mad *in_mad, const struct ib_wc *in_wc) hfi1_pkey_validation_pma() argument
4511 process_subn_opa(struct ib_device *ibdev, int mad_flags, u8 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len, int local_mad) process_subn_opa() argument
4616 process_subn(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
4675 process_perf(struct ib_device *ibdev, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
4737 process_perf_opa(struct ib_device *ibdev, u8 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len) process_perf_opa() argument
4818 hfi1_process_opa_mad(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct opa_mad *in_mad, struct opa_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_opa_mad() argument
4872 hfi1_process_ib_mad(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) hfi1_process_ib_mad() argument
4915 hfi1_process_mad(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_mad() argument
[all...]
H A Dverbs.h333 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dmad.c4415 * @in_mad: MAD packet with header and data
4450 const struct opa_mad *in_mad, in hfi1_pkey_validation_pma()
4456 if (!is_local_mad(ibp, in_mad, in_wc) && in hfi1_pkey_validation_pma()
4470 u32 port, const struct opa_mad *in_mad, in process_subn_opa()
4481 *out_mad = *in_mad; in process_subn_opa()
4575 u32 port, const struct ib_mad *in_mad, in process_subn()
4582 *out_mad = *in_mad; in process_subn()
4602 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
4634 const struct ib_mad *in_mad, in process_perf()
4642 *out_mad = *in_mad; in process_perf()
4449 hfi1_pkey_validation_pma(struct hfi1_ibport *ibp, const struct opa_mad *in_mad, const struct ib_wc *in_wc) hfi1_pkey_validation_pma() argument
4469 process_subn_opa(struct ib_device *ibdev, int mad_flags, u32 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len, int local_mad) process_subn_opa() argument
4574 process_subn(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
4633 process_perf(struct ib_device *ibdev, u32 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
4695 process_perf_opa(struct ib_device *ibdev, u32 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len) process_perf_opa() argument
4776 hfi1_process_opa_mad(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct opa_mad *in_mad, struct opa_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_opa_mad() argument
4830 hfi1_process_ib_mad(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) hfi1_process_ib_mad() argument
4875 hfi1_process_mad(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_mad() argument
[all...]
H A Dverbs.h291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
H A Dverbs.h96 const struct ib_grh *in_grh, const struct ib_mad *in_mad,
/kernel/linux/linux-6.6/drivers/infiniband/hw/qedr/
H A Dverbs.h96 const struct ib_grh *in_grh, const struct ib_mad *in_mad,
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_mad.c1861 u8 port, const struct ib_mad *in_mad, in process_subn()
1869 *out_mad = *in_mad; in process_subn()
1887 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
2013 const struct ib_mad *in_mad, in process_perf()
2019 *out_mad = *in_mad; in process_perf()
2292 u8 port, const struct ib_mad *in_mad, in process_cc()
2296 *out_mad = *in_mad; in process_cc()
2349 * @in_mad: the incoming MAD
1860 process_subn(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
2012 process_perf(struct ib_device *ibdev, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
2291 process_cc(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_cc() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_mad.c1861 u8 port, const struct ib_mad *in_mad, in process_subn()
1869 *out_mad = *in_mad; in process_subn()
1887 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
2013 const struct ib_mad *in_mad, in process_perf()
2019 *out_mad = *in_mad; in process_perf()
2292 u8 port, const struct ib_mad *in_mad, in process_cc()
2296 *out_mad = *in_mad; in process_cc()
1860 process_subn(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
2012 process_perf(struct ib_device *ibdev, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
2291 process_cc(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_cc() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c843 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); in query_pkey_block() local
851 in_mad->attr_mod = cpu_to_be32(index / 32); in query_pkey_block()

Completed in 51 milliseconds

12