Home
last modified time | relevance | path

Searched refs:mlx5e_channels (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dchannels.h9 struct mlx5e_channels;
11 unsigned int mlx5e_channels_get_num(struct mlx5e_channels *chs);
12 bool mlx5e_channels_is_xsk(struct mlx5e_channels *chs, unsigned int ix);
13 void mlx5e_channels_get_regular_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn,
15 void mlx5e_channels_get_xsk_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn,
17 bool mlx5e_channels_get_ptp_rqn(struct mlx5e_channels *chs, u32 *rqn);
18 int mlx5e_channels_rx_change_dim(struct mlx5e_channels *chs, bool enabled);
19 int mlx5e_channels_tx_change_dim(struct mlx5e_channels *chs, bool enabled);
20 int mlx5e_channels_rx_toggle_dim(struct mlx5e_channels *chs);
21 int mlx5e_channels_tx_toggle_dim(struct mlx5e_channels *chs);
H A Dchannels.c9 unsigned int mlx5e_channels_get_num(struct mlx5e_channels *chs) in mlx5e_channels_get_num()
14 static struct mlx5e_channel *mlx5e_channels_get(struct mlx5e_channels *chs, unsigned int ix) in mlx5e_channels_get()
20 bool mlx5e_channels_is_xsk(struct mlx5e_channels *chs, unsigned int ix) in mlx5e_channels_is_xsk()
27 void mlx5e_channels_get_regular_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn, in mlx5e_channels_get_regular_rqn()
37 void mlx5e_channels_get_xsk_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn, in mlx5e_channels_get_xsk_rqn()
49 bool mlx5e_channels_get_ptp_rqn(struct mlx5e_channels *chs, u32 *rqn) in mlx5e_channels_get_ptp_rqn()
60 int mlx5e_channels_rx_change_dim(struct mlx5e_channels *chs, bool enable) in mlx5e_channels_rx_change_dim()
74 int mlx5e_channels_tx_change_dim(struct mlx5e_channels *chs, bool enable) in mlx5e_channels_tx_change_dim()
90 int mlx5e_channels_rx_toggle_dim(struct mlx5e_channels *chs) in mlx5e_channels_rx_toggle_dim()
114 int mlx5e_channels_tx_toggle_dim(struct mlx5e_channels *chs) in mlx5e_channels_tx_toggle_dim()
H A Dqos.h13 struct mlx5e_channels;
21 int mlx5e_open_qos_sq(struct mlx5e_priv *priv, struct mlx5e_channels *chs,
29 int mlx5e_qos_open_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
32 void mlx5e_qos_deactivate_all_queues(struct mlx5e_channels *chs);
34 void mlx5e_qos_close_all_queues(struct mlx5e_channels *chs);
35 int mlx5e_qos_alloc_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
38 u16 mlx5e_qid_from_qos(struct mlx5e_channels *chs, u16 qid);
H A Drx_res.h15 struct mlx5e_channels;
39 void mlx5e_rx_res_channels_activate(struct mlx5e_rx_res *res, struct mlx5e_channels *chs);
41 void mlx5e_rx_res_xsk_update(struct mlx5e_rx_res *res, struct mlx5e_channels *chs,
H A Dqos.c13 struct mlx5e_channels *chs;
38 u16 mlx5e_qid_from_qos(struct mlx5e_channels *chs, u16 qid) in mlx5e_qid_from_qos()
69 int mlx5e_open_qos_sq(struct mlx5e_priv *priv, struct mlx5e_channels *chs, in mlx5e_open_qos_sq()
261 void mlx5e_qos_close_all_queues(struct mlx5e_channels *chs) in mlx5e_qos_close_all_queues()
269 int mlx5e_qos_alloc_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_qos_alloc_queues()
303 int mlx5e_qos_open_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_qos_open_queues()
359 void mlx5e_qos_deactivate_all_queues(struct mlx5e_channels *chs) in mlx5e_qos_deactivate_all_queues()
H A Drx_res.c531 struct mlx5e_channels *chs, in mlx5e_rx_res_channel_activate_direct()
557 void mlx5e_rx_res_channels_activate(struct mlx5e_rx_res *res, struct mlx5e_channels *chs) in mlx5e_rx_res_channels_activate()
614 void mlx5e_rx_res_xsk_update(struct mlx5e_rx_res *res, struct mlx5e_channels *chs, in mlx5e_rx_res_xsk_update()
H A Dreporter_tx.c169 struct mlx5e_channels *chs; in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h791 struct mlx5e_channels { struct
880 struct mlx5e_channels channels;
1035 bool mlx5e_reset_rx_channels_moderation(struct mlx5e_channels *chs, u8 cq_period_mode,
1070 struct mlx5e_channels *chs);
1071 void mlx5e_close_channels(struct mlx5e_channels *chs);
1123 bool mlx5e_reset_tx_channels_moderation(struct mlx5e_channels *chs, u8 cq_period_mode,
H A Den_main.c1931 bool mlx5e_reset_tx_channels_moderation(struct mlx5e_channels *chs, u8 cq_period_mode, in mlx5e_reset_tx_channels_moderation()
2818 struct mlx5e_channels *chs) in mlx5e_open_channels()
2869 static void mlx5e_activate_channels(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_activate_channels()
2886 static int mlx5e_wait_channels_min_rx_wqes(struct mlx5e_channels *chs) in mlx5e_wait_channels_min_rx_wqes()
2908 static void mlx5e_deactivate_channels(struct mlx5e_channels *chs) in mlx5e_deactivate_channels()
2919 void mlx5e_close_channels(struct mlx5e_channels *chs) in mlx5e_close_channels()
3273 struct mlx5e_channels *new_chs, in mlx5e_switch_priv_channels()
3278 struct mlx5e_channels old_chs; in mlx5e_switch_priv_channels()
3320 struct mlx5e_channels *new_chs; in mlx5e_safe_switch_params()
3572 static int mlx5e_modify_channels_vsd(struct mlx5e_channels *chs, bool vsd) in mlx5e_modify_channels_vsd()
[all …]
H A Den_ethtool.c588 struct mlx5e_channels *chs; in mlx5e_ethtool_get_per_queue_coalesce()
817 struct mlx5e_channels *chs; in mlx5e_ethtool_set_per_queue_coalesce()
2218 struct mlx5e_channels *channels = &priv->channels; in set_pflag_rx_no_csum_complete()