| /freebsd-13.1/sys/dev/mlx5/mlx5_fpga/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_vsc.c | 35 int mlx5_vsc_lock(struct mlx5_core_dev *mdev) in mlx5_vsc_lock() 75 void mlx5_vsc_unlock(struct mlx5_core_dev *mdev) in mlx5_vsc_unlock() 89 mlx5_vsc_wait_on_flag(struct mlx5_core_dev *mdev, u32 expected) in mlx5_vsc_wait_on_flag() 111 int mlx5_vsc_set_space(struct mlx5_core_dev *mdev, u16 space) in mlx5_vsc_set_space() 134 int mlx5_vsc_write(struct mlx5_core_dev *mdev, u32 addr, const u32 *data) in mlx5_vsc_write() 158 int mlx5_vsc_read(struct mlx5_core_dev *mdev, u32 addr, u32 *data) in mlx5_vsc_read() 184 int mlx5_vsc_lock_addr_space(struct mlx5_core_dev *mdev, u32 addr) in mlx5_vsc_lock_addr_space() 214 int mlx5_vsc_unlock_addr_space(struct mlx5_core_dev *mdev, u32 addr) in mlx5_vsc_unlock_addr_space() 238 int mlx5_vsc_find_cap(struct mlx5_core_dev *mdev) in mlx5_vsc_find_cap()
|
| H A D | mlx5_vport.c | 134 int mlx5_vport_alloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_alloc_q_counter() 159 int mlx5_vport_dealloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_dealloc_q_counter() 181 int mlx5_vport_query_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_query_q_counter() 214 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_min_inline() 228 int mlx5_query_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_min_inline() 995 int mlx5_nic_vport_enable_roce(struct mlx5_core_dev *mdev) in mlx5_nic_vport_enable_roce() 1001 int mlx5_nic_vport_disable_roce(struct mlx5_core_dev *mdev) in mlx5_nic_vport_disable_roce() 1044 int mlx5_query_hca_vport_context(struct mlx5_core_dev *mdev, in mlx5_query_hca_vport_context() 1370 int mlx5_set_vport_mtu(struct mlx5_core_dev *mdev, int mtu) in mlx5_set_vport_mtu() 1413 int mlx5_set_vport_min_wqe_header(struct mlx5_core_dev *mdev, in mlx5_set_vport_min_wqe_header() [all …]
|
| H A D | mlx5_fwdump.c | 57 mlx5_fwdump_destroy_dd(struct mlx5_core_dev *mdev) in mlx5_fwdump_destroy_dd() 71 mlx5_fwdump_prep(struct mlx5_core_dev *mdev) in mlx5_fwdump_prep() 193 mlx5_fwdump(struct mlx5_core_dev *mdev) in mlx5_fwdump() 238 mlx5_fwdump_clean(struct mlx5_core_dev *mdev) in mlx5_fwdump_clean() 250 mlx5_fwdump_reset(struct mlx5_core_dev *mdev) in mlx5_fwdump_reset() 271 struct mlx5_core_dev **mdev) in mlx5_dbsf_to_core() 290 mlx5_fwdump_copyout(struct mlx5_core_dev *mdev, struct mlx5_fwdump_get *fwg) in mlx5_fwdump_copyout() 338 mlx5_fw_reset(struct mlx5_core_dev *mdev) in mlx5_fw_reset() 407 struct mlx5_core_dev *mdev; in mlx5_ctl_ioctl() local
|
| H A D | mlx5_uar.c | 62 static int uars_per_sys_page(struct mlx5_core_dev *mdev) in uars_per_sys_page() 70 static u64 uar2pfn(struct mlx5_core_dev *mdev, u32 index) in uar2pfn() 95 static struct mlx5_uars_page *alloc_uars_page(struct mlx5_core_dev *mdev, in alloc_uars_page() 163 struct mlx5_uars_page *mlx5_get_uars_page(struct mlx5_core_dev *mdev) in mlx5_get_uars_page() 185 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up) in mlx5_put_uars_page() 193 static unsigned long map_offset(struct mlx5_core_dev *mdev, int dbi) in map_offset() 203 static int alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg, in alloc_bfreg() 256 int mlx5_alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg, in mlx5_alloc_bfreg() 288 void mlx5_free_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg) in mlx5_free_bfreg()
|
| H A D | mlx5_tls.c | 38 int mlx5_encryption_key_create(struct mlx5_core_dev *mdev, u32 pdn, in mlx5_encryption_key_create() 86 int mlx5_encryption_key_destroy(struct mlx5_core_dev *mdev, u32 oid) in mlx5_encryption_key_destroy() 98 int mlx5_tls_open_tis(struct mlx5_core_dev *mdev, int tc, int tdn, int pdn, u32 *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() 124 int mlx5_tls_open_tir(struct mlx5_core_dev *mdev, int tdn, int rqtn, u32 *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()
|
| H A D | mlx5_port.c | 72 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg() 854 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc() 874 int mlx5_query_port_tc_rate_limit(struct mlx5_core_dev *mdev, in mlx5_query_port_tc_rate_limit() 900 int mlx5_modify_port_tc_rate_limit(struct mlx5_core_dev *mdev, in mlx5_modify_port_tc_rate_limit() 924 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, in mlx5_query_port_prio_tc() 980 int mlx5_query_port_tc_group(struct mlx5_core_dev *mdev, in mlx5_query_port_tc_group() 1034 int mlx5_modify_port_cong_params(struct mlx5_core_dev *mdev, in mlx5_modify_port_cong_params() 1068 int mlx5_query_diagnostic_counters(struct mlx5_core_dev *mdev, in mlx5_query_diagnostic_counters() 1181 static int mlx5_query_pddr(struct mlx5_core_dev *mdev, in mlx5_query_pddr() 1282 mlx5_set_mfrl_reg(struct mlx5_core_dev *mdev, u8 reset_level) in mlx5_set_mfrl_reg() [all …]
|
| H A D | mlx5_wq.c | 65 int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_cyc_create() 101 int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_cqwq_create() 138 int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_ll_create()
|
| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_main.c | 137 static int mthca_tune_pci(struct mthca_dev *mdev) in mthca_tune_pci() 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() 904 struct mthca_dev *mdev; in __mthca_init_one() local 1086 struct mthca_dev *mdev = pci_get_drvdata(pdev); in __mthca_remove_one() local [all …]
|
| H A D | mthca_reset.c | 41 int mthca_reset(struct mthca_dev *mdev) in mthca_reset()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_en/ |
| H A 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
|
| 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 742 struct mlx4_en_dev *mdev) in mlx4_en_set_promisc_mode() 800 struct mlx4_en_dev *mdev) in mlx4_en_clear_promisc_mode() 846 struct mlx4_en_dev *mdev) in mlx4_en_do_multicast() 981 struct mlx4_en_dev *mdev) in mlx4_en_do_unicast() 1637 struct mlx4_en_dev *mdev; in mlx4_en_open() local 1952 struct mlx4_en_dev *mdev; in mlx4_en_ioctl() local [all …]
|
| H A 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()
|
| H A 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
|
| H A 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 926 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_config_rss_qp() local 1031 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_config_rss_steer() local 1117 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_release_rss_steer() local
|
| /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 …]
|
| H A D | mlx5_en_port_buffer.c | 38 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_port_query_buffer() local 92 struct mlx5_core_dev *mdev = priv->mdev; in port_set_buffer() local
|
| /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 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-13.1/sys/dev/mlx5/ |
| 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 …]
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_main.c | 692 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in eth_link_query_port() local 889 static void mlx4_init_sl2vl_tbl(struct mlx4_ib_dev *mdev) in mlx4_init_sl2vl_tbl() 1011 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in mlx4_ib_modify_port() local 1310 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in add_gid_entry() local 1526 struct mlx4_ib_dev *mdev, in __mlx4_ib_create_default_rules() 1571 struct mlx4_ib_dev *mdev = to_mdev(qp->device); in __mlx4_ib_create_flow() local 1857 struct mlx4_ib_dev *mdev = to_mdev(flow_id->qp->device); in mlx4_ib_destroy_flow() local 1880 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_attach() local 1958 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_detach() local 2470 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in mlx4_port_immutable() local [all …]
|