| /freebsd-12-stable/sys/dev/mlx5/mlx5_fpga/ |
| D | ipsec.h | 56 static inline void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_sa_cmd_exec() 67 static inline u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps() 73 mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count() 78 static inline int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_counters_read() 84 static inline int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_init() 89 static inline void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_cleanup()
|
| D | mlx5fpga_ipsec.c | 80 static bool mlx5_fpga_is_ipsec_device(struct mlx5_core_dev *mdev) in mlx5_fpga_is_ipsec_device() 176 void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_sa_cmd_exec() 238 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps() 263 unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count() 274 int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, in mlx5_fpga_ipsec_counters_read() 322 int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_init() 367 void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_cleanup()
|
| D | core.h | 61 struct mlx5_core_dev *mdev; member 116 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init() 121 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup() 125 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start() 130 static inline void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop() 134 static inline void mlx5_fpga_event(struct mlx5_core_dev *mdev, u8 event, in mlx5_fpga_event()
|
| D | mlx5fpga_core.c | 186 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_device_brb() local 206 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start() 332 int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init() 361 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop() 418 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup() 454 void mlx5_fpga_event(struct mlx5_core_dev *mdev, u8 event, void *data) in mlx5_fpga_event()
|
| D | mlx5fpga_conn.c | 222 static int mlx5_fpga_conn_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, in mlx5_fpga_conn_create_mkey() 430 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_create_cq() local 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 969 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_destroy() local
|
| /freebsd-12-stable/sys/dev/mlx5/mlx5_core/ |
| D | mlx5_vsc.c | 32 int mlx5_vsc_lock(struct mlx5_core_dev *mdev) in mlx5_vsc_lock() 72 void mlx5_vsc_unlock(struct mlx5_core_dev *mdev) in mlx5_vsc_unlock() 86 mlx5_vsc_wait_on_flag(struct mlx5_core_dev *mdev, u32 expected) in mlx5_vsc_wait_on_flag() 108 int mlx5_vsc_set_space(struct mlx5_core_dev *mdev, u16 space) in mlx5_vsc_set_space() 131 int mlx5_vsc_write(struct mlx5_core_dev *mdev, u32 addr, const u32 *data) in mlx5_vsc_write() 155 int mlx5_vsc_read(struct mlx5_core_dev *mdev, u32 addr, u32 *data) in mlx5_vsc_read() 181 int mlx5_vsc_lock_addr_space(struct mlx5_core_dev *mdev, u32 addr) in mlx5_vsc_lock_addr_space() 211 int mlx5_vsc_unlock_addr_space(struct mlx5_core_dev *mdev, u32 addr) in mlx5_vsc_unlock_addr_space() 235 int mlx5_vsc_find_cap(struct mlx5_core_dev *mdev) in mlx5_vsc_find_cap()
|
| D | mlx5_vport.c | 36 static int _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, in _mlx5_query_vport_state() 56 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state() 66 u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_admin_state() 76 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state() 101 static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, in mlx5_query_nic_vport_context() 116 static u32 mlx5_vport_max_q_counter_allocator(struct mlx5_core_dev *mdev, in mlx5_vport_max_q_counter_allocator() 131 int mlx5_vport_alloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_alloc_q_counter() 156 int mlx5_vport_dealloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_dealloc_q_counter() 178 int mlx5_vport_query_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_query_q_counter() 193 int mlx5_vport_query_out_of_rx_buffer(struct mlx5_core_dev *mdev, in mlx5_vport_query_out_of_rx_buffer() [all …]
|
| D | mlx5_fwdump.c | 54 mlx5_fwdump_destroy_dd(struct mlx5_core_dev *mdev) in mlx5_fwdump_destroy_dd() 63 mlx5_fwdump_prep(struct mlx5_core_dev *mdev) in mlx5_fwdump_prep() 173 mlx5_fwdump(struct mlx5_core_dev *mdev) in mlx5_fwdump() 218 mlx5_fwdump_clean(struct mlx5_core_dev *mdev) in mlx5_fwdump_clean() 230 mlx5_fwdump_reset(struct mlx5_core_dev *mdev) in mlx5_fwdump_reset() 251 struct mlx5_core_dev **mdev) in mlx5_dbsf_to_core() 270 mlx5_fwdump_copyout(struct mlx5_core_dev *mdev, struct mlx5_fwdump_get *fwg) in mlx5_fwdump_copyout() 318 mlx5_fw_reset(struct mlx5_core_dev *mdev) in mlx5_fw_reset() 387 struct mlx5_core_dev *mdev; in mlx5_ctl_ioctl() local
|
| D | mlx5_port.c | 69 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg() 791 int mlx5_query_port_cong_status(struct mlx5_core_dev *mdev, int protocol, in mlx5_query_port_cong_status() 811 int mlx5_modify_port_cong_status(struct mlx5_core_dev *mdev, int protocol, in mlx5_modify_port_cong_status() 826 int mlx5_query_port_cong_params(struct mlx5_core_dev *mdev, int protocol, in mlx5_query_port_cong_params() 838 static int mlx5_query_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *out, in mlx5_query_port_qetcr_reg() 851 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc() 859 static int mlx5_set_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *in, in mlx5_set_port_qetcr_reg() 871 int mlx5_query_port_tc_rate_limit(struct mlx5_core_dev *mdev, in mlx5_query_port_tc_rate_limit() 897 int mlx5_modify_port_tc_rate_limit(struct mlx5_core_dev *mdev, in mlx5_modify_port_tc_rate_limit() 921 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, in mlx5_query_port_prio_tc() [all …]
|
| D | mlx5_wq.c | 62 int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_cyc_create() 99 int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_cqwq_create() 137 int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_ll_create()
|
| D | mlx5_uar.c | 162 int mlx5_alloc_map_uar(struct mlx5_core_dev *mdev, struct mlx5_uar *uar) in mlx5_alloc_map_uar() 197 void mlx5_unmap_free_uar(struct mlx5_core_dev *mdev, struct mlx5_uar *uar) in mlx5_unmap_free_uar()
|
| /freebsd-12-stable/sys/dev/mthca/ |
| D | mthca_main.c | 137 static int mthca_tune_pci(struct mthca_dev *mdev) in mthca_tune_pci() 165 static int mthca_dev_lim(struct mthca_dev *mdev, struct mthca_dev_lim *dev_lim) in mthca_dev_lim() 288 static int mthca_init_tavor(struct mthca_dev *mdev) in mthca_init_tavor() 346 static int mthca_load_fw(struct mthca_dev *mdev) in mthca_load_fw() 381 static int mthca_init_icm(struct mthca_dev *mdev, in mthca_init_icm() 557 static void mthca_free_icms(struct mthca_dev *mdev) in mthca_free_icms() 575 static int mthca_init_arbel(struct mthca_dev *mdev) in mthca_init_arbel() 648 static void mthca_close_hca(struct mthca_dev *mdev) in mthca_close_hca() 664 static int mthca_init_hca(struct mthca_dev *mdev) in mthca_init_hca() 852 static int mthca_enable_msi_x(struct mthca_dev *mdev) in mthca_enable_msi_x() [all …]
|
| D | mthca_reset.c | 41 int mthca_reset(struct mthca_dev *mdev) in mthca_reset()
|
| /freebsd-12-stable/sys/dev/mlx4/mlx4_en/ |
| D | mlx4_en_main.c | 75 static int mlx4_en_get_profile(struct mlx4_en_dev *mdev) in mlx4_en_get_profile() 114 struct mlx4_en_dev *mdev = (struct mlx4_en_dev *) endev_ptr; in mlx4_en_event() local 147 struct mlx4_en_dev *mdev = endev_ptr; in mlx4_en_remove() local 170 struct mlx4_en_dev *mdev = ctx; in mlx4_en_activate() local 182 struct mlx4_en_dev *mdev; in mlx4_en_add() local
|
| D | mlx4_en_netdev.c | 405 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local 432 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local 477 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local 529 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local 555 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local 591 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local 744 struct mlx4_en_dev *mdev) in mlx4_en_set_promisc_mode() 802 struct mlx4_en_dev *mdev) in mlx4_en_clear_promisc_mode() 848 struct mlx4_en_dev *mdev) in mlx4_en_do_multicast() 983 struct mlx4_en_dev *mdev) in mlx4_en_do_unicast() [all …]
|
| D | mlx4_en_port.c | 74 int mlx4_en_QUERY_PORT(struct mlx4_en_dev *mdev, u8 port) in mlx4_en_QUERY_PORT() 155 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_fold_software_stats() local 185 int mlx4_en_DUMP_ETH_STATS(struct mlx4_en_dev *mdev, u8 port, u8 reset) in mlx4_en_DUMP_ETH_STATS() 437 int mlx4_en_get_vport_stats(struct mlx4_en_dev *mdev, u8 port) in mlx4_en_get_vport_stats()
|
| D | mlx4_en_cq.c | 57 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_cq() local 116 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_activate_cq() local 184 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_destroy_cq() local
|
| D | mlx4_en_rx.c | 321 void mlx4_en_set_num_rx_rings(struct mlx4_en_dev *mdev) in mlx4_en_set_num_rx_rings() 369 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_rx_ring() local 549 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_destroy_rx_ring() local 921 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_config_rss_qp() local 1026 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_config_rss_steer() local 1112 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_release_rss_steer() local
|
| D | mlx4_en_resources.c | 45 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_fill_qp_context() local
|
| /freebsd-12-stable/sys/dev/mlx5/mlx5_en/ |
| D | mlx5_en_ethtool.c | 90 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_getmaxrate() local 126 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_max_alloc() local 149 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_dscp() local 204 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_tc_maxrate_handler() local 247 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_tc_rate_share_handler() local 291 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_prio_tc() local 314 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_prio_to_tc_handler() local 351 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_update() local 421 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_mask_10x_25x_handler() local 526 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_mask_50x_handler() local [all …]
|
| D | mlx5_en_main.c | 412 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier() local 569 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_media_change() local 669 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pcie_counters() local 719 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pport_counters() local 845 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_stats_locked() local 1112 mlx5e_async_event(struct mlx5_core_dev *mdev, void *vpriv, in mlx5e_async_event() 1254 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_rq() local 1388 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_enable_rq() local 1431 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_modify_rq() local 1461 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_disable_rq() local [all …]
|
| D | mlx5_en_port_buffer.c | 35 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_port_query_buffer() local 89 struct mlx5_core_dev *mdev = priv->mdev; in port_set_buffer() local
|
| /freebsd-12-stable/sys/dev/mlx5/mlx5_accel/ |
| D | ipsec.h | 67 #define MLX5_IPSEC_DEV(mdev) (mlx5_accel_ipsec_device_caps(mdev) & \ argument 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() 133 static inline void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_cleanup()
|
| /freebsd-12-stable/sys/dev/mlx5/ |
| D | device.h | 959 #define MLX5_CAP_GEN(mdev, cap) \ argument 962 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument 965 #define MLX5_CAP_ETH(mdev, cap) \ argument 969 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument 973 #define MLX5_CAP_ROCE(mdev, cap) \ argument 976 #define MLX5_CAP_ROCE_MAX(mdev, cap) \ argument 979 #define MLX5_CAP_ATOMIC(mdev, cap) \ argument 982 #define MLX5_CAP_ATOMIC_MAX(mdev, cap) \ argument 985 #define MLX5_CAP_FLOWTABLE(mdev, cap) \ argument 988 #define MLX5_CAP_FLOWTABLE_MAX(mdev, cap) \ argument [all …]
|
| /freebsd-12-stable/sys/dev/mlx4/mlx4_ib/ |
| D | mlx4_ib_main.c | 695 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in eth_link_query_port() local 891 static void mlx4_init_sl2vl_tbl(struct mlx4_ib_dev *mdev) in mlx4_init_sl2vl_tbl() 1013 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in mlx4_ib_modify_port() local 1312 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in add_gid_entry() local 1348 int mlx4_ib_add_mc(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, in mlx4_ib_add_mc() 1528 struct mlx4_ib_dev *mdev, in __mlx4_ib_create_default_rules() 1573 struct mlx4_ib_dev *mdev = to_mdev(qp->device); in __mlx4_ib_create_flow() local 1859 struct mlx4_ib_dev *mdev = to_mdev(flow_id->qp->device); in mlx4_ib_destroy_flow() local 1882 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_attach() local 1960 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_detach() local [all …]
|