/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | rx.h | 11 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 D | setup.c | 64 struct mlx5e_rq *rq) in mlx5e_init_xsk_rq() 98 struct mlx5e_rq *xskrq = &c->xskrq; in mlx5e_open_xsk_rq()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 64 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 D | en.h | 583 struct mlx5e_rq; 584 typedef void (*mlx5e_fp_handle_rx_cqe)(struct mlx5e_rq*, struct mlx5_cqe64*); 586 (*mlx5e_fp_skb_from_cqe_mpwrq)(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi, 590 (*mlx5e_fp_skb_from_cqe)(struct mlx5e_rq *rq, struct mlx5e_wqe_frag_info *wi, 592 typedef bool (*mlx5e_fp_post_rx_wqes)(struct mlx5e_rq *rq); 593 typedef void (*mlx5e_fp_dealloc_wqe)(struct mlx5e_rq*, u16); 594 typedef void (*mlx5e_fp_shampo_dealloc_hd)(struct mlx5e_rq*, u16, u16, bool); 596 int mlx5e_rq_set_handlers(struct mlx5e_rq *rq, struct mlx5e_params *params, bool xsk); 597 void mlx5e_rq_set_trap_handlers(struct mlx5e_rq *rq, struct mlx5e_params *params); 651 struct mlx5e_rq { struct [all …]
|
H A D | en_dim.c | 48 struct mlx5e_rq *rq = dim->priv; in mlx5e_rx_dim_work() 97 int mlx5e_dim_rx_change(struct mlx5e_rq *rq, bool enable) in mlx5e_dim_rx_change()
|
H A D | en_main.c | 310 static inline void mlx5e_build_umr_wqe(struct mlx5e_rq *rq, in mlx5e_build_umr_wqe() 333 static int mlx5e_rq_shampo_hd_alloc(struct mlx5e_rq *rq, int node) in mlx5e_rq_shampo_hd_alloc() 342 static void mlx5e_rq_shampo_hd_free(struct mlx5e_rq *rq) in mlx5e_rq_shampo_hd_free() 347 static int mlx5e_rq_shampo_hd_info_alloc(struct mlx5e_rq *rq, int node) in mlx5e_rq_shampo_hd_info_alloc() 368 static void mlx5e_rq_shampo_hd_info_free(struct mlx5e_rq *rq) in mlx5e_rq_shampo_hd_info_free() 374 static int mlx5e_rq_alloc_mpwqe_info(struct mlx5e_rq *rq, int node) in mlx5e_rq_alloc_mpwqe_info() 558 static int mlx5e_create_rq_umr_mkey(struct mlx5_core_dev *mdev, struct mlx5e_rq *rq) in mlx5e_create_rq_umr_mkey() 584 struct mlx5e_rq *rq) in mlx5e_create_rq_hd_umr_mkey() 599 static void mlx5e_init_frags_partition(struct mlx5e_rq *rq) in mlx5e_init_frags_partition() 638 static void mlx5e_init_xsk_buffs(struct mlx5e_rq *rq) in mlx5e_init_xsk_buffs() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_rx.c | 78 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() 221 static void mlx5e_health_rq_put_sw_state(struct devlink_fmsg *fmsg, struct mlx5e_rq *rq) in mlx5e_health_rq_put_sw_state() 237 mlx5e_rx_reporter_build_diagnose_output_rq_common(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output_rq_common() 278 static void mlx5e_rx_reporter_build_diagnose_output(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output() 287 static void mlx5e_rx_reporter_diagnose_generic_rq(struct mlx5e_rq *rq, in mlx5e_rx_reporter_diagnose_generic_rq() 324 struct mlx5e_rq *generic_rq = &priv->channels.c[0]->rq; in mlx5e_rx_reporter_diagnose_common_config() 334 static void mlx5e_rx_reporter_build_diagnose_output_ptp_rq(struct mlx5e_rq *rq, in mlx5e_rx_reporter_build_diagnose_output_ptp_rq() [all …]
|
H A D | txrx.h | 89 INDIRECT_CALLABLE_DECLARE(bool mlx5e_post_rx_wqes(struct mlx5e_rq *rq)); 90 INDIRECT_CALLABLE_DECLARE(bool mlx5e_post_rx_mpwqes(struct mlx5e_rq *rq)); 92 void mlx5e_free_rx_descs(struct mlx5e_rq *rq); 93 void mlx5e_free_rx_missing_descs(struct mlx5e_rq *rq); 219 static inline u16 mlx5e_shampo_get_cqe_header_index(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe) in mlx5e_shampo_get_cqe_header_index() 235 struct mlx5e_rq *rq; 366 static inline void mlx5e_rqwq_reset(struct mlx5e_rq *rq) in mlx5e_rqwq_reset() 392 static inline u32 mlx5e_rqwq_get_size(struct mlx5e_rq *rq) in mlx5e_rqwq_get_size() 402 static inline u32 mlx5e_rqwq_get_cur_sz(struct mlx5e_rq *rq) in mlx5e_rqwq_get_cur_sz() 412 static inline u16 mlx5e_rqwq_get_head(struct mlx5e_rq *rq) in mlx5e_rqwq_get_head() [all …]
|
H A D | xdp.h | 51 struct mlx5e_rq *rq; 97 struct mlx5e_rq *rq; 106 bool mlx5e_xdp_handle(struct mlx5e_rq *rq, 112 void mlx5e_xdp_rx_poll_complete(struct mlx5e_rq *rq);
|
H A D | dim.h | 12 struct mlx5e_rq; 42 int mlx5e_dim_rx_change(struct mlx5e_rq *rq, bool enabled);
|
H A D | health.h | 32 void mlx5e_reporter_rq_cqe_err(struct mlx5e_rq *rq); 33 void mlx5e_reporter_rx_timeout(struct mlx5e_rq *rq);
|
H A D | trap.c | 12 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() 96 static void mlx5e_close_trap_rq(struct mlx5e_rq *rq) in mlx5e_close_trap_rq()
|
H A D | trap.h | 12 struct mlx5e_rq rq;
|
H A D | ptp.h | 53 struct mlx5e_rq rq;
|
H A D | ptp.c | 267 struct mlx5e_rq *rq = &c->rq; in mlx5e_ptp_napi_poll() 689 struct mlx5e_rq *rq) in mlx5e_init_ptp_rq()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.h | 39 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 D | tc.c | 700 void mlx5e_rep_tc_receive(struct mlx5_cqe64 *cqe, struct mlx5e_rq *rq, in mlx5e_rep_tc_receive()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_txrx.h | 22 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 D | ktls_rx.c | 482 static void resync_update_sn(struct mlx5e_rq *rq, struct sk_buff *skb) in resync_update_sn() 562 void mlx5e_ktls_handle_rx_skb(struct mlx5e_rq *rq, struct sk_buff *skb, in mlx5e_ktls_handle_rx_skb()
|