| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_main.c | 222 mdev->limits.max_srq_sge = mthca_max_srq_sge(mdev); in mthca_dev_lim() 353 mthca_alloc_icm(mdev, mdev->fw.arbel.fw_pages, in mthca_load_fw() 360 err = mthca_MAP_FA(mdev, mdev->fw.arbel.fw_icm); in mthca_load_fw() 377 mthca_free_icm(mdev, mdev->fw.arbel.fw_icm, 0); in mthca_load_fw() 552 mthca_free_icm(mdev, mdev->fw.arbel.aux_icm, 0); in mthca_init_icm() 572 mthca_free_icm(mdev, mdev->fw.arbel.aux_icm, 0); in mthca_free_icms() 639 mthca_free_icm(mdev, mdev->fw.arbel.fw_icm, 0); in mthca_init_arbel() 656 mthca_free_icm(mdev, mdev->fw.arbel.fw_icm, 0); in mthca_close_hca() 1057 mthca_pd_free(mdev, &mdev->driver_pd); in __mthca_init_one() 1104 mthca_pd_free(mdev, &mdev->driver_pd); in __mthca_remove_one() [all …]
|
| H A D | mthca_reset.c | 41 int mthca_reset(struct mthca_dev *mdev) in mthca_reset() argument 73 if (!(mdev->mthca_flags & MTHCA_FLAG_PCIE)) { in mthca_reset() 78 mdev->pdev->device + 2, in mthca_reset() 81 bridge->subordinate == mdev->pdev->bus) { in mthca_reset() 82 mthca_dbg(mdev, "Found bridge: %s\n", in mthca_reset() 94 mthca_warn(mdev, "No bridge found for %s\n", in mthca_reset() 95 pci_name(mdev->pdev)); in mthca_reset() 118 mthca_err(mdev, "Couldn't save HCA " in mthca_reset() 142 mthca_err(mdev, "Couldn't save HCA bridge " in mthca_reset() 150 mthca_err(mdev, "Couldn't locate HCA bridge " in mthca_reset() [all …]
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_en/ |
| H A D | mlx4_en_main.c | 164 kfree(mdev); in mlx4_en_remove() 175 if (mlx4_en_init_netdev(mdev, i, &mdev->profile.prof[i])) in mlx4_en_activate() 185 mdev = kzalloc(sizeof(*mdev), GFP_KERNEL); in mlx4_en_add() 186 if (!mdev) in mlx4_en_add() 201 mdev->dev = dev; in mlx4_en_add() 211 if (mlx4_mr_alloc(mdev->dev, mdev->priv_pdn, 0, ~0ull, in mlx4_en_add() 217 if (mlx4_mr_enable(mdev->dev, &mdev->mr)) { in mlx4_en_add() 231 mdev->port_cnt++; in mlx4_en_add() 248 return mdev; in mlx4_en_add() 253 if (mdev->uar_map) in mlx4_en_add() [all …]
|
| H A D | mlx4_en_cq.c | 57 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_cq() local 88 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq() 91 err = mlx4_alloc_hwq_res(mdev->dev, &cq->wqres, in mlx4_en_create_cq() 116 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_activate_cq() local 121 cq->dev = mdev->pndev[priv->port]; in mlx4_en_activate_cq() 133 err = mlx4_assign_eq(mdev->dev, priv->port, in mlx4_en_activate_cq() 177 mlx4_release_eq(mdev->dev, cq->vector); in mlx4_en_activate_cq() 178 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_activate_cq() 184 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_destroy_cq() local 210 mlx4_cq_free(priv->mdev->dev, &cq->mcq); in mlx4_en_deactivate_cq() [all …]
|
| H A D | mlx4_en_netdev.c | 406 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local 433 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local 478 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local 530 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local 556 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local 592 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local 1013 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_do_set_rx_mode() local 1642 mdev = priv->mdev; in mlx4_en_open() 1969 mdev = priv->mdev; in mlx4_en_ioctl() 2182 priv->mdev = mdev; in mlx4_en_init_netdev() [all …]
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fwdump.c | 62 mdev->dump_data = NULL; in mlx5_fwdump_destroy_dd() 82 mlx5_core_warn(mdev, in mlx5_fwdump_prep() 92 mlx5_core_warn(mdev, in mlx5_fwdump_prep() 118 mlx5_core_warn(mdev, in mlx5_fwdump_prep() 175 mlx5_core_err(mdev, in mlx5_fwdump_prep() 180 mdev->dump_size = mlx5_fwdump_getsize(mdev->dump_rege); in mlx5_fwdump_prep() 181 mdev->dump_data = malloc(mdev->dump_size * sizeof(uint32_t), in mlx5_fwdump_prep() 207 mlx5_core_warn(mdev, in mlx5_fwdump() 243 msleep(&mdev->dump_copyout, &mdev->dump_lock, 0, "mlx5fwc", 0); in mlx5_fwdump_clean() 258 msleep(&mdev->dump_copyout, &mdev->dump_lock, in mlx5_fwdump_reset() [all …]
|
| H A D | mlx5_vsc.c | 37 device_t dev = mdev->pdev->dev.bsddev; in mlx5_vsc_lock() 38 int vsc_addr = mdev->vsc_addr; in mlx5_vsc_lock() 77 device_t dev = mdev->pdev->dev.bsddev; in mlx5_vsc_unlock() 78 int vsc_addr = mdev->vsc_addr; in mlx5_vsc_unlock() 92 int vsc_addr = mdev->vsc_addr; in mlx5_vsc_wait_on_flag() 114 int vsc_addr = mdev->vsc_addr; in mlx5_vsc_set_space() 137 int vsc_addr = mdev->vsc_addr; in mlx5_vsc_write() 151 err = mlx5_vsc_wait_on_flag(mdev, 0); in mlx5_vsc_write() 161 int vsc_addr = mdev->vsc_addr; in mlx5_vsc_read() 187 int vsc_addr = mdev->vsc_addr; in mlx5_vsc_lock_addr_space() [all …]
|
| H A D | mlx5_wq.c | 75 err = mlx5_db_alloc(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create() 91 wq_ctrl->mdev = mdev; in mlx5_wq_cyc_create() 96 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create() 112 err = mlx5_db_alloc(mdev, &wq_ctrl->db); in mlx5_cqwq_create() 128 wq_ctrl->mdev = mdev; in mlx5_cqwq_create() 133 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_cqwq_create() 150 err = mlx5_db_alloc(mdev, &wq_ctrl->db); in mlx5_wq_ll_create() 173 wq_ctrl->mdev = mdev; in mlx5_wq_ll_create() 178 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_ll_create() 185 mlx5_buf_free(wq_ctrl->mdev, &wq_ctrl->buf); in mlx5_wq_destroy() [all …]
|
| H A D | mlx5_uar.c | 64 if (MLX5_CAP_GEN(mdev, uar_4k)) in uars_per_sys_page() 74 if (MLX5_CAP_GEN(mdev, uar_4k)) in uar2pfn() 88 if (mlx5_cmd_free_uar(up->mdev, up->index)) in up_rel_func() 109 up->mdev = mdev; in alloc_uars_page() 128 err = mlx5_cmd_alloc_uar(mdev, &up->index); in alloc_uars_page() 134 pfn = uar2pfn(mdev, up->index); in alloc_uars_page() 154 if (mlx5_cmd_free_uar(mdev, up->index)) in alloc_uars_page() 174 ret = alloc_uars_page(mdev, false); in mlx5_get_uars_page() 214 bfregs = &mdev->priv.bfregs; in alloc_bfreg() 224 up = alloc_uars_page(mdev, map_wc); in alloc_bfreg() [all …]
|
| H A D | mlx5_vport.c | 124 return (MLX5_CAP_GEN(mdev, max_qp_cnt) - in mlx5_vport_max_q_counter_allocator() 141 if (mdev->num_q_counter_allocated[client_id] > in mlx5_vport_alloc_q_counter() 154 mdev->num_q_counter_allocated[client_id]++; in mlx5_vport_alloc_q_counter() 176 mdev->num_q_counter_allocated[client_id]--; in mlx5_vport_dealloc_q_counter() 233 switch (MLX5_CAP_ETH(mdev, wqe_inline_mode)) { in mlx5_query_min_inline() 520 if (!MLX5_CAP_GEN(mdev, vport_group_manager)) in mlx5_modify_nic_vport_node_guid() 559 if (!MLX5_CAP_GEN(mdev, vport_group_manager)) in mlx5_modify_nic_vport_port_guid() 1067 if (MLX5_CAP_GEN(mdev, num_ports) == 2) in mlx5_query_hca_vport_context() 1532 if (MLX5_CAP_GEN(mdev, disable_local_lb_mc)) in mlx5_nic_vport_update_local_lb() 1536 if (MLX5_CAP_GEN(mdev, disable_local_lb_uc)) in mlx5_nic_vport_update_local_lb() [all …]
|
| H A D | mlx5_port.c | 846 if (!MLX5_CAP_GEN(mdev, ets)) in mlx5_query_port_qetcr_reg() 854 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc() argument 856 u8 num_tc = MLX5_CAP_GEN(mdev, max_tc) ? : 8; in mlx5_max_tc() 867 if (!MLX5_CAP_GEN(mdev, ets)) in mlx5_set_port_qetcr_reg() 887 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_query_port_tc_rate_limit() 910 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_modify_port_tc_rate_limit() 953 if (prio_tc > mlx5_max_tc(mdev)) in mlx5_set_port_prio_tc() 971 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_set_port_tc_group() 1006 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_set_port_tc_bw_alloc() 1026 for (i = 0; i <= mlx5_max_tc(mdev); i++) { in mlx5_query_port_tc_bw_alloc() [all …]
|
| H A D | mlx5_tls.c | 38 int mlx5_encryption_key_create(struct mlx5_core_dev *mdev, u32 pdn, in mlx5_encryption_key_create() argument 46 general_obj_types = MLX5_CAP_GEN_64(mdev, general_obj_types); in mlx5_encryption_key_create() 76 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_encryption_key_create() 86 int mlx5_encryption_key_destroy(struct mlx5_core_dev *mdev, u32 oid) in mlx5_encryption_key_destroy() argument 95 return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in mlx5_encryption_key_destroy() 109 err = mlx5_core_create_tis(mdev, in, sizeof(in), p_tisn); in mlx5_tls_open_tis() 118 void mlx5_tls_close_tis(struct mlx5_core_dev *mdev, u32 tisn) in mlx5_tls_close_tis() argument 121 mlx5_core_destroy_tis(mdev, tisn); in mlx5_tls_close_tis() 139 err = mlx5_core_create_tir(mdev, in, sizeof(in), p_tirn); in mlx5_tls_open_tir() 148 void mlx5_tls_close_tir(struct mlx5_core_dev *mdev, u32 tirn) in mlx5_tls_close_tir() argument [all …]
|
| /freebsd-13.1/sys/dev/mlx5/ |
| H A D | vport.h | 43 int mlx5_vport_query_q_counter(struct mlx5_core_dev *mdev, 56 int mlx5_nic_vport_query_local_lb(struct mlx5_core_dev *mdev, 60 int mlx5_nic_vport_modify_local_lb(struct mlx5_core_dev *mdev, 69 int mlx5_query_vport_mtu(struct mlx5_core_dev *mdev, int *mtu); 70 int mlx5_set_vport_mtu(struct mlx5_core_dev *mdev, int mtu); 74 int mlx5_query_nic_vport_promisc(struct mlx5_core_dev *mdev, 80 int mlx5_modify_nic_vport_promisc(struct mlx5_core_dev *mdev, 90 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, 125 int mlx5_nic_vport_enable_roce(struct mlx5_core_dev *mdev); 126 int mlx5_nic_vport_disable_roce(struct mlx5_core_dev *mdev); [all …]
|
| H A D | device.h | 990 #define MLX5_CAP_GEN(mdev, cap) \ argument 999 #define MLX5_CAP_ETH(mdev, cap) \ argument 1007 #define MLX5_CAP_ROCE(mdev, cap) \ argument 1013 #define MLX5_CAP_ATOMIC(mdev, cap) \ argument 1057 #define MLX5_CAP_ESW(mdev, cap) \ argument 1065 #define MLX5_CAP_ODP(mdev, cap)\ argument 1068 #define MLX5_CAP_ODP_MAX(mdev, cap)\ argument 1087 #define MLX5_CAP_DEBUG(mdev, cap) \ argument 1095 #define MLX5_CAP_QOS(mdev, cap) \ argument 1121 #define MLX5_CAP_FPGA(mdev, cap) \ argument [all …]
|
| H A D | port.h | 204 int mlx5_max_tc(struct mlx5_core_dev *mdev); 205 int mlx5_query_port_tc_rate_limit(struct mlx5_core_dev *mdev, 208 int mlx5_modify_port_tc_rate_limit(struct mlx5_core_dev *mdev, 211 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, 213 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, int prio_index, 216 int mlx5_query_port_tc_group(struct mlx5_core_dev *mdev, 221 int mlx5_set_trust_state(struct mlx5_core_dev *mdev, u8 trust_state); 226 int mlx5_query_dscp2prio(struct mlx5_core_dev *mdev, u8 *dscp2prio); 232 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed); 236 int mlx5e_port_query_pbmc(struct mlx5_core_dev *mdev, void *out); [all …]
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_fpga/ |
| H A D | core.h | 61 struct mlx5_core_dev *mdev; member 99 dev_warn_ratelimited(&(__adev)->mdev->pdev->dev, "FPGA: %s:%d: " \ 106 dev_info(&(__adev)->mdev->pdev->dev, "FPGA: " format, ##__VA_ARGS__) 108 int mlx5_fpga_init(struct mlx5_core_dev *mdev); 109 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev); 110 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev); 111 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev); 116 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init() argument 121 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup() argument 125 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start() argument [all …]
|
| H A D | mlx5fpga_core.c | 155 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check() 186 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_device_brb() local 209 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_device_start() 222 err = mlx5_fpga_caps(fdev->mdev); in mlx5_fpga_device_start() 337 if (!MLX5_CAP_GEN(mdev, fpga)) { in mlx5_fpga_init() 348 fdev->mdev = mdev; in mlx5_fpga_init() 349 mdev->fpga = fdev; in mlx5_fpga_init() 373 fpga_id = MLX5_CAP_FPGA(mdev, fpga_id); in mlx5_fpga_device_stop() 428 mlx5_fpga_device_stop(mdev); in mlx5_fpga_cleanup() 435 mdev->fpga = NULL; in mlx5_fpga_cleanup() [all …]
|
| H A D | ipsec.h | 42 void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, 46 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev); 47 unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev); 51 int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev); 52 void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev); 56 static inline void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_sa_cmd_exec() argument 67 static inline u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps() argument 73 mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count() argument 78 static inline int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_counters_read() argument 84 static inline int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_init() argument [all …]
|
| H A D | mlx5fpga_sdk.c | 143 if (!fdev->mdev) in mlx5_fpga_mem_read_i2c() 175 if (!fdev->mdev) in mlx5_fpga_mem_write_i2c() 329 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_device_reload_cmd() local 352 err = mlx5_fpga_device_start(mdev); in mlx5_fpga_device_reload_cmd() 369 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_device_reload() local 400 mlx5_unregister_device(mdev); in mlx5_fpga_device_reload() 402 mlx5_fpga_device_stop(mdev); in mlx5_fpga_device_reload() 448 err = mlx5_register_device(mdev); in mlx5_fpga_device_reload() 461 mlx5_fpga_device_stop(mdev); in mlx5_fpga_device_reload() 531 return &fdev->mdev->pdev->dev; in mlx5_fpga_dev() [all …]
|
| H A D | mlx5fpga_ipsec.c | 82 if (!mdev->fpga || !MLX5_CAP_GEN(mdev, fpga)) in mlx5_fpga_is_ipsec_device() 85 if (MLX5_CAP_FPGA(mdev, ieee_vendor_id) != in mlx5_fpga_is_ipsec_device() 180 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_sa_cmd_exec() 240 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_device_caps() 243 if (mlx5_fpga_is_ipsec_device(mdev)) in mlx5_fpga_ipsec_device_caps() 265 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_counters_count() 277 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_counters_read() 325 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_init() 329 if (!mlx5_fpga_is_ipsec_device(mdev)) in mlx5_fpga_ipsec_init() 369 struct mlx5_fpga_device *fdev = mdev->fpga; in mlx5_fpga_ipsec_cleanup() [all …]
|
| H A D | mlx5fpga_conn.c | 57 dma_device = &conn->fdev->mdev->pdev->dev; in mlx5_fpga_conn_map_buf() 89 dma_device = &conn->fdev->mdev->pdev->dev; in mlx5_fpga_conn_unmap_buf() 430 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_create_cq() local 443 wqp.buf_numa_node = mdev->priv.numa_node; in mlx5_fpga_conn_create_cq() 519 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_create_wq() local 533 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_create_qp() local 665 struct mlx5_core_dev *mdev = conn->fdev->mdev; in mlx5_fpga_conn_reset_qp() local 676 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_init_qp() local 712 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_rtr_qp() local 757 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_rts_qp() local [all …]
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_accel/ |
| H A D | ipsec.h | 67 #define MLX5_IPSEC_DEV(mdev) (mlx5_accel_ipsec_device_caps(mdev) & \ argument 104 void *mlx5_accel_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, 115 u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev); 117 unsigned int mlx5_accel_ipsec_counters_count(struct mlx5_core_dev *mdev); 118 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, 121 int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev); 122 void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev); 126 #define MLX5_IPSEC_DEV(mdev) false argument 128 static inline int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_init() argument 133 static inline void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_cleanup() argument
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_ethtool.c | 113 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_getmaxrate() local 149 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_max_alloc() local 172 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_dscp() local 227 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_tc_maxrate_handler() local 270 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_tc_rate_share_handler() local 314 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_prio_tc() local 337 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_prio_to_tc_handler() local 374 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_update() local 444 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_mask_10x_25x_handler() local 549 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_mask_50x_handler() local [all …]
|
| H A D | mlx5_en_main.c | 359 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier() local 528 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_media_change() local 628 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pcie_counters() local 678 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pport_counters() local 804 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_stats_locked() local 1191 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_rq() local 1326 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_enable_rq() local 1370 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_modify_rq() local 1400 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_disable_rq() local 1665 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_sq() local [all …]
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_main.c | 526 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_query_system_image_guid() local 558 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_query_max_pkeys() local 644 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_query_device() local 679 fw_rev_sub(dev->mdev); in mlx5_ib_query_device() 915 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_query_hca_port() local 1019 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_query_gid() local 1038 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_query_pkey() local 1303 if (mlx5_core_is_pf(dev->mdev) && MLX5_CAP_GEN(dev->mdev, bf)) in mlx5_ib_alloc_ucontext() 1818 mlx5_core_dealloc_pd(mdev->mdev, mpd->pdn); in mlx5_ib_dealloc_pd() 3094 fw_rev_min(dev->mdev), fw_rev_sub(dev->mdev)); in get_dev_fw_str() [all …]
|