/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | port_tun.c | 15 static void mlx5_query_port_tun_entropy(struct mlx5_core_dev *mdev, 41 static int mlx5_set_port_tun_entropy_calc(struct mlx5_core_dev *mdev, u8 enable, 56 static int mlx5_set_port_gre_tun_entropy_calc(struct mlx5_core_dev *mdev, 72 struct mlx5_core_dev *mdev)
|
H A D | vxlan.c | 41 struct mlx5_core_dev *mdev; 52 static int mlx5_vxlan_core_add_port_cmd(struct mlx5_core_dev *mdev, u16 port) 62 static int mlx5_vxlan_core_del_port_cmd(struct mlx5_core_dev *mdev, u16 port) 147 struct mlx5_vxlan *mlx5_vxlan_create(struct mlx5_core_dev *mdev)
|
H A D | geneve.c | 9 struct mlx5_core_dev *mdev; 17 static int mlx5_geneve_tlv_option_create(struct mlx5_core_dev *mdev, 51 static void mlx5_geneve_tlv_option_destroy(struct mlx5_core_dev *mdev, u16 obj_id) 135 struct mlx5_geneve *mlx5_geneve_create(struct mlx5_core_dev *mdev)
|
H A D | fs_chains.h | 66 mlx5_chains_create(struct mlx5_core_dev *dev, struct mlx5_chains_attr *attr); 92 mlx5_chains_create(struct mlx5_core_dev *dev, struct mlx5_chains_attr *attr)
|
H A D | aso.c | 18 struct mlx5_core_dev *mdev; 45 static int mlx5_aso_alloc_cq(struct mlx5_core_dev *mdev, int numa_node, 78 struct mlx5_core_dev *mdev = cq->mdev; 121 static int mlx5_aso_create_cq(struct mlx5_core_dev *mdev, int numa_node, 158 static int mlx5_aso_alloc_sq(struct mlx5_core_dev *mdev, int numa_node, 178 static int create_aso_sq(struct mlx5_core_dev *mdev, int pdn, 221 static int mlx5_aso_set_sq_rdy(struct mlx5_core_dev *mdev, u32 sqn) 242 static int mlx5_aso_create_sq_rdy(struct mlx5_core_dev *mdev, u32 pdn, 269 static int mlx5_aso_create_sq(struct mlx5_core_dev *mdev, int numa_node, 308 struct mlx5_aso *mlx5_aso_create(struct mlx5_core_dev *mde [all...] |
H A D | ipsec_fs_roce.c | 59 static bool ipsec_fs_create_alias_supported_one(struct mlx5_core_dev *mdev) 74 static bool ipsec_fs_create_alias_supported(struct mlx5_core_dev *mdev, 75 struct mlx5_core_dev *master_mdev) 84 static int ipsec_fs_create_aliased_ft(struct mlx5_core_dev *ibv_owner, 85 struct mlx5_core_dev *ibv_allowed, 131 ipsec_fs_roce_rx_rule_setup(struct mlx5_core_dev *mdev, 205 static int ipsec_fs_roce_tx_rule_setup(struct mlx5_core_dev *mdev, 231 static int ipsec_fs_roce_tx_mpv_rule_setup(struct mlx5_core_dev *mdev, 276 static int ipsec_fs_roce_tx_mpv_create_ft(struct mlx5_core_dev *mdev, 337 static int ipsec_fs_roce_tx_mpv_create_group_rules(struct mlx5_core_dev *mde [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | sample.c | 30 mlx5e_tc_act_sample_is_multi_table(struct mlx5_core_dev *mdev,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
H A D | qos_tracepoint.h | 63 TP_PROTO(const struct mlx5_core_dev *dev, 81 TP_PROTO(const struct mlx5_core_dev *dev, 88 TP_PROTO(const struct mlx5_core_dev *dev, 95 TP_PROTO(const struct mlx5_core_dev *dev,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/diag/ |
H A D | vhca_tracepoint.h | 15 TP_PROTO(const struct mlx5_core_dev *dev,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | lag.c | 83 static int mlx5_cmd_create_lag(struct mlx5_core_dev *dev, u8 *ports, int mode, 116 static int mlx5_cmd_modify_lag(struct mlx5_core_dev *dev, u8 num_ports, 131 int mlx5_cmd_create_vport_lag(struct mlx5_core_dev *dev) 141 int mlx5_cmd_destroy_vport_lag(struct mlx5_core_dev *dev) 180 static void mlx5_lag_print_mapping(struct mlx5_core_dev *dev, 247 static struct mlx5_lag *mlx5_lag_dev_alloc(struct mlx5_core_dev *dev) 385 struct mlx5_core_dev *dev; 414 static int mlx5_cmd_modify_active_port(struct mlx5_core_dev *dev, u8 ports) 431 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; 452 struct mlx5_core_dev *dev [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | rss.h | 21 int mlx5e_rss_params_indir_init(struct mlx5e_rss_params_indir *indir, struct mlx5_core_dev *mdev, 25 struct mlx5e_rss *mlx5e_rss_init(struct mlx5_core_dev *mdev, bool inner_ft_support, u32 drop_rqn,
|
H A D | rqt.c | 7 static bool verify_num_vhca_ids(struct mlx5_core_dev *mdev, u32 *vhca_ids, 20 static bool rqt_verify_vhca_ids(struct mlx5_core_dev *mdev, u32 *vhca_ids, 58 static int mlx5e_rqt_init(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, 92 int mlx5e_rqt_init_direct(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, 138 int mlx5e_rqt_init_indir(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, 173 u32 mlx5e_rqt_size(struct mlx5_core_dev *mdev, unsigned int num_channels)
|
H A D | port.c | 35 void mlx5_port_query_eth_autoneg(struct mlx5_core_dev *dev, u8 *an_status, 52 int mlx5_port_set_eth_ptys(struct mlx5_core_dev *dev, bool an_disable, 80 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed) 105 int mlx5e_port_query_pbmc(struct mlx5_core_dev *mdev, void *out) 122 int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in) 139 int mlx5e_port_query_sbpr(struct mlx5_core_dev *mdev, u32 desc, u8 dir, 151 int mlx5e_port_set_sbpr(struct mlx5_core_dev *mdev, u32 desc, u8 dir, 167 static int mlx5e_port_query_sbcm(struct mlx5_core_dev *mdev, u32 desc, 181 int mlx5e_port_set_sbcm(struct mlx5_core_dev *mdev, u32 desc, u8 pg_buff_idx, 212 int mlx5e_port_query_priority2buffer(struct mlx5_core_dev *mde [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 278 struct mlx5_core_dev *dev = container_of(ent->cmd, struct mlx5_core_dev, cmd); 336 static int mlx5_internal_err_ret_value(struct mlx5_core_dev *dev, u16 op, 803 void mlx5_cmd_out_err(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out) 815 static void cmd_status_print(struct mlx5_core_dev *dev, void *in, void *out) 829 int mlx5_cmd_check(struct mlx5_core_dev *dev, int err, void *in, void *out) 858 static void dump_command(struct mlx5_core_dev *dev, 916 static void mlx5_cmd_comp_handler(struct mlx5_core_dev *dev, u64 vec, bool forced); 925 struct mlx5_core_dev *dev = container_of(ent->cmd, struct mlx5_core_dev, [all...] |
H A D | cq.c | 89 int mlx5_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 154 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 163 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq) 188 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 199 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 210 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev,
|
H A D | alloc.c | 55 static void *mlx5_dma_zalloc_coherent_node(struct mlx5_core_dev *dev, 74 int mlx5_frag_buf_alloc_node(struct mlx5_core_dev *dev, int size, 117 void mlx5_frag_buf_free(struct mlx5_core_dev *dev, struct mlx5_frag_buf *buf) 133 static struct mlx5_db_pgdir *mlx5_alloc_db_pgdir(struct mlx5_core_dev *dev, 187 int mlx5_db_alloc_node(struct mlx5_core_dev *dev, struct mlx5_db *db, int node) 216 void mlx5_db_free(struct mlx5_core_dev *dev, struct mlx5_db *db)
|
H A D | hwmon.c | 30 struct mlx5_core_dev *mdev; 43 static int mlx5_hwmon_query_mtmp(struct mlx5_core_dev *mdev, u32 sensor_index, u32 *mtmp_out) 54 static int mlx5_hwmon_reset_max_temp(struct mlx5_core_dev *mdev, int sensor_index) 67 static int mlx5_hwmon_enable_max_temp(struct mlx5_core_dev *mdev, int sensor_index) 193 static int mlx5_hwmon_get_module_sensor_index(struct mlx5_core_dev *mdev, u32 *module_index) 247 static int mlx5_hwmon_is_module_mon_cap(struct mlx5_core_dev *mdev, bool *mon_cap) 267 static int mlx5_hwmon_get_sensors_count(struct mlx5_core_dev *mdev, u32 *asic_platform_scount) 294 static struct mlx5_hwmon *mlx5_hwmon_alloc(struct mlx5_core_dev *mdev) 374 int mlx5_hwmon_dev_register(struct mlx5_core_dev *mdev) 408 void mlx5_hwmon_dev_unregister(struct mlx5_core_dev *mde [all...] |
H A D | wq.h | 46 struct mlx5_core_dev *mdev; 79 int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, 85 int mlx5_wq_qp_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, 89 int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, 93 int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param,
|
H A D | fs_cmd.c | 164 static int mlx5_cmd_set_slave_root_fdb(struct mlx5_core_dev *master, 165 struct mlx5_core_dev *slave, 216 struct mlx5_core_dev *dev = ns->dev; 247 struct mlx5_core_dev *peer_dev; 286 struct mlx5_core_dev *dev = ns->dev; 352 struct mlx5_core_dev *dev = ns->dev; 375 struct mlx5_core_dev *dev = ns->dev; 421 struct mlx5_core_dev *dev = ns->dev; 443 struct mlx5_core_dev *dev = ns->dev; 456 static int mlx5_set_extended_dest(struct mlx5_core_dev *de [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | ib_virt.c | 54 struct mlx5_core_dev *mdev = dev->mdev; 96 struct mlx5_core_dev *mdev = dev->mdev; 124 struct mlx5_core_dev *mdev; 155 struct mlx5_core_dev *mdev = dev->mdev; 179 struct mlx5_core_dev *mdev = dev->mdev; 215 struct mlx5_core_dev *mdev = dev->mdev;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
H A D | dev.c | 23 struct mlx5_core_dev *dev; 33 static bool mlx5_sf_dev_supported(const struct mlx5_core_dev *dev) 38 bool mlx5_sf_dev_allocated(const struct mlx5_core_dev *dev) 77 static void mlx5_sf_dev_remove_aux(struct mlx5_core_dev *dev, 89 static void mlx5_sf_dev_add(struct mlx5_core_dev *dev, u16 sf_index, u16 fn_id, u32 sfnum) 148 static void mlx5_sf_dev_del(struct mlx5_core_dev *dev, struct mlx5_sf_dev *sf_dev, u16 sf_index) 203 struct mlx5_core_dev *dev = table->dev; 254 struct mlx5_core_dev *dev = table->dev; 318 void mlx5_sf_dev_table_create(struct mlx5_core_dev *dev) 375 void mlx5_sf_dev_table_destroy(struct mlx5_core_dev *de [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_types.h | 934 struct mlx5_core_dev *mdev; 1299 int mlx5dr_cmd_query_device(struct mlx5_core_dev *mdev, 1301 int mlx5dr_cmd_query_esw_vport_context(struct mlx5_core_dev *mdev, 1305 int mlx5dr_cmd_query_gvmi(struct mlx5_core_dev *mdev, 1307 int mlx5dr_cmd_query_esw_caps(struct mlx5_core_dev *mdev, 1309 int mlx5dr_cmd_query_flow_sampler(struct mlx5_core_dev *dev, 1313 int mlx5dr_cmd_sync_steering(struct mlx5_core_dev *mdev); 1314 int mlx5dr_cmd_set_fte_modify_and_vport(struct mlx5_core_dev *mdev, 1320 int mlx5dr_cmd_del_flow_table_entry(struct mlx5_core_dev *mdev, 1323 int mlx5dr_cmd_alloc_modify_header(struct mlx5_core_dev *mde [all...] |
H A D | dr_cmd.c | 6 int mlx5dr_cmd_query_esw_vport_context(struct mlx5_core_dev *mdev, 34 int mlx5dr_cmd_query_gvmi(struct mlx5_core_dev *mdev, bool other_vport, 68 int mlx5dr_cmd_query_esw_caps(struct mlx5_core_dev *mdev, 90 static int dr_cmd_query_nic_vport_roce_en(struct mlx5_core_dev *mdev, 111 int mlx5dr_cmd_query_device(struct mlx5_core_dev *mdev, 231 int mlx5dr_cmd_query_flow_table(struct mlx5_core_dev *dev, 261 int mlx5dr_cmd_query_flow_sampler(struct mlx5_core_dev *dev, 291 int mlx5dr_cmd_sync_steering(struct mlx5_core_dev *mdev) 307 int mlx5dr_cmd_set_fte_modify_and_vport(struct mlx5_core_dev *mdev, 351 int mlx5dr_cmd_del_flow_table_entry(struct mlx5_core_dev *mde [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | core.c | 141 struct mlx5_core_dev *mdev = fdev->mdev; 177 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) 253 int mlx5_fpga_init(struct mlx5_core_dev *mdev) 274 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) 310 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec.h | 227 struct mlx5_core_dev *mdev; 321 u32 mlx5_ipsec_device_caps(struct mlx5_core_dev *mdev); 340 static inline struct mlx5_core_dev * 346 static inline struct mlx5_core_dev * 371 static inline u32 mlx5_ipsec_device_caps(struct mlx5_core_dev *mdev)
|