Home
last modified time | relevance | path

Searched refs:mlx5_cmd_exec (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dcmd.c15 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_alloc_sf()
26 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_dealloc_sf()
37 return mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_cmd_sf_enable_hca()
48 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_sf_disable_hca()
Dvhca_event.c32 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_cmd_query_vhca_state()
44 return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_cmd_modify_vhca_state()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Decpf.c28 return mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_cmd_host_pf_enable_hca()
39 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_host_pf_disable_hca()
Dmr.c47 err = mlx5_cmd_exec(dev, in, inlen, lout, sizeof(lout)); in mlx5_core_create_mkey()
78 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_core_query_mkey()
Dtransobj.c72 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_create_rq()
116 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_create_sq()
246 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_create_rqt()
261 return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_modify_rqt()
Dfs_cmd.c194 return mlx5_cmd_exec(slave, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_set_slave_root_fdb()
743 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_cmd_set_fte()
842 err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_fc_query()
868 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_cmd_fc_bulk_query()
922 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_cmd_packet_reformat_alloc()
1010 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_cmd_modify_header_alloc()
1044 return mlx5_cmd_exec(ns->dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_destroy_match_definer()
Dvport.c294 err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in mlx5_query_nic_vport_mac_list()
363 err = mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in mlx5_modify_nic_vport_mac_list()
414 err = mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in mlx5_modify_nic_vport_vlans()
568 err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in mlx5_query_hca_vport_gid()
633 err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in mlx5_query_hca_vport_pkey()
Dcq.c206 return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_modify_cq()
Dcmd.c1269 err = mlx5_cmd_exec(dev, dbg->in_msg, dbg->inlen, dbg->out_msg, dbg->outlen); in dbg_write()
2002 int mlx5_cmd_exec(struct mlx5_core_dev *dev, void *in, int in_size, void *out, in mlx5_cmd_exec() function
2009 EXPORT_SYMBOL(mlx5_cmd_exec);
/linux-6.6.21/drivers/vdpa/mlx5/core/
Dresources.c73 err = mlx5_cmd_exec(mvdev->mdev, in, inlen, out, sizeof(out)); in create_uctx()
92 mlx5_cmd_exec(mvdev->mdev, in, sizeof(in), out, sizeof(out)); in destroy_uctx()
125 err = mlx5_cmd_exec(mvdev->mdev, in, inlen, out, sizeof(out)); in mlx5_vdpa_create_rqt()
139 return mlx5_cmd_exec(mvdev->mdev, in, inlen, out, sizeof(out)); in mlx5_vdpa_modify_rqt()
211 err = mlx5_cmd_exec(mvdev->mdev, in, inlen, lout, sizeof(lout)); in mlx5_vdpa_create_mkey()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c102 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in dr_cmd_query_nic_vport_roce_en()
277 ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5dr_cmd_query_flow_sampler()
345 err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in mlx5dr_cmd_set_fte_modify_and_vport()
389 err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in mlx5dr_cmd_alloc_modify_header()
565 err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in mlx5dr_cmd_create_reformat_ctx()
644 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5dr_cmd_create_definer()
663 mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5dr_cmd_destroy_definer()
721 ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5dr_cmd_create_modify_header_arg()
741 mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5dr_cmd_destroy_modify_header_arg()
966 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5dr_cmd_set_fte()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgeneve.c43 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_geneve_tlv_option_create()
60 mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_geneve_tlv_option_destroy()
Ddm.c199 ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_dm_sw_icm_alloc()
255 err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_dm_sw_icm_dealloc()
Dcrypto.c177 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_crypto_create_dek_bulk()
215 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_crypto_modify_dek_key()
251 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_crypto_create_dek_key()
272 mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_crypto_destroy_dek_key()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dqpc.c240 err = mlx5_cmd_exec(dev->mdev, in, inlen, out, in mlx5_qpc_create_qp()
490 err = mlx5_cmd_exec(dev->mdev, mbox.in, mbox.inlen, mbox.out, in mlx5_core_qp_modify()
532 return mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, outlen); in mlx5_core_qp_query()
544 return mlx5_cmd_exec(dev->mdev, (void *)&in, sizeof(in), (void *)out, in mlx5_core_dct_query()
628 err = mlx5_cmd_exec(dev->mdev, in, inlen, out, sizeof(out)); in mlx5_core_create_sq_tracked()
Dsrq_cmd.c153 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, in create_srq_cmd()
258 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, in create_xrc_srq_cmd()
374 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, outlen); in create_rmp_cmd()
524 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, in create_xrq_cmd()
Dstd_types.c101 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, out_sz); in fill_vport_vhca_id()
Ddevx.c137 err = mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in mlx5_ib_devx_create()
153 mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in mlx5_ib_devx_destroy()
1413 ret = mlx5_cmd_exec(obj->ib_dev->mdev, obj->dinbox, in devx_obj_cleanup()
1575 mlx5_cmd_exec(obj->ib_dev->mdev, obj->dinbox, obj->dinlen, out, in UVERBS_HANDLER()
2351 err = mlx5_cmd_exec(dev->mdev, cmd.in, cmd.inlen, cmd.out, in UVERBS_HANDLER()
2380 err = mlx5_cmd_exec(obj->mdev, obj->dinbox, obj->dinlen, out, sizeof(out)); in devx_umem_cleanup()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c177 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_create_ipsec_obj()
197 mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_destroy_ipsec_obj()
256 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_modify_ipsec_obj()
281 return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_modify_ipsec_obj()
Dmacsec.c288 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5e_macsec_create_object()
310 mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5e_macsec_destroy_object()
1300 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5e_macsec_modify_obj()
1327 return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5e_macsec_modify_obj()
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c438 err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in qp_create()
732 err = mlx5_cmd_exec(ndev->mvdev.mdev, in, inlen, out, sizeof(out)); in create_umem()
770 if (mlx5_cmd_exec(ndev->mvdev.mdev, in, sizeof(in), out, sizeof(out))) in umem_destroy()
927 err = mlx5_cmd_exec(ndev->mvdev.mdev, in, inlen, out, sizeof(out)); in create_virtqueue()
955 if (mlx5_cmd_exec(ndev->mvdev.mdev, in, sizeof(in), out, sizeof(out))) { in destroy_virtqueue()
1080 err = mlx5_cmd_exec(ndev->mvdev.mdev, in, inlen, out, outlen); in modify_qp()
1142 err = mlx5_cmd_exec(ndev->mvdev.mdev, in, sizeof(in), out, outlen); in query_virtqueue()
1203 err = mlx5_cmd_exec(ndev->mvdev.mdev, in, inlen, out, sizeof(out)); in modify_virtqueue()
1227 err = mlx5_cmd_exec(ndev->mvdev.mdev, in, sizeof(in), out, sizeof(out)); in counter_set_alloc()
1248 if (mlx5_cmd_exec(ndev->mvdev.mdev, in, sizeof(in), out, sizeof(out))) in counter_set_dealloc()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.c220 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5e_flow_meter_create_aso_obj()
240 mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5e_flow_meter_destroy_aso_obj()
Dsample.c140 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in sampler_obj_create()
157 mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in sampler_obj_destroy()
/linux-6.6.21/drivers/vfio/pci/mlx5/
Dcmd.c808 err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in mlx5vf_create_tracker()
828 return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5vf_cmd_destroy_tracker()
851 return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5vf_cmd_modify_tracker()
1084 err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in mlx5vf_create_rc_qp()
/linux-6.6.21/include/linux/mlx5/
Ddriver.h1008 int mlx5_cmd_exec(struct mlx5_core_dev *dev, void *in, int in_size, void *out,
1013 mlx5_cmd_exec(dev, in, MLX5_ST_SZ_BYTES(ifc_cmd##_in), out, \

12