Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
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,
19 struct sk_buff *mlx5e_xsk_skb_from_cqe_linear(struct mlx5e_rq *rq,
Drx.c11 int mlx5e_xsk_alloc_rx_mpwqe(struct mlx5e_rq *rq, u16 ix) in mlx5e_xsk_alloc_rx_mpwqe()
142 int mlx5e_xsk_alloc_rx_wqes_batched(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_xsk_alloc_rx_wqes_batched()
182 int mlx5e_xsk_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_xsk_alloc_rx_wqes()
208 static struct sk_buff *mlx5e_xsk_construct_skb(struct mlx5e_rq *rq, struct xdp_buff *xdp) in mlx5e_xsk_construct_skb()
230 struct sk_buff *mlx5e_xsk_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq, in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
284 struct sk_buff *mlx5e_xsk_skb_from_cqe_linear(struct mlx5e_rq *rq, in mlx5e_xsk_skb_from_cqe_linear()
Dsetup.c48 struct mlx5e_rq *rq) in mlx5e_init_xsk_rq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h68 void mlx5e_page_dma_unmap(struct mlx5e_rq *rq, struct page *page);
69 void mlx5e_page_release_dynamic(struct mlx5e_rq *rq, struct page *page, bool recycle);
70 INDIRECT_CALLABLE_DECLARE(bool mlx5e_post_rx_wqes(struct mlx5e_rq *rq));
71 INDIRECT_CALLABLE_DECLARE(bool mlx5e_post_rx_mpwqes(struct mlx5e_rq *rq));
73 void mlx5e_free_rx_descs(struct mlx5e_rq *rq);
74 void mlx5e_free_rx_in_progress_descs(struct mlx5e_rq *rq);
180 static inline u16 mlx5e_shampo_get_cqe_header_index(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe) in mlx5e_shampo_get_cqe_header_index()
196 struct mlx5e_rq *rq;
326 static inline void mlx5e_rqwq_reset(struct mlx5e_rq *rq) in mlx5e_rqwq_reset()
352 static inline u32 mlx5e_rqwq_get_size(struct mlx5e_rq *rq) in mlx5e_rqwq_get_size()
[all …]
Dreporter_rx.c65 struct mlx5e_rq *xskrq = NULL; in mlx5e_rx_reporter_err_icosq_cqe_recover()
69 struct mlx5e_rq *rq; in mlx5e_rx_reporter_err_icosq_cqe_recover()
139 struct mlx5e_rq *rq = ctx; in mlx5e_rx_reporter_err_rq_cqe_recover()
160 struct mlx5e_rq *rq; in mlx5e_rx_reporter_timeout_recover()
243 mlx5e_rx_reporter_build_diagnose_output_rq_common(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output_rq_common()
308 static int mlx5e_rx_reporter_build_diagnose_output(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output()
328 static int mlx5e_rx_reporter_diagnose_generic_rq(struct mlx5e_rq *rq, in mlx5e_rx_reporter_diagnose_generic_rq()
395 struct mlx5e_rq *generic_rq = &priv->channels.c[0]->rq; in mlx5e_rx_reporter_diagnose_common_config()
416 static int mlx5e_rx_reporter_build_diagnose_output_ptp_rq(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output_ptp_rq()
463 struct mlx5e_rq *rq; in mlx5e_rx_reporter_diagnose()
[all …]
Dhealth.h31 void mlx5e_reporter_rq_cqe_err(struct mlx5e_rq *rq);
32 void mlx5e_reporter_rx_timeout(struct mlx5e_rq *rq);
Dtrap.c13 struct mlx5e_rq *rq = &trap_ctx->rq; in mlx5e_trap_napi_poll()
41 struct mlx5e_rq *rq) in mlx5e_init_trap_rq()
66 struct mlx5e_rq *rq = &t->rq; in mlx5e_open_trap_rq()
93 static void mlx5e_close_trap_rq(struct mlx5e_rq *rq) in mlx5e_close_trap_rq()
Dxdp.h49 bool mlx5e_xdp_handle(struct mlx5e_rq *rq, struct page *page,
55 void mlx5e_xdp_rx_poll_complete(struct mlx5e_rq *rq);
Dtrap.h12 struct mlx5e_rq rq;
Dptp.h33 struct mlx5e_rq rq;
Dxdp.c59 mlx5e_xmit_xdp_buff(struct mlx5e_xdpsq *sq, struct mlx5e_rq *rq, in mlx5e_xmit_xdp_buff()
160 bool mlx5e_xdp_handle(struct mlx5e_rq *rq, struct page *page, in mlx5e_xdp_handle()
670 void mlx5e_xdp_rx_poll_complete(struct mlx5e_rq *rq) in mlx5e_xdp_rx_poll_complete()
Dptp.c166 struct mlx5e_rq *rq = &c->rq; in mlx5e_ptp_napi_poll()
527 struct mlx5e_rq *rq) in mlx5e_init_ptp_rq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c64 mlx5e_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
67 mlx5e_skb_from_cqe_mpwrq_nonlinear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
69 static void mlx5e_handle_rx_cqe(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe);
70 static void mlx5e_handle_rx_cqe_mpwrq(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe);
71 static void mlx5e_handle_rx_cqe_mpwrq_shampo(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe);
92 static inline void mlx5e_read_title_slot(struct mlx5e_rq *rq, in mlx5e_read_title_slot()
137 static inline void mlx5e_decompress_cqe(struct mlx5e_rq *rq, in mlx5e_decompress_cqe()
167 static inline void mlx5e_decompress_cqe_no_hash(struct mlx5e_rq *rq, in mlx5e_decompress_cqe_no_hash()
178 static inline u32 mlx5e_decompress_cqes_cont(struct mlx5e_rq *rq, in mlx5e_decompress_cqes_cont()
208 static inline u32 mlx5e_decompress_cqes_start(struct mlx5e_rq *rq, in mlx5e_decompress_cqes_start()
[all …]
Den.h501 struct mlx5e_rq *rq;
623 struct mlx5e_rq;
624 typedef void (*mlx5e_fp_handle_rx_cqe)(struct mlx5e_rq*, struct mlx5_cqe64*);
626 (*mlx5e_fp_skb_from_cqe_mpwrq)(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
629 (*mlx5e_fp_skb_from_cqe)(struct mlx5e_rq *rq, struct mlx5e_wqe_frag_info *wi,
631 typedef bool (*mlx5e_fp_post_rx_wqes)(struct mlx5e_rq *rq);
632 typedef void (*mlx5e_fp_dealloc_wqe)(struct mlx5e_rq*, u16);
633 typedef void (*mlx5e_fp_shampo_dealloc_hd)(struct mlx5e_rq*, u16, u16, bool);
635 int mlx5e_rq_set_handlers(struct mlx5e_rq *rq, struct mlx5e_params *params, bool xsk);
636 void mlx5e_rq_set_trap_handlers(struct mlx5e_rq *rq, struct mlx5e_params *params);
[all …]
Den_dim.c47 struct mlx5e_rq *rq = container_of(dim, struct mlx5e_rq, dim); in mlx5e_rx_dim_work()
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()
Den_main.c216 static inline void mlx5e_build_umr_wqe(struct mlx5e_rq *rq, in mlx5e_build_umr_wqe()
239 static int mlx5e_rq_shampo_hd_alloc(struct mlx5e_rq *rq, int node) in mlx5e_rq_shampo_hd_alloc()
248 static void mlx5e_rq_shampo_hd_free(struct mlx5e_rq *rq) in mlx5e_rq_shampo_hd_free()
253 static int mlx5e_rq_shampo_hd_info_alloc(struct mlx5e_rq *rq, int node) in mlx5e_rq_shampo_hd_info_alloc()
272 static void mlx5e_rq_shampo_hd_info_free(struct mlx5e_rq *rq) in mlx5e_rq_shampo_hd_info_free()
278 static int mlx5e_rq_alloc_mpwqe_info(struct mlx5e_rq *rq, int node) in mlx5e_rq_alloc_mpwqe_info()
451 static int mlx5e_create_rq_umr_mkey(struct mlx5_core_dev *mdev, struct mlx5e_rq *rq) in mlx5e_create_rq_umr_mkey()
477 struct mlx5e_rq *rq) in mlx5e_create_rq_hd_umr_mkey()
490 static void mlx5e_init_frags_partition(struct mlx5e_rq *rq) in mlx5e_init_frags_partition()
530 static int mlx5e_init_au_list(struct mlx5e_rq *rq, int wq_sz, int node) in mlx5e_init_au_list()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
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()
Dtc.c841 void mlx5e_rep_tc_receive(struct mlx5_cqe64 *cqe, struct mlx5e_rq *rq, in mlx5e_rep_tc_receive()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_txrx.h22 void mlx5e_ktls_handle_rx_skb(struct mlx5e_rq *rq, struct sk_buff *skb,
90 static inline void mlx5e_ktls_handle_rx_skb(struct mlx5e_rq *rq, in mlx5e_ktls_handle_rx_skb()
Dktls_rx.c483 static void resync_update_sn(struct mlx5e_rq *rq, struct sk_buff *skb) in resync_update_sn()
563 void mlx5e_ktls_handle_rx_skb(struct mlx5e_rq *rq, struct sk_buff *skb, in mlx5e_ktls_handle_rx_skb()