Home
last modified time | relevance | path

Searched refs:mlx5e_rq (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Drx.h11 int mlx5e_xsk_alloc_rx_mpwqe(struct mlx5e_rq *rq, u16 ix);
12 int mlx5e_xsk_alloc_rx_wqes_batched(struct mlx5e_rq *rq, u16 ix, int wqe_bulk);
13 int mlx5e_xsk_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk);
14 struct sk_buff *mlx5e_xsk_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq,
20 struct sk_buff *mlx5e_xsk_skb_from_cqe_linear(struct mlx5e_rq *rq,
H A Drx.c19 int mlx5e_xsk_alloc_rx_mpwqe(struct mlx5e_rq *rq, u16 ix) in mlx5e_xsk_alloc_rx_mpwqe()
160 int mlx5e_xsk_alloc_rx_wqes_batched(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_xsk_alloc_rx_wqes_batched()
198 int mlx5e_xsk_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_xsk_alloc_rx_wqes()
225 static struct sk_buff *mlx5e_xsk_construct_skb(struct mlx5e_rq *rq, struct xdp_buff *xdp) in mlx5e_xsk_construct_skb()
247 struct sk_buff *mlx5e_xsk_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq, in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
304 struct sk_buff *mlx5e_xsk_skb_from_cqe_linear(struct mlx5e_rq *rq, in mlx5e_xsk_skb_from_cqe_linear()
H A Dsetup.c65 struct mlx5e_rq *rq) in mlx5e_init_xsk_rq()
98 struct mlx5e_rq *xskrq = &c->xskrq; in mlx5e_open_xsk_rq()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c64 mlx5e_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
68 mlx5e_skb_from_cqe_mpwrq_nonlinear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
71 static void mlx5e_handle_rx_cqe(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe);
72 static void mlx5e_handle_rx_cqe_mpwrq(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe);
73 static void mlx5e_handle_rx_cqe_mpwrq_shampo(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe);
89 static void mlx5e_read_enhanced_title_slot(struct mlx5e_rq *rq, in mlx5e_read_enhanced_title_slot()
108 static inline void mlx5e_read_title_slot(struct mlx5e_rq *rq, in mlx5e_read_title_slot()
153 static inline void mlx5e_decompress_cqe(struct mlx5e_rq *rq, in mlx5e_decompress_cqe()
183 static inline void mlx5e_decompress_cqe_no_hash(struct mlx5e_rq *rq, in mlx5e_decompress_cqe_no_hash()
194 static u32 mlx5e_decompress_enhanced_cqe(struct mlx5e_rq *rq, in mlx5e_decompress_enhanced_cqe()
[all …]
H A Den.h588 struct mlx5e_rq;
589 typedef void (*mlx5e_fp_handle_rx_cqe)(struct mlx5e_rq*, struct mlx5_cqe64*);
591 (*mlx5e_fp_skb_from_cqe_mpwrq)(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
595 (*mlx5e_fp_skb_from_cqe)(struct mlx5e_rq *rq, struct mlx5e_wqe_frag_info *wi,
597 typedef bool (*mlx5e_fp_post_rx_wqes)(struct mlx5e_rq *rq);
598 typedef void (*mlx5e_fp_dealloc_wqe)(struct mlx5e_rq*, u16);
599 typedef void (*mlx5e_fp_shampo_dealloc_hd)(struct mlx5e_rq*, u16, u16, bool);
601 int mlx5e_rq_set_handlers(struct mlx5e_rq *rq, struct mlx5e_params *params, bool xsk);
602 void mlx5e_rq_set_trap_handlers(struct mlx5e_rq *rq, struct mlx5e_params *params);
658 struct mlx5e_rq { struct
[all …]
H A Den_dim.c47 struct mlx5e_rq *rq = container_of(dim, struct mlx5e_rq, dim); in mlx5e_rx_dim_work()
H A Den_txrx.c61 static void mlx5e_handle_rx_dim(struct mlx5e_rq *rq) in mlx5e_handle_rx_dim()
88 static bool mlx5e_napi_xsk_post(struct mlx5e_xdpsq *xsksq, struct mlx5e_rq *xskrq) in mlx5e_napi_xsk_post()
131 struct mlx5e_rq *xskrq = &c->xskrq; in mlx5e_napi_poll()
132 struct mlx5e_rq *rq = &c->rq; in mlx5e_napi_poll()
H A Den_main.c222 static inline void mlx5e_build_umr_wqe(struct mlx5e_rq *rq, in mlx5e_build_umr_wqe()
245 static int mlx5e_rq_shampo_hd_alloc(struct mlx5e_rq *rq, int node) in mlx5e_rq_shampo_hd_alloc()
254 static void mlx5e_rq_shampo_hd_free(struct mlx5e_rq *rq) in mlx5e_rq_shampo_hd_free()
259 static int mlx5e_rq_shampo_hd_info_alloc(struct mlx5e_rq *rq, int node) in mlx5e_rq_shampo_hd_info_alloc()
284 static void mlx5e_rq_shampo_hd_info_free(struct mlx5e_rq *rq) in mlx5e_rq_shampo_hd_info_free()
291 static int mlx5e_rq_alloc_mpwqe_info(struct mlx5e_rq *rq, int node) in mlx5e_rq_alloc_mpwqe_info()
474 static int mlx5e_create_rq_umr_mkey(struct mlx5_core_dev *mdev, struct mlx5e_rq *rq) in mlx5e_create_rq_umr_mkey()
500 struct mlx5e_rq *rq) in mlx5e_create_rq_hd_umr_mkey()
513 static void mlx5e_init_frags_partition(struct mlx5e_rq *rq) in mlx5e_init_frags_partition()
552 static void mlx5e_init_xsk_buffs(struct mlx5e_rq *rq) in mlx5e_init_xsk_buffs()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h68 INDIRECT_CALLABLE_DECLARE(bool mlx5e_post_rx_wqes(struct mlx5e_rq *rq));
69 INDIRECT_CALLABLE_DECLARE(bool mlx5e_post_rx_mpwqes(struct mlx5e_rq *rq));
71 void mlx5e_free_rx_descs(struct mlx5e_rq *rq);
72 void mlx5e_free_rx_missing_descs(struct mlx5e_rq *rq);
198 static inline u16 mlx5e_shampo_get_cqe_header_index(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe) in mlx5e_shampo_get_cqe_header_index()
214 struct mlx5e_rq *rq;
345 static inline void mlx5e_rqwq_reset(struct mlx5e_rq *rq) in mlx5e_rqwq_reset()
371 static inline u32 mlx5e_rqwq_get_size(struct mlx5e_rq *rq) in mlx5e_rqwq_get_size()
381 static inline u32 mlx5e_rqwq_get_cur_sz(struct mlx5e_rq *rq) in mlx5e_rqwq_get_cur_sz()
391 static inline u16 mlx5e_rqwq_get_head(struct mlx5e_rq *rq) in mlx5e_rqwq_get_head()
[all …]
H A Dreporter_rx.c78 struct mlx5e_rq *xskrq = NULL; in mlx5e_rx_reporter_err_icosq_cqe_recover()
82 struct mlx5e_rq *rq; in mlx5e_rx_reporter_err_icosq_cqe_recover()
152 struct mlx5e_rq *rq = ctx; in mlx5e_rx_reporter_err_rq_cqe_recover()
173 struct mlx5e_rq *rq; in mlx5e_rx_reporter_timeout_recover()
255 static int mlx5e_health_rq_put_sw_state(struct devlink_fmsg *fmsg, struct mlx5e_rq *rq) in mlx5e_health_rq_put_sw_state()
277 mlx5e_rx_reporter_build_diagnose_output_rq_common(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output_rq_common()
342 static int mlx5e_rx_reporter_build_diagnose_output(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output()
362 static int mlx5e_rx_reporter_diagnose_generic_rq(struct mlx5e_rq *rq, in mlx5e_rx_reporter_diagnose_generic_rq()
429 struct mlx5e_rq *generic_rq = &priv->channels.c[0]->rq; in mlx5e_rx_reporter_diagnose_common_config()
450 static int mlx5e_rx_reporter_build_diagnose_output_ptp_rq(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output_ptp_rq()
[all …]
H A Dxdp.h50 struct mlx5e_rq *rq;
96 struct mlx5e_rq *rq;
104 bool mlx5e_xdp_handle(struct mlx5e_rq *rq,
110 void mlx5e_xdp_rx_poll_complete(struct mlx5e_rq *rq);
H A Dhealth.h32 void mlx5e_reporter_rq_cqe_err(struct mlx5e_rq *rq);
33 void mlx5e_reporter_rx_timeout(struct mlx5e_rq *rq);
H A Dtrap.c12 struct mlx5e_rq *rq = &trap_ctx->rq; in mlx5e_trap_napi_poll()
40 struct mlx5e_rq *rq) in mlx5e_init_trap_rq()
65 struct mlx5e_rq *rq = &t->rq; in mlx5e_open_trap_rq()
92 static void mlx5e_close_trap_rq(struct mlx5e_rq *rq) in mlx5e_close_trap_rq()
H A Dtrap.h12 struct mlx5e_rq rq;
H A Dptp.h53 struct mlx5e_rq rq;
H A Dxdp.c61 mlx5e_xmit_xdp_buff(struct mlx5e_xdpsq *sq, struct mlx5e_rq *rq, in mlx5e_xmit_xdp_buff()
265 bool mlx5e_xdp_handle(struct mlx5e_rq *rq, in mlx5e_xdp_handle()
888 void mlx5e_xdp_rx_poll_complete(struct mlx5e_rq *rq) in mlx5e_xdp_rx_poll_complete()
H A Dptp.c266 struct mlx5e_rq *rq = &c->rq; in mlx5e_ptp_napi_poll()
683 struct mlx5e_rq *rq) in mlx5e_init_ptp_rq()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.h39 void mlx5e_rep_tc_receive(struct mlx5_cqe64 *cqe, struct mlx5e_rq *rq,
68 mlx5e_rep_tc_receive(struct mlx5_cqe64 *cqe, struct mlx5e_rq *rq, in mlx5e_rep_tc_receive()
H A Dtc.c686 void mlx5e_rep_tc_receive(struct mlx5_cqe64 *cqe, struct mlx5e_rq *rq, in mlx5e_rep_tc_receive()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_txrx.h22 void mlx5e_ktls_handle_rx_skb(struct mlx5e_rq *rq, struct sk_buff *skb,
85 static inline void mlx5e_ktls_handle_rx_skb(struct mlx5e_rq *rq, in mlx5e_ktls_handle_rx_skb()
H A Dktls_rx.c484 static void resync_update_sn(struct mlx5e_rq *rq, struct sk_buff *skb) in resync_update_sn()
564 void mlx5e_ktls_handle_rx_skb(struct mlx5e_rq *rq, struct sk_buff *skb, in mlx5e_ktls_handle_rx_skb()