Lines Matching full:struct
53 #define MLX5_ST_SZ_BYTES(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 8)
178 struct mlx5_field_desc {
182 struct mlx5_rsc_debug {
183 struct mlx5_core_dev *dev;
186 struct mlx5_field_desc fields[0];
222 struct mlx5_cmd_first {
226 struct cache_ent;
227 struct mlx5_fw_page {
229 struct rb_node rb_node;
230 struct list_head list;
232 struct mlx5_cmd_first first;
233 struct mlx5_core_dev *dev;
237 struct cache_ent *cache;
247 struct mlx5_cmd_debug {
255 struct cache_ent {
259 struct list_head head;
262 struct cmd_msg_cache {
263 struct cache_ent large;
264 struct cache_ent med;
268 struct mlx5_traffic_counter {
273 struct mlx5_fc_pool {
274 struct mlx5_core_dev *dev;
275 struct mutex pool_lock; /* protects pool lists */
276 struct list_head fully_used;
277 struct list_head partially_used;
278 struct list_head unused;
284 struct mlx5_fc_stats {
286 struct idr counters_idr;
287 struct list_head counters;
288 struct llist_head addlist;
289 struct llist_head dellist;
291 struct workqueue_struct *wq;
292 struct delayed_work work;
300 struct mlx5_fc_pool fc_pool;
308 struct mlx5_cmd_stats {
315 struct mlx5_cmd {
316 struct mlx5_fw_page *cmd_page;
318 struct sx dma_sx;
319 struct mtx dma_mtx;
323 struct cv dma_cv;
344 struct semaphore sem;
345 struct semaphore pages_sem;
347 struct mlx5_cmd_work_ent * volatile ent_arr[MLX5_MAX_COMMANDS];
349 struct mlx5_cmd_debug dbg;
350 struct cmd_msg_cache cache;
352 struct mlx5_cmd_stats stats[MLX5_CMD_OP_MAX];
355 struct mlx5_port_caps {
361 struct mlx5_buf {
364 struct mlx5_core_dev *dev;
365 struct {
375 struct mlx5_frag_buf {
376 struct mlx5_buf_list *frags;
382 struct mlx5_eq {
383 struct mlx5_core_dev *dev;
386 struct mlx5_buf buf;
392 struct list_head list;
394 struct mlx5_rsc_debug *dbg;
397 struct mlx5_core_psv {
399 struct psv_layout {
409 struct mlx5_core_sig_ctx {
410 struct mlx5_core_psv psv_memory;
411 struct mlx5_core_psv psv_wire;
412 struct ib_sig_err err_item;
424 struct mlx5_core_mkey {
442 struct mlx5_core_rsc_common {
445 struct completion free;
448 struct mlx5_uars_page {
452 struct list_head list;
458 struct kref ref_count;
459 struct mlx5_core_dev *mdev;
462 struct mlx5_bfreg_head {
464 struct mutex lock;
465 struct list_head list;
468 struct mlx5_bfreg_data {
469 struct mlx5_bfreg_head reg_head;
470 struct mlx5_bfreg_head wc_head;
473 struct mlx5_sq_bfreg {
475 struct mlx5_uars_page *up;
481 struct mlx5_core_srq {
482 struct mlx5_core_rsc_common common; /* must be first */
488 void (*event)(struct mlx5_core_srq *, int);
490 struct completion free;
493 struct mlx5_ib_dev;
494 struct mlx5_eq_table {
497 struct list_head comp_eqs_list;
498 struct mlx5_eq pages_eq;
499 struct mlx5_eq async_eq;
500 struct mlx5_eq cmd_eq;
503 struct mlx5_ib_dev *dev; /* for devx event notifier */
504 bool (*cb)(struct mlx5_core_dev *mdev,
508 struct mlx5_core_health {
509 struct mlx5_health_buffer __iomem *health;
511 struct timer_list timer;
515 struct workqueue_struct *wq_watchdog;
516 struct work_struct work_watchdog;
519 struct workqueue_struct *wq;
521 struct work_struct work;
522 struct delayed_work recover_work;
524 struct work_struct work_cmd_completion;
525 struct workqueue_struct *wq_cmd;
530 struct mlx5_cq_linear_array_entry {
531 struct mlx5_core_cq * volatile cq;
534 struct mlx5_cq_table {
539 struct radix_tree_root tree;
540 struct mlx5_cq_linear_array_entry linear_array[MLX5_CQ_LINEAR_ARRAY_SIZE];
543 struct mlx5_qp_table {
547 struct radix_tree_root tree;
550 struct mlx5_srq_table {
554 struct radix_tree_root tree;
557 struct mlx5_mr_table {
561 struct radix_tree_root tree;
565 struct mlx5_rl_entry {
573 struct mlx5_rl_table {
574 struct mutex rl_lock;
578 struct mlx5_rl_entry *rl_entry;
582 struct mlx5_pme_stats {
587 struct mlx5_priv {
589 struct mlx5_eq_table eq_table;
590 struct msix_entry *msix_arr;
595 struct workqueue_struct *pg_wq;
596 struct rb_root page_root;
600 struct mlx5_core_health health;
602 struct mlx5_srq_table srq_table;
605 struct mlx5_qp_table qp_table;
610 struct mlx5_cq_table cq_table;
614 struct mlx5_mr_table mr_table;
620 struct mutex pgdir_mutex;
621 struct list_head pgdir_list;
628 struct list_head dev_list;
629 struct list_head ctx_list;
633 struct mlx5_rl_table rl_table;
635 struct mlx5_pme_stats pme_stats;
637 struct mlx5_flow_steering *steering;
638 struct mlx5_eswitch *eswitch;
640 struct mlx5_bfreg_data bfregs;
641 struct mlx5_uars_page *uar;
642 struct mlx5_fc_stats fc_stats;
643 struct mlx5_ft_pool *ft_pool;
663 struct mlx5_rsvd_gids {
666 struct ida ida;
669 struct mlx5_special_contexts {
673 struct mlx5_diag_cnt_id {
678 struct mlx5_diag_cnt {
681 struct mutex lock;
682 struct sysctl_ctx_list sysctl_ctx;
683 struct mlx5_diag_cnt_id *cnt_id;
693 struct mlx5_flow_root_namespace;
694 struct mlx5_core_dev {
695 struct pci_dev *pdev;
697 struct mutex pci_status_mutex;
700 struct mlx5_cmd cmd;
701 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS];
704 struct {
711 struct mlx5_init_seg __iomem *iseg;
714 struct mutex intf_state_mutex;
716 void (*event) (struct mlx5_core_dev *dev,
719 struct mlx5_priv priv;
720 struct mlx5_profile *profile;
722 struct mlx5_diag_cnt diag_cnt;
725 struct mlx5_special_contexts special_contexts;
728 struct mlx5_flow_root_namespace *root_ns;
729 struct mlx5_flow_root_namespace *fdb_root_ns;
730 struct mlx5_flow_root_namespace *esw_egress_root_ns;
731 struct mlx5_flow_root_namespace *esw_ingress_root_ns;
732 struct mlx5_flow_root_namespace *sniffer_rx_root_ns;
733 struct mlx5_flow_root_namespace *sniffer_tx_root_ns;
734 struct mlx5_flow_root_namespace *nic_tx_root_ns;
735 struct mlx5_flow_root_namespace *rdma_tx_root_ns;
736 struct mlx5_flow_root_namespace *rdma_rx_root_ns;
739 struct mlx5_crspace_regmap *dump_rege;
744 struct mtx dump_lock;
748 struct sysctl_ctx_list sysctl_ctx;
753 struct {
754 struct mlx5_rsvd_gids reserved_gids;
758 struct {
764 struct mlx5_fpga_device *fpga;
766 struct xarray ipsec_sadb;
780 struct mlx5_db {
783 struct mlx5_db_pgdir *pgdir;
784 struct mlx5_ib_user_db_page *user_page;
790 struct mlx5_net_counters {
795 struct mlx5_ptys_reg {
812 struct mlx5_pvlc_reg {
819 struct mlx5_pmtu_reg {
826 struct mlx5_vport_counters {
827 struct mlx5_net_counters received_errors;
828 struct mlx5_net_counters transmit_errors;
829 struct mlx5_net_counters received_ib_unicast;
830 struct mlx5_net_counters transmitted_ib_unicast;
831 struct mlx5_net_counters received_ib_multicast;
832 struct mlx5_net_counters transmitted_ib_multicast;
833 struct mlx5_net_counters received_eth_broadcast;
834 struct mlx5_net_counters transmitted_eth_broadcast;
835 struct mlx5_net_counters received_eth_unicast;
836 struct mlx5_net_counters transmitted_eth_unicast;
837 struct mlx5_net_counters received_eth_multicast;
838 struct mlx5_net_counters transmitted_eth_multicast;
845 struct mlx5_core_dct {
846 struct mlx5_core_rsc_common common; /* must be first */
847 void (*event)(struct mlx5_core_dct *, int);
849 struct completion drained;
850 struct mlx5_rsc_debug *dbg;
860 struct mlx5_db_pgdir {
861 struct list_head list;
863 struct mlx5_fw_page *fw_page;
870 struct mlx5_cmd_work_ent {
871 struct mlx5_cmd_msg *in;
872 struct mlx5_cmd_msg *out;
877 struct delayed_work cb_timeout_work;
880 struct completion done;
881 struct mlx5_cmd *cmd;
882 struct work_struct work;
883 struct mlx5_cmd_layout *lay;
895 struct mlx5_pas {
908 mlx5_buf_offset(struct mlx5_buf *buf, int offset) in mlx5_buf_offset()
914 extern struct workqueue_struct *mlx5_core_wq;
917 .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \
918 .struct_size_bytes = sizeof((struct ib_unpacked_ ## header *)0)->field
920 static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) in pci2mlx5_core_dev()
925 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj()
930 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min()
935 static inline u16 fw_rev_sub(struct mlx5_core_dev *dev) in fw_rev_sub()
940 static inline u16 cmdif_rev_get(struct mlx5_core_dev *dev) in cmdif_rev_get()
978 int mlx5_cmd_init(struct mlx5_core_dev *dev);
979 void mlx5_cmd_cleanup(struct mlx5_core_dev *dev);
980 void mlx5_cmd_use_events(struct mlx5_core_dev *dev);
981 void mlx5_cmd_use_polling(struct mlx5_core_dev *dev);
983 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
985 struct mlx5_async_ctx {
986 struct mlx5_core_dev *dev;
988 struct wait_queue_head wait;
991 struct mlx5_async_work;
993 typedef void (*mlx5_async_cbk_t)(int status, struct mlx5_async_work *context);
995 struct mlx5_async_work {
996 struct mlx5_async_ctx *ctx;
1000 void mlx5_cmd_init_async_ctx(struct mlx5_core_dev *dev,
1001 struct mlx5_async_ctx *ctx);
1002 void mlx5_cmd_cleanup_async_ctx(struct mlx5_async_ctx *ctx);
1003 int mlx5_cmd_exec_cb(struct mlx5_async_ctx *ctx, void *in, int in_size,
1005 struct mlx5_async_work *work);
1006 int mlx5_cmd_exec(struct mlx5_core_dev *dev, void *in, int in_size, void *out,
1019 int mlx5_cmd_exec_polling(struct mlx5_core_dev *dev, void *in, int in_size,
1021 int mlx5_cmd_alloc_uar(struct mlx5_core_dev *dev, u32 *uarn);
1022 int mlx5_cmd_free_uar(struct mlx5_core_dev *dev, u32 uarn);
1023 int mlx5_alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg,
1025 void mlx5_free_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg);
1026 struct mlx5_uars_page *mlx5_get_uars_page(struct mlx5_core_dev *mdev);
1027 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up);
1028 void mlx5_health_cleanup(struct mlx5_core_dev *dev);
1029 int mlx5_health_init(struct mlx5_core_dev *dev);
1030 void mlx5_start_health_poll(struct mlx5_core_dev *dev);
1031 void mlx5_stop_health_poll(struct mlx5_core_dev *dev, bool disable_health);
1032 void mlx5_drain_health_wq(struct mlx5_core_dev *dev);
1033 void mlx5_drain_health_recovery(struct mlx5_core_dev *dev);
1034 void mlx5_trigger_health_work(struct mlx5_core_dev *dev);
1035 void mlx5_trigger_health_watchdog(struct mlx5_core_dev *dev);
1037 int mlx5_buf_alloc(struct mlx5_core_dev *dev, int size, int max_direct,
1038 struct mlx5_buf *buf);
1039 void mlx5_buf_free(struct mlx5_core_dev *dev, struct mlx5_buf *buf);
1040 int mlx5_core_create_srq(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq,
1041 struct mlx5_srq_attr *in);
1042 int mlx5_core_destroy_srq(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq);
1043 int mlx5_core_query_srq(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq,
1044 struct mlx5_srq_attr *out);
1045 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id);
1046 int mlx5_core_arm_srq(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq,
1048 void mlx5_init_mr_table(struct mlx5_core_dev *dev);
1049 void mlx5_cleanup_mr_table(struct mlx5_core_dev *dev);
1050 int mlx5_core_create_mkey_cb(struct mlx5_core_dev *dev,
1051 struct mlx5_core_mkey *mkey,
1052 struct mlx5_async_ctx *async_ctx, u32 *in,
1055 struct mlx5_async_work *context);
1056 int mlx5_core_create_mkey(struct mlx5_core_dev *dev,
1057 struct mlx5_core_mkey *mr,
1059 int mlx5_core_destroy_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mkey *mkey);
1060 int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mkey *mkey,
1062 int mlx5_core_dump_fill_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mkey *mr,
1064 int mlx5_core_alloc_pd(struct mlx5_core_dev *dev, u32 *pdn, u16 uid);
1065 int mlx5_core_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid);
1066 int mlx5_core_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb,
1068 void mlx5_fwp_flush(struct mlx5_fw_page *fwp);
1069 void mlx5_fwp_invalidate(struct mlx5_fw_page *fwp);
1070 struct mlx5_fw_page *mlx5_fwp_alloc(struct mlx5_core_dev *dev, gfp_t flags, unsigned num);
1071 void mlx5_fwp_free(struct mlx5_fw_page *fwp);
1072 u64 mlx5_fwp_get_dma(struct mlx5_fw_page *fwp, size_t offset);
1073 void *mlx5_fwp_get_virt(struct mlx5_fw_page *fwp, size_t offset);
1074 void mlx5_pagealloc_init(struct mlx5_core_dev *dev);
1075 void mlx5_pagealloc_cleanup(struct mlx5_core_dev *dev);
1076 int mlx5_pagealloc_start(struct mlx5_core_dev *dev);
1077 void mlx5_pagealloc_stop(struct mlx5_core_dev *dev);
1078 void mlx5_core_req_pages_handler(struct mlx5_core_dev *dev, u16 func_id,
1080 int mlx5_satisfy_startup_pages(struct mlx5_core_dev *dev, int boot);
1081 int mlx5_reclaim_startup_pages(struct mlx5_core_dev *dev);
1082 s64 mlx5_wait_for_reclaim_vfs_pages(struct mlx5_core_dev *dev);
1085 int mlx5_eq_init(struct mlx5_core_dev *dev);
1086 void mlx5_eq_cleanup(struct mlx5_core_dev *dev);
1087 void mlx5_fill_page_array(struct mlx5_buf *buf, __be64 *pas);
1088 void mlx5_cq_completion(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe);
1089 void mlx5_rsc_event(struct mlx5_core_dev *dev, u32 rsn, int event_type);
1090 void mlx5_srq_event(struct mlx5_core_dev *dev, u32 srqn, int event_type);
1091 struct mlx5_core_srq *mlx5_core_get_srq(struct mlx5_core_dev *dev, u32 srqn);
1092 void mlx5_cmd_comp_handler(struct mlx5_core_dev *dev, u64 vector, enum mlx5_cmd_mode mode);
1093 void mlx5_cq_event(struct mlx5_core_dev *dev, u32 cqn, int event_type);
1094 int mlx5_create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u8 vecidx,
1096 int mlx5_destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq);
1097 int mlx5_start_eqs(struct mlx5_core_dev *dev);
1098 int mlx5_stop_eqs(struct mlx5_core_dev *dev);
1099 int mlx5_vector2eqn(struct mlx5_core_dev *dev, int vector, int *eqn, int *irqn);
1100 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn);
1101 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn);
1102 int mlx5_core_set_dc_cnak_trace(struct mlx5_core_dev *dev, int enable,
1105 int mlx5_qp_debugfs_init(struct mlx5_core_dev *dev);
1106 void mlx5_qp_debugfs_cleanup(struct mlx5_core_dev *dev);
1107 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in,
1111 void mlx5_toggle_port_link(struct mlx5_core_dev *dev);
1113 int mlx5_debug_eq_add(struct mlx5_core_dev *dev, struct mlx5_eq *eq);
1114 void mlx5_debug_eq_remove(struct mlx5_core_dev *dev, struct mlx5_eq *eq);
1115 int mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq,
1117 int mlx5_eq_debugfs_init(struct mlx5_core_dev *dev);
1118 void mlx5_eq_debugfs_cleanup(struct mlx5_core_dev *dev);
1119 int mlx5_cq_debugfs_init(struct mlx5_core_dev *dev);
1120 void mlx5_cq_debugfs_cleanup(struct mlx5_core_dev *dev);
1121 int mlx5_db_alloc(struct mlx5_core_dev *dev, struct mlx5_db *db);
1122 void mlx5_db_free(struct mlx5_core_dev *dev, struct mlx5_db *db);
1124 static inline struct domainset *
1125 mlx5_dev_domainset(struct mlx5_core_dev *mdev) in mlx5_dev_domainset()
1131 int mlx5_cmdif_debugfs_init(struct mlx5_core_dev *dev);
1132 void mlx5_cmdif_debugfs_cleanup(struct mlx5_core_dev *dev);
1133 int mlx5_core_create_psv(struct mlx5_core_dev *dev, u32 pdn,
1135 int mlx5_core_destroy_psv(struct mlx5_core_dev *dev, int psv_num);
1136 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common);
1137 u8 mlx5_is_wol_supported(struct mlx5_core_dev *dev);
1138 int mlx5_set_wol(struct mlx5_core_dev *dev, u8 wol_mode);
1139 int mlx5_set_dropless_mode(struct mlx5_core_dev *dev, u16 timeout);
1140 int mlx5_query_dropless_mode(struct mlx5_core_dev *dev, u16 *timeout);
1141 int mlx5_query_wol(struct mlx5_core_dev *dev, u8 *wol_mode);
1142 int mlx5_core_access_pvlc(struct mlx5_core_dev *dev,
1143 struct mlx5_pvlc_reg *pvlc, int write);
1144 int mlx5_core_access_ptys(struct mlx5_core_dev *dev,
1145 struct mlx5_ptys_reg *ptys, int write);
1146 int mlx5_core_access_pmtu(struct mlx5_core_dev *dev,
1147 struct mlx5_pmtu_reg *pmtu, int write);
1148 int mlx5_vxlan_udp_port_add(struct mlx5_core_dev *dev, u16 port);
1149 int mlx5_vxlan_udp_port_delete(struct mlx5_core_dev *dev, u16 port);
1150 int mlx5_query_port_cong_status(struct mlx5_core_dev *mdev, int protocol,
1152 int mlx5_modify_port_cong_status(struct mlx5_core_dev *mdev, int protocol,
1154 int mlx5_query_port_cong_params(struct mlx5_core_dev *mdev, int protocol,
1156 int mlx5_modify_port_cong_params(struct mlx5_core_dev *mdev,
1158 int mlx5_query_port_cong_statistics(struct mlx5_core_dev *mdev, int clear,
1160 int mlx5_set_diagnostic_params(struct mlx5_core_dev *mdev, void *in,
1162 int mlx5_query_diagnostic_counters(struct mlx5_core_dev *mdev,
1165 int mlx5_vsc_find_cap(struct mlx5_core_dev *mdev);
1166 int mlx5_vsc_lock(struct mlx5_core_dev *mdev);
1167 void mlx5_vsc_unlock(struct mlx5_core_dev *mdev);
1168 int mlx5_vsc_set_space(struct mlx5_core_dev *mdev, u16 space);
1169 int mlx5_vsc_wait_on_flag(struct mlx5_core_dev *mdev, u32 expected);
1170 int mlx5_vsc_write(struct mlx5_core_dev *mdev, u32 addr, const u32 *data);
1171 int mlx5_vsc_read(struct mlx5_core_dev *mdev, u32 addr, u32 *data);
1172 int mlx5_vsc_lock_addr_space(struct mlx5_core_dev *mdev, u32 addr);
1173 int mlx5_vsc_unlock_addr_space(struct mlx5_core_dev *mdev, u32 addr);
1174 int mlx5_pci_read_power_status(struct mlx5_core_dev *mdev,
1201 struct mlx5_interface {
1202 void * (*add)(struct mlx5_core_dev *dev);
1203 void (*remove)(struct mlx5_core_dev *dev, void *context);
1204 void (*event)(struct mlx5_core_dev *dev, void *context,
1208 struct list_head list;
1211 void *mlx5_get_protocol_dev(struct mlx5_core_dev *mdev, int protocol);
1212 int mlx5_register_interface(struct mlx5_interface *intf);
1213 void mlx5_unregister_interface(struct mlx5_interface *intf);
1215 unsigned int mlx5_core_reserved_gids_count(struct mlx5_core_dev *dev);
1216 int mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index,
1220 struct mlx5_profile {
1223 struct {
1237 static inline int mlx5_core_is_pf(struct mlx5_core_dev *dev) in mlx5_core_is_pf()
1242 int mlx5_init_rl_table(struct mlx5_core_dev *dev);
1243 void mlx5_cleanup_rl_table(struct mlx5_core_dev *dev);
1244 int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u32 rate, u32 burst, u16 *index);
1245 void mlx5_rl_remove_rate(struct mlx5_core_dev *dev, u32 rate, u32 burst);
1246 bool mlx5_rl_is_in_range(const struct mlx5_core_dev *dev, u32 rate, u32 burst);
1247 int mlx5e_query_rate_limit_cmd(struct mlx5_core_dev *dev, u16 index, u32 *scq_handle);
1249 static inline u32 mlx5_rl_get_scq_handle(struct mlx5_core_dev *dev, uint16_t index) in mlx5_rl_get_scq_handle()
1257 static inline bool mlx5_rl_is_supported(struct mlx5_core_dev *dev) in mlx5_rl_is_supported()
1263 void mlx5_disable_interrupts(struct mlx5_core_dev *);
1264 void mlx5_poll_interrupts(struct mlx5_core_dev *);
1266 static inline int mlx5_get_qp_default_ts(struct mlx5_core_dev *dev) in mlx5_get_qp_default_ts()
1273 static inline int mlx5_get_rq_default_ts(struct mlx5_core_dev *dev) in mlx5_get_rq_default_ts()
1280 static inline int mlx5_get_sq_default_ts(struct mlx5_core_dev *dev) in mlx5_get_sq_default_ts()