| /freebsd-12.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 | 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 | 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_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.1/sys/dev/mlx5/mlx5_core/ |
| H A 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()
|
| H A D | mlx5_vport.c | 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() 211 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_min_inline() 225 int mlx5_query_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_min_inline() 992 int mlx5_nic_vport_enable_roce(struct mlx5_core_dev *mdev) in mlx5_nic_vport_enable_roce() 998 int mlx5_nic_vport_disable_roce(struct mlx5_core_dev *mdev) in mlx5_nic_vport_disable_roce() 1041 int mlx5_query_hca_vport_context(struct mlx5_core_dev *mdev, in mlx5_query_hca_vport_context() 1367 int mlx5_set_vport_mtu(struct mlx5_core_dev *mdev, int mtu) in mlx5_set_vport_mtu() 1410 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 | 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() 155 mlx5_fwdump(struct mlx5_core_dev *mdev) in mlx5_fwdump() 200 mlx5_fwdump_clean(struct mlx5_core_dev *mdev) in mlx5_fwdump_clean() 212 mlx5_fwdump_reset(struct mlx5_core_dev *mdev) in mlx5_fwdump_reset() 233 struct mlx5_core_dev **mdev) in mlx5_dbsf_to_core() 252 mlx5_fwdump_copyout(struct mlx5_core_dev *mdev, struct mlx5_fwdump_get *fwg) in mlx5_fwdump_copyout() 300 mlx5_fw_reset(struct mlx5_core_dev *mdev) in mlx5_fw_reset() 369 struct mlx5_core_dev *mdev; in mlx5_ctl_ioctl() local
|
| H A D | mlx5_port.c | 69 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg() 851 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc() 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() 977 int mlx5_query_port_tc_group(struct mlx5_core_dev *mdev, in mlx5_query_port_tc_group() 1031 int mlx5_modify_port_cong_params(struct mlx5_core_dev *mdev, in mlx5_modify_port_cong_params() 1065 int mlx5_query_diagnostic_counters(struct mlx5_core_dev *mdev, in mlx5_query_diagnostic_counters() 1215 mlx5_query_mfrl_reg(struct mlx5_core_dev *mdev, u8 *reset_level) in mlx5_query_mfrl_reg() 1229 mlx5_set_mfrl_reg(struct mlx5_core_dev *mdev, u8 reset_level) in mlx5_set_mfrl_reg() [all …]
|
| H A 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()
|
| H A 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.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-12.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 | 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 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() 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 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
|
| H A D | mlx4_en_resources.c | 45 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_fill_qp_context() local
|
| /freebsd-12.1/sys/dev/mlx5/mlx5_en/ |
| H A 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 …]
|
| H A D | mlx5_en_main.c | 404 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier() local 561 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_media_change() local 661 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pcie_counters() local 711 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pport_counters() local 837 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_stats_locked() local 1215 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_rq() local 1349 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_enable_rq() local 1392 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_modify_rq() local 1422 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_disable_rq() local 1591 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_sq() local [all …]
|
| H A 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.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-12.1/sys/dev/mlx5/ |
| H A D | device.h | 951 #define MLX5_CAP_GEN(mdev, cap) \ argument 957 #define MLX5_CAP_ETH(mdev, cap) \ argument 965 #define MLX5_CAP_ROCE(mdev, cap) \ argument 971 #define MLX5_CAP_ATOMIC(mdev, cap) \ argument 1009 #define MLX5_CAP_ESW(mdev, cap) \ argument 1017 #define MLX5_CAP_ODP(mdev, cap)\ argument 1020 #define MLX5_CAP_ODP_MAX(mdev, cap)\ argument 1039 #define MLX5_CAP_DEBUG(mdev, cap) \ argument 1047 #define MLX5_CAP_QOS(mdev, cap) \ argument 1073 #define MLX5_CAP_FPGA(mdev, cap) \ argument [all …]
|
| /freebsd-12.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_main.c | 690 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in eth_link_query_port() local 886 static void mlx4_init_sl2vl_tbl(struct mlx4_ib_dev *mdev) in mlx4_init_sl2vl_tbl() 1008 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in mlx4_ib_modify_port() local 1307 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in add_gid_entry() local 1523 struct mlx4_ib_dev *mdev, in __mlx4_ib_create_default_rules() 1568 struct mlx4_ib_dev *mdev = to_mdev(qp->device); in __mlx4_ib_create_flow() local 1854 struct mlx4_ib_dev *mdev = to_mdev(flow_id->qp->device); in mlx4_ib_destroy_flow() local 1877 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_attach() local 1955 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_detach() local 2467 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in mlx4_port_immutable() local [all …]
|