Home
last modified time | relevance | path

Searched refs:mlx5e_priv (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls.h49 void mlx5e_ktls_build_netdev(struct mlx5e_priv *priv);
50 int mlx5e_ktls_init_tx(struct mlx5e_priv *priv);
51 void mlx5e_ktls_cleanup_tx(struct mlx5e_priv *priv);
52 int mlx5e_ktls_init_rx(struct mlx5e_priv *priv);
53 void mlx5e_ktls_cleanup_rx(struct mlx5e_priv *priv);
81 int mlx5e_ktls_init(struct mlx5e_priv *priv);
82 void mlx5e_ktls_cleanup(struct mlx5e_priv *priv);
84 int mlx5e_ktls_get_count(struct mlx5e_priv *priv);
85 int mlx5e_ktls_get_strings(struct mlx5e_priv *priv, uint8_t *data);
86 int mlx5e_ktls_get_stats(struct mlx5e_priv *priv, u64 *data);
[all …]
Dipsec.h93 struct mlx5e_priv;
149 int mlx5e_ipsec_init(struct mlx5e_priv *priv);
150 void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv);
151 void mlx5e_ipsec_build_netdev(struct mlx5e_priv *priv);
158 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_priv *priv,
160 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_priv *priv,
177 static inline int mlx5e_ipsec_init(struct mlx5e_priv *priv) in mlx5e_ipsec_init()
182 static inline void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv) in mlx5e_ipsec_cleanup()
186 static inline void mlx5e_ipsec_build_netdev(struct mlx5e_priv *priv) in mlx5e_ipsec_build_netdev()
Dmacsec.h19 struct mlx5e_priv;
33 void mlx5e_macsec_build_netdev(struct mlx5e_priv *priv);
34 int mlx5e_macsec_init(struct mlx5e_priv *priv);
35 void mlx5e_macsec_cleanup(struct mlx5e_priv *priv);
61 static inline void mlx5e_macsec_build_netdev(struct mlx5e_priv *priv) {} in mlx5e_macsec_build_netdev()
62 static inline int mlx5e_macsec_init(struct mlx5e_priv *priv) { return 0; } in mlx5e_macsec_init()
63 static inline void mlx5e_macsec_cleanup(struct mlx5e_priv *priv) {} in mlx5e_macsec_cleanup()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.h33 bool (*can_offload)(struct mlx5e_priv *priv);
36 struct mlx5e_priv *priv,
42 int (*parse_udp_ports)(struct mlx5e_priv *priv,
47 int (*parse_tunnel)(struct mlx5e_priv *priv,
65 struct mlx5e_priv *priv,
69 int mlx5e_tc_tun_create_header_ipv4(struct mlx5e_priv *priv,
72 int mlx5e_tc_tun_update_header_ipv4(struct mlx5e_priv *priv,
77 int mlx5e_tc_tun_create_header_ipv6(struct mlx5e_priv *priv,
80 int mlx5e_tc_tun_update_header_ipv6(struct mlx5e_priv *priv,
85 mlx5e_tc_tun_create_header_ipv6(struct mlx5e_priv *priv, in mlx5e_tc_tun_create_header_ipv6()
[all …]
Dhealth.h17 void mlx5e_reporter_tx_create(struct mlx5e_priv *priv);
18 void mlx5e_reporter_tx_destroy(struct mlx5e_priv *priv);
28 void mlx5e_reporter_rx_create(struct mlx5e_priv *priv);
29 void mlx5e_reporter_rx_destroy(struct mlx5e_priv *priv);
40 int (*dump)(struct mlx5e_priv *priv, struct devlink_fmsg *fmsg, void *ctx);
47 int mlx5e_health_recover_channels(struct mlx5e_priv *priv);
48 int mlx5e_health_report(struct mlx5e_priv *priv,
51 void mlx5e_health_create_reporters(struct mlx5e_priv *priv);
52 void mlx5e_health_destroy_reporters(struct mlx5e_priv *priv);
53 void mlx5e_health_channels_update(struct mlx5e_priv *priv);
[all …]
Dqos.h11 struct mlx5e_priv;
21 int mlx5e_open_qos_sq(struct mlx5e_priv *priv, struct mlx5e_channels *chs,
24 void mlx5e_deactivate_qos_sq(struct mlx5e_priv *priv, u16 qid);
25 void mlx5e_close_qos_sq(struct mlx5e_priv *priv, u16 qid);
26 void mlx5e_reactivate_qos_sq(struct mlx5e_priv *priv, u16 qid, struct netdev_queue *txq);
29 int mlx5e_qos_open_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
30 void mlx5e_qos_activate_queues(struct mlx5e_priv *priv);
35 int mlx5e_qos_alloc_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
41 int mlx5e_htb_setup_tc(struct mlx5e_priv *priv, struct tc_htb_qopt_offload *htb);
Dtc_tun_encap.h9 void mlx5e_detach_encap(struct mlx5e_priv *priv,
14 int mlx5e_attach_encap(struct mlx5e_priv *priv,
22 int mlx5e_attach_decap(struct mlx5e_priv *priv,
25 void mlx5e_detach_decap(struct mlx5e_priv *priv,
28 int mlx5e_attach_decap_route(struct mlx5e_priv *priv,
30 void mlx5e_detach_decap_route(struct mlx5e_priv *priv,
38 struct mlx5e_tc_tun_encap *mlx5e_tc_tun_init(struct mlx5e_priv *priv);
Ddcbnl.h43 void mlx5e_dcbnl_initialize(struct mlx5e_priv *priv);
44 void mlx5e_dcbnl_init_app(struct mlx5e_priv *priv);
45 void mlx5e_dcbnl_delete_app(struct mlx5e_priv *priv);
48 static inline void mlx5e_dcbnl_initialize(struct mlx5e_priv *priv) {} in mlx5e_dcbnl_initialize()
49 static inline void mlx5e_dcbnl_init_app(struct mlx5e_priv *priv) {} in mlx5e_dcbnl_init_app()
50 static inline void mlx5e_dcbnl_delete_app(struct mlx5e_priv *priv) {} in mlx5e_dcbnl_delete_app()
Dmonitor_stats.c23 int mlx5e_monitor_counter_supported(struct mlx5e_priv *priv) in mlx5e_monitor_counter_supported()
39 void mlx5e_monitor_counter_arm(struct mlx5e_priv *priv) in mlx5e_monitor_counter_arm()
50 struct mlx5e_priv *priv = container_of(work, struct mlx5e_priv, in mlx5e_monitor_counters_work()
62 struct mlx5e_priv *priv = mlx5_nb_cof(nb, struct mlx5e_priv, in mlx5e_monitor_event_handler()
100 static void mlx5e_set_monitor_counter(struct mlx5e_priv *priv) in mlx5e_set_monitor_counter()
128 void mlx5e_monitor_counter_init(struct mlx5e_priv *priv) in mlx5e_monitor_counter_init()
141 void mlx5e_monitor_counter_cleanup(struct mlx5e_priv *priv) in mlx5e_monitor_counter_cleanup()
Dhv_vhca_stats.c17 mlx5e_hv_vhca_fill_ring_stats(struct mlx5e_priv *priv, int ch, in mlx5e_hv_vhca_fill_ring_stats()
33 static void mlx5e_hv_vhca_fill_stats(struct mlx5e_priv *priv, void *data, in mlx5e_hv_vhca_fill_stats()
51 static int mlx5e_hv_vhca_stats_buf_size(struct mlx5e_priv *priv) in mlx5e_hv_vhca_stats_buf_size()
62 struct mlx5e_priv *priv; in mlx5e_hv_vhca_stats_work()
68 priv = container_of(sagent, struct mlx5e_priv, stats_agent); in mlx5e_hv_vhca_stats_work()
97 struct mlx5e_priv *priv; in mlx5e_hv_vhca_stats_control()
118 struct mlx5e_priv *priv = mlx5_hv_vhca_agent_priv(agent); in mlx5e_hv_vhca_stats_cleanup()
123 void mlx5e_hv_vhca_stats_create(struct mlx5e_priv *priv) in mlx5e_hv_vhca_stats_create()
152 void mlx5e_hv_vhca_stats_destroy(struct mlx5e_priv *priv) in mlx5e_hv_vhca_stats_destroy()
Dfs_ethtool.h7 struct mlx5e_priv;
14 int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd);
15 int mlx5e_ethtool_get_rxnfc(struct mlx5e_priv *priv,
23 static inline int mlx5e_ethtool_set_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *cmd) in mlx5e_ethtool_set_rxnfc()
25 static inline int mlx5e_ethtool_get_rxnfc(struct mlx5e_priv *priv, in mlx5e_ethtool_get_rxnfc()
Dmonitor_stats.h7 int mlx5e_monitor_counter_supported(struct mlx5e_priv *priv);
8 void mlx5e_monitor_counter_init(struct mlx5e_priv *priv);
9 void mlx5e_monitor_counter_cleanup(struct mlx5e_priv *priv);
10 void mlx5e_monitor_counter_arm(struct mlx5e_priv *priv);
Dhv_vhca_stats.h10 void mlx5e_hv_vhca_stats_create(struct mlx5e_priv *priv);
11 void mlx5e_hv_vhca_stats_destroy(struct mlx5e_priv *priv);
14 static inline void mlx5e_hv_vhca_stats_create(struct mlx5e_priv *priv) {} in mlx5e_hv_vhca_stats_create()
15 static inline void mlx5e_hv_vhca_stats_destroy(struct mlx5e_priv *priv) {} in mlx5e_hv_vhca_stats_destroy()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h58 int mlx5e_tc_num_filters(struct mlx5e_priv *priv, unsigned long flags);
188 int mlx5e_configure_flower(struct net_device *dev, struct mlx5e_priv *priv,
190 int mlx5e_delete_flower(struct net_device *dev, struct mlx5e_priv *priv,
193 int mlx5e_stats_flower(struct net_device *dev, struct mlx5e_priv *priv,
196 int mlx5e_tc_configure_matchall(struct mlx5e_priv *priv,
198 int mlx5e_tc_delete_matchall(struct mlx5e_priv *priv,
200 void mlx5e_tc_stats_matchall(struct mlx5e_priv *priv,
204 void mlx5e_tc_encap_flows_add(struct mlx5e_priv *priv,
207 void mlx5e_tc_encap_flows_del(struct mlx5e_priv *priv,
211 void mlx5e_encap_put(struct mlx5e_priv *priv, struct mlx5e_encap_entry *e);
[all …]
Den.h362 struct mlx5e_priv *priv;
455 struct mlx5e_priv *priv;
733 struct mlx5e_priv *priv;
810 struct mlx5e_priv *priv;
895 struct mlx5e_priv { struct
990 void (*cleanup)(struct mlx5e_priv *priv); argument
991 int (*init_rx)(struct mlx5e_priv *priv);
992 void (*cleanup_rx)(struct mlx5e_priv *priv);
993 int (*init_tx)(struct mlx5e_priv *priv);
994 void (*cleanup_tx)(struct mlx5e_priv *priv);
[all …]
Den_rep.c70 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_drvinfo()
196 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_strings()
208 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_ethtool_stats()
215 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_sset_count()
231 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_ringparam()
242 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_set_ringparam()
250 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_channels()
258 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_set_channels()
268 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_rep_get_coalesce()
278 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_rep_set_coalesce()
[all …]
Den_rep.h135 struct mlx5e_priv *priv;
238 int mlx5e_rep_bond_update(struct mlx5e_priv *priv, bool cleanup);
244 bool mlx5e_is_uplink_rep(struct mlx5e_priv *priv);
245 void mlx5e_rep_activate_channels(struct mlx5e_priv *priv);
246 void mlx5e_rep_deactivate_channels(struct mlx5e_priv *priv);
248 void mlx5e_rep_queue_neigh_stats_work(struct mlx5e_priv *priv);
259 static inline bool mlx5e_is_uplink_rep(struct mlx5e_priv *priv) { return false; } in mlx5e_is_uplink_rep()
260 static inline void mlx5e_rep_activate_channels(struct mlx5e_priv *priv) {} in mlx5e_rep_activate_channels()
261 static inline void mlx5e_rep_deactivate_channels(struct mlx5e_priv *priv) {} in mlx5e_rep_deactivate_channels()
271 static inline bool mlx5e_is_vport_rep(struct mlx5e_priv *priv) in mlx5e_is_vport_rep()
Den_ethtool.c42 void mlx5e_ethtool_get_drvinfo(struct mlx5e_priv *priv, in mlx5e_ethtool_get_drvinfo()
59 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_drvinfo()
239 int mlx5e_ethtool_get_sset_count(struct mlx5e_priv *priv, int sset) in mlx5e_ethtool_get_sset_count()
255 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_sset_count()
260 void mlx5e_ethtool_get_strings(struct mlx5e_priv *priv, u32 stringset, u8 *data) in mlx5e_ethtool_get_strings()
283 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_strings()
288 void mlx5e_ethtool_get_ethtool_stats(struct mlx5e_priv *priv, in mlx5e_ethtool_get_ethtool_stats()
304 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_ethtool_stats()
309 void mlx5e_ethtool_get_ringparam(struct mlx5e_priv *priv, in mlx5e_ethtool_get_ringparam()
337 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_ringparam()
[all …]
Den_dcbnl.c64 static int mlx5e_set_trust_state(struct mlx5e_priv *priv, u8 trust_state);
65 static int mlx5e_set_dscp2prio(struct mlx5e_priv *priv, u8 dscp, u8 prio);
69 static int mlx5e_dcbnl_set_dcbx_mode(struct mlx5e_priv *priv, in mlx5e_dcbnl_set_dcbx_mode()
87 static int mlx5e_dcbnl_switch_to_host_mode(struct mlx5e_priv *priv) in mlx5e_dcbnl_switch_to_host_mode()
109 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_dcbnl_ieee_getets()
249 static int mlx5e_dcbnl_ieee_setets_core(struct mlx5e_priv *priv, struct ieee_ets *ets) in mlx5e_dcbnl_ieee_setets_core()
323 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_dcbnl_ieee_setets()
343 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_dcbnl_ieee_getpfc()
363 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_dcbnl_ieee_setpfc()
409 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_dcbnl_getdcbx()
[all …]
Den_stats.h70 struct mlx5e_priv;
73 int (*get_num_stats)(struct mlx5e_priv *priv);
74 int (*fill_strings)(struct mlx5e_priv *priv, u8 *data, int idx);
75 int (*fill_stats)(struct mlx5e_priv *priv, u64 *data, int idx);
76 void (*update_stats)(struct mlx5e_priv *priv);
84 int MLX5E_STATS_GRP_OP(grp, num_stats)(struct mlx5e_priv *priv)
87 void MLX5E_STATS_GRP_OP(grp, update_stats)(struct mlx5e_priv *priv)
90 int MLX5E_STATS_GRP_OP(grp, fill_strings)(struct mlx5e_priv *priv, u8 *data, int idx)
93 int MLX5E_STATS_GRP_OP(grp, fill_stats)(struct mlx5e_priv *priv, u64 *data, int idx)
109 unsigned int mlx5e_stats_total_num(struct mlx5e_priv *priv);
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.h19 void mlx5e_rep_tc_enable(struct mlx5e_priv *priv);
20 void mlx5e_rep_tc_disable(struct mlx5e_priv *priv);
22 int mlx5e_rep_tc_event_port_affinity(struct mlx5e_priv *priv);
24 void mlx5e_rep_update_flows(struct mlx5e_priv *priv,
29 int mlx5e_rep_encap_entry_attach(struct mlx5e_priv *priv,
33 void mlx5e_rep_encap_entry_detach(struct mlx5e_priv *priv,
56 mlx5e_rep_tc_enable(struct mlx5e_priv *priv) {} in mlx5e_rep_tc_enable()
58 mlx5e_rep_tc_disable(struct mlx5e_priv *priv) {} in mlx5e_rep_tc_disable()
61 mlx5e_rep_tc_event_port_affinity(struct mlx5e_priv *priv) { return NOTIFY_DONE; } in mlx5e_rep_tc_event_port_affinity()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c40 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_drvinfo()
49 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_strings()
56 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_sset_count()
65 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_ethtool_stats()
75 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_set_ringparam()
85 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_ringparam()
94 struct mlx5e_priv *epriv = mlx5i_epriv(dev); in mlx5i_set_channels()
113 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_channels()
123 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_set_coalesce()
133 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_get_coalesce()
[all …]
Dipoib.h62 char *mlx5e_priv[]; member
68 int mlx5i_create_underlay_qp(struct mlx5e_priv *priv);
72 int mlx5i_init_underlay_qp(struct mlx5e_priv *priv);
73 void mlx5i_uninit_underlay_qp(struct mlx5e_priv *priv);
93 void mlx5i_cleanup(struct mlx5e_priv *priv);
95 int mlx5i_update_nic_rx(struct mlx5e_priv *priv);
101 #define mlx5i_epriv(netdev) ((void *)(((struct mlx5i_priv *)netdev_priv(netdev))->mlx5e_priv))
Dipoib.c83 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_init()
111 void mlx5i_cleanup(struct mlx5e_priv *priv) in mlx5i_cleanup()
116 static void mlx5i_grp_sw_update_stats(struct mlx5e_priv *priv) in mlx5i_grp_sw_update_stats()
151 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_stats()
165 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_parent_get()
189 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_parent_put()
201 int mlx5i_init_underlay_qp(struct mlx5e_priv *priv) in mlx5i_init_underlay_qp()
256 void mlx5i_uninit_underlay_qp(struct mlx5e_priv *priv) in mlx5i_uninit_underlay_qp()
269 int mlx5i_create_underlay_qp(struct mlx5e_priv *priv) in mlx5i_create_underlay_qp()
315 int mlx5i_update_nic_rx(struct mlx5e_priv *priv) in mlx5i_update_nic_rx()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.h21 mlx5e_tc_int_port_init(struct mlx5e_priv *priv);
25 void mlx5e_tc_int_port_init_rep_rx(struct mlx5e_priv *priv);
26 void mlx5e_tc_int_port_cleanup_rep_rx(struct mlx5e_priv *priv);
61 static inline void mlx5e_tc_int_port_init_rep_rx(struct mlx5e_priv *priv) {} in mlx5e_tc_int_port_init_rep_rx()
62 static inline void mlx5e_tc_int_port_cleanup_rep_rx(struct mlx5e_priv *priv) {} in mlx5e_tc_int_port_cleanup_rep_rx()

12345