Lines Matching refs:mdev

59 u8 mlx5e_mpwrq_page_shift(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk);
61 mlx5e_mpwrq_umr_mode(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk);
63 u8 mlx5e_mpwrq_log_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift,
65 u8 mlx5e_mpwrq_pages_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift,
67 u16 mlx5e_mpwrq_umr_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift,
69 u8 mlx5e_mpwrq_umr_wqebbs(struct mlx5_core_dev *mdev, u8 page_shift,
71 u8 mlx5e_mpwrq_mtts_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift,
73 u32 mlx5e_mpwrq_max_num_entries(struct mlx5_core_dev *mdev,
75 u8 mlx5e_mpwrq_max_log_rq_pkts(struct mlx5_core_dev *mdev, u8 page_shift,
85 bool slow_pci_heuristic(struct mlx5_core_dev *mdev);
86 int mlx5e_mpwrq_validate_regular(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
87 int mlx5e_mpwrq_validate_xsk(struct mlx5_core_dev *mdev, struct mlx5e_params *params,
89 void mlx5e_build_rq_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
90 void mlx5e_set_rq_type(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
91 void mlx5e_init_rq_type_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
95 bool mlx5e_rx_is_linear_skb(struct mlx5_core_dev *mdev,
98 bool mlx5e_rx_mpwqe_is_linear_skb(struct mlx5_core_dev *mdev,
101 u8 mlx5e_mpwqe_get_log_rq_size(struct mlx5_core_dev *mdev,
104 u8 mlx5e_shampo_get_log_hd_entry_size(struct mlx5_core_dev *mdev,
106 u8 mlx5e_shampo_get_log_rsrv_size(struct mlx5_core_dev *mdev,
108 u8 mlx5e_shampo_get_log_pkt_per_rsrv(struct mlx5_core_dev *mdev,
110 u32 mlx5e_shampo_hd_per_wqe(struct mlx5_core_dev *mdev,
113 u32 mlx5e_shampo_hd_per_wq(struct mlx5_core_dev *mdev,
116 u8 mlx5e_mpwqe_get_log_stride_size(struct mlx5_core_dev *mdev,
119 u8 mlx5e_mpwqe_get_log_num_strides(struct mlx5_core_dev *mdev,
123 u16 mlx5e_get_rq_headroom(struct mlx5_core_dev *mdev,
130 int mlx5e_build_rq_param(struct mlx5_core_dev *mdev,
135 void mlx5e_build_drop_rq_param(struct mlx5_core_dev *mdev,
138 void mlx5e_build_sq_param_common(struct mlx5_core_dev *mdev,
140 void mlx5e_build_sq_param(struct mlx5_core_dev *mdev,
143 void mlx5e_build_tx_cq_param(struct mlx5_core_dev *mdev,
146 void mlx5e_build_xdpsq_param(struct mlx5_core_dev *mdev,
150 int mlx5e_build_channel_param(struct mlx5_core_dev *mdev,
155 u16 mlx5e_calc_sq_stop_room(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
156 int mlx5e_validate_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params);
157 bool mlx5e_verify_params_rx_mpwqe_strides(struct mlx5_core_dev *mdev,
161 static inline void mlx5e_params_print_info(struct mlx5_core_dev *mdev, in mlx5e_params_print_info() argument
164 mlx5_core_info(mdev, "MLX5E: StrdRq(%d) RqSz(%ld) StrdSz(%ld) RxCqeCmprss(%d %s)\n", in mlx5e_params_print_info()
167 BIT(mlx5e_mpwqe_get_log_rq_size(mdev, params, NULL)) : in mlx5e_params_print_info()
169 BIT(mlx5e_mpwqe_get_log_stride_size(mdev, params, NULL)), in mlx5e_params_print_info()
171 MLX5_CAP_GEN(mdev, enhanced_cqe_compression) ? in mlx5e_params_print_info()