Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs.h107 struct mlx5e_priv;
129 int mlx5e_ethtool_get_rxnfc(struct mlx5e_priv *priv,
144 int mlx5e_arfs_create_tables(struct mlx5e_priv *priv);
146 int mlx5e_arfs_enable(struct mlx5e_priv *priv);
147 int mlx5e_arfs_disable(struct mlx5e_priv *priv);
188 void mlx5e_set_ttc_params(struct mlx5e_priv *priv,
192 int mlx5e_create_ttc_table(struct mlx5e_priv *priv);
202 int mlx5e_fs_init(struct mlx5e_priv *priv);
203 void mlx5e_fs_cleanup(struct mlx5e_priv *priv);
206 void mlx5e_remove_vlan_trap(struct mlx5e_priv *priv);
[all …]
A 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,
85 mlx5e_tc_tun_create_header_ipv6(struct mlx5e_priv *priv, in mlx5e_tc_tun_create_header_ipv6()
90 mlx5e_tc_tun_update_header_ipv6(struct mlx5e_priv *priv, in mlx5e_tc_tun_update_header_ipv6()
95 int mlx5e_tc_tun_route_lookup(struct mlx5e_priv *priv,
103 struct mlx5e_priv *priv,
[all …]
A Dqos.h11 struct mlx5e_priv;
17 int mlx5e_qos_cur_leaf_nodes(struct mlx5e_priv *priv);
20 int mlx5e_get_txq_by_classid(struct mlx5e_priv *priv, u16 classid);
21 struct mlx5e_txqsq *mlx5e_get_sq(struct mlx5e_priv *priv, int qid);
24 int mlx5e_qos_open_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
25 void mlx5e_qos_activate_queues(struct mlx5e_priv *priv);
30 int mlx5e_htb_root_add(struct mlx5e_priv *priv, u16 htb_maj_id, u16 htb_defcls,
32 int mlx5e_htb_root_del(struct mlx5e_priv *priv);
33 int mlx5e_htb_leaf_alloc_queue(struct mlx5e_priv *priv, u16 classid,
38 int mlx5e_htb_leaf_del(struct mlx5e_priv *priv, u16 *classid,
[all …]
A 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 …]
A Dtc_tun_encap.h9 void mlx5e_detach_encap(struct mlx5e_priv *priv,
12 int mlx5e_attach_encap(struct mlx5e_priv *priv,
19 int mlx5e_attach_decap(struct mlx5e_priv *priv,
22 void mlx5e_detach_decap(struct mlx5e_priv *priv,
25 int mlx5e_attach_decap_route(struct mlx5e_priv *priv,
27 void mlx5e_detach_decap_route(struct mlx5e_priv *priv,
35 struct mlx5e_tc_tun_encap *mlx5e_tc_tun_init(struct mlx5e_priv *priv);
A Dfs_tt_redirect.h14 mlx5e_fs_tt_redirect_udp_add_rule(struct mlx5e_priv *priv,
17 void mlx5e_fs_tt_redirect_udp_destroy(struct mlx5e_priv *priv);
18 int mlx5e_fs_tt_redirect_udp_create(struct mlx5e_priv *priv);
22 mlx5e_fs_tt_redirect_any_add_rule(struct mlx5e_priv *priv,
24 void mlx5e_fs_tt_redirect_any_destroy(struct mlx5e_priv *priv);
25 int mlx5e_fs_tt_redirect_any_create(struct mlx5e_priv *priv);
A 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()
A Ddcbnl.h44 void mlx5e_dcbnl_initialize(struct mlx5e_priv *priv);
45 void mlx5e_dcbnl_init_app(struct mlx5e_priv *priv);
46 void mlx5e_dcbnl_delete_app(struct mlx5e_priv *priv);
50 static inline void mlx5e_dcbnl_initialize(struct mlx5e_priv *priv) {} in mlx5e_dcbnl_initialize()
51 static inline void mlx5e_dcbnl_init_app(struct mlx5e_priv *priv) {} in mlx5e_dcbnl_init_app()
52 static inline void mlx5e_dcbnl_delete_app(struct mlx5e_priv *priv) {} in mlx5e_dcbnl_delete_app()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den.h348 struct mlx5e_priv *priv;
440 struct mlx5e_priv *priv;
703 struct mlx5e_priv *priv;
780 struct mlx5e_priv *priv;
878 struct mlx5e_priv { struct
964 void (*cleanup)(struct mlx5e_priv *priv); argument
965 int (*init_rx)(struct mlx5e_priv *priv);
967 int (*init_tx)(struct mlx5e_priv *priv);
969 void (*enable)(struct mlx5e_priv *priv);
970 void (*disable)(struct mlx5e_priv *priv);
[all …]
A Den_tc.h166 int mlx5e_tc_delete_matchall(struct mlx5e_priv *priv,
168 void mlx5e_tc_stats_matchall(struct mlx5e_priv *priv,
172 void mlx5e_tc_encap_flows_add(struct mlx5e_priv *priv,
175 void mlx5e_tc_encap_flows_del(struct mlx5e_priv *priv,
246 int mlx5e_tc_add_flow_mod_hdr(struct mlx5e_priv *priv,
262 int mlx5e_tc_nic_init(struct mlx5e_priv *priv);
263 void mlx5e_tc_nic_cleanup(struct mlx5e_priv *priv);
269 mlx5e_add_offloaded_nic_rule(struct mlx5e_priv *priv,
277 mlx5_tc_rule_insert(struct mlx5e_priv *priv,
281 mlx5_tc_rule_delete(struct mlx5e_priv *priv,
[all …]
A Den_rep.c67 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_drvinfo()
193 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_strings()
205 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_ethtool_stats()
212 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_sset_count()
225 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_ringparam()
233 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_set_ringparam()
241 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_rep_get_channels()
885 struct mlx5e_priv *priv; in mlx5e_init_uplink_rep_tx()
977 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in uplink_rep_async_event()
1163 struct mlx5e_priv *priv; in mlx5e_vport_uplink_rep_unload()
[all …]
A Den_ethtool.c57 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_drvinfo()
253 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_sset_count()
281 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_strings()
302 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_ethtool_stats()
319 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_ringparam()
385 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_set_ringparam()
409 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_channels()
508 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_set_channels()
1224 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_get_rxfh_context()
1237 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_set_rxfh_context()
[all …]
A Den_rep.h135 struct mlx5e_priv *priv;
230 int mlx5e_rep_bond_update(struct mlx5e_priv *priv, bool cleanup);
236 bool mlx5e_is_uplink_rep(struct mlx5e_priv *priv);
237 int mlx5e_add_sqs_fwd_rules(struct mlx5e_priv *priv);
238 void mlx5e_remove_sqs_fwd_rules(struct mlx5e_priv *priv);
240 void mlx5e_rep_queue_neigh_stats_work(struct mlx5e_priv *priv);
251 static inline bool mlx5e_is_uplink_rep(struct mlx5e_priv *priv) { return false; } in mlx5e_is_uplink_rep()
252 static inline int mlx5e_add_sqs_fwd_rules(struct mlx5e_priv *priv) { return 0; } in mlx5e_add_sqs_fwd_rules()
253 static inline void mlx5e_remove_sqs_fwd_rules(struct mlx5e_priv *priv) {} in mlx5e_remove_sqs_fwd_rules()
263 static inline bool mlx5e_is_vport_rep(struct mlx5e_priv *priv) in mlx5e_is_vport_rep()
A Den_dcbnl.c109 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_dcbnl_ieee_getets()
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()
416 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_dcbnl_setdcbx()
449 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_dcbnl_ieee_setapp()
504 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_dcbnl_ieee_delapp()
621 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_dcbnl_setall()
907 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_dcbnl_getbuffer()
[all …]
A Den_fs.c44 static int mlx5e_add_l2_flow_rule(struct mlx5e_priv *priv,
373 void mlx5e_remove_vlan_trap(struct mlx5e_priv *priv) in mlx5e_remove_vlan_trap()
399 void mlx5e_remove_mac_trap(struct mlx5e_priv *priv) in mlx5e_remove_mac_trap()
462 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_vlan_rx_add_vid()
477 struct mlx5e_priv *priv = netdev_priv(dev); in mlx5e_vlan_rx_kill_vid()
784 struct mlx5e_priv *priv = container_of(work, struct mlx5e_priv, in mlx5e_set_rx_mode_work()
844 void mlx5e_init_l2_addr(struct mlx5e_priv *priv) in mlx5e_init_l2_addr()
879 void mlx5e_set_ttc_params(struct mlx5e_priv *priv, in mlx5e_set_ttc_params()
1255 int mlx5e_create_ttc_table(struct mlx5e_priv *priv) in mlx5e_create_ttc_table()
1345 int mlx5e_fs_init(struct mlx5e_priv *priv) in mlx5e_fs_init()
[all …]
A Den_stats.h70 struct mlx5e_priv;
73 int (*get_num_stats)(struct mlx5e_priv *priv);
76 void (*update_stats)(struct mlx5e_priv *priv);
110 void mlx5e_stats_update(struct mlx5e_priv *priv);
113 void mlx5e_stats_update_ndo_stats(struct mlx5e_priv *priv);
115 void mlx5e_stats_pause_get(struct mlx5e_priv *priv,
117 void mlx5e_stats_fec_get(struct mlx5e_priv *priv,
120 void mlx5e_stats_eth_phy_get(struct mlx5e_priv *priv,
122 void mlx5e_stats_eth_mac_get(struct mlx5e_priv *priv,
124 void mlx5e_stats_eth_ctrl_get(struct mlx5e_priv *priv,
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dtls.h94 static inline bool mlx5e_is_tls_on(struct mlx5e_priv *priv) in mlx5e_is_tls_on()
99 void mlx5e_tls_build_netdev(struct mlx5e_priv *priv);
100 int mlx5e_tls_init(struct mlx5e_priv *priv);
101 void mlx5e_tls_cleanup(struct mlx5e_priv *priv);
103 int mlx5e_tls_get_count(struct mlx5e_priv *priv);
104 int mlx5e_tls_get_strings(struct mlx5e_priv *priv, uint8_t *data);
105 int mlx5e_tls_get_stats(struct mlx5e_priv *priv, u64 *data);
115 static inline void mlx5e_tls_build_netdev(struct mlx5e_priv *priv) in mlx5e_tls_build_netdev()
123 static inline int mlx5e_tls_init(struct mlx5e_priv *priv) { return 0; } in mlx5e_tls_init()
124 static inline void mlx5e_tls_cleanup(struct mlx5e_priv *priv) { } in mlx5e_tls_cleanup()
[all …]
A Dipsec.h48 struct mlx5e_priv;
82 struct mlx5e_priv *en_priv;
120 int mlx5e_ipsec_init(struct mlx5e_priv *priv);
121 void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv);
122 void mlx5e_ipsec_build_netdev(struct mlx5e_priv *priv);
133 static inline int mlx5e_ipsec_init(struct mlx5e_priv *priv) in mlx5e_ipsec_init()
138 static inline void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv) in mlx5e_ipsec_cleanup()
142 static inline void mlx5e_ipsec_build_netdev(struct mlx5e_priv *priv) in mlx5e_ipsec_build_netdev()
A Dipsec_fs.h13 void mlx5e_accel_ipsec_fs_cleanup(struct mlx5e_priv *priv);
14 int mlx5e_accel_ipsec_fs_init(struct mlx5e_priv *priv);
15 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_priv *priv,
19 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_priv *priv,
23 static inline void mlx5e_accel_ipsec_fs_cleanup(struct mlx5e_priv *priv) {} in mlx5e_accel_ipsec_fs_cleanup()
24 static inline int mlx5e_accel_ipsec_fs_init(struct mlx5e_priv *priv) { return 0; } in mlx5e_accel_ipsec_fs_init()
A Dfs_tcp.h10 int mlx5e_accel_fs_tcp_create(struct mlx5e_priv *priv);
11 void mlx5e_accel_fs_tcp_destroy(struct mlx5e_priv *priv);
12 struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_priv *priv,
17 static inline int mlx5e_accel_fs_tcp_create(struct mlx5e_priv *priv) { return 0; } in mlx5e_accel_fs_tcp_create()
18 static inline void mlx5e_accel_fs_tcp_destroy(struct mlx5e_priv *priv) {} in mlx5e_accel_fs_tcp_destroy()
19 static inline struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_priv *priv, in mlx5e_accel_fs_add_sk()
A Dktls.h11 void mlx5e_ktls_build_netdev(struct mlx5e_priv *priv);
12 int mlx5e_ktls_init_rx(struct mlx5e_priv *priv);
13 void mlx5e_ktls_cleanup_rx(struct mlx5e_priv *priv);
39 static inline void mlx5e_ktls_build_netdev(struct mlx5e_priv *priv) in mlx5e_ktls_build_netdev()
43 static inline int mlx5e_ktls_init_rx(struct mlx5e_priv *priv) in mlx5e_ktls_init_rx()
48 static inline void mlx5e_ktls_cleanup_rx(struct mlx5e_priv *priv) in mlx5e_ktls_cleanup_rx()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
A Dethtool.c39 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_drvinfo()
48 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_strings()
55 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_sset_count()
64 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_ethtool_stats()
72 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_set_ringparam()
80 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_ringparam()
88 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_set_channels()
96 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_channels()
106 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_set_coalesce()
228 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_set_rxnfc()
[all …]
A Dipoib.c78 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_init()
106 void mlx5i_cleanup(struct mlx5e_priv *priv) in mlx5i_cleanup()
140 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_get_stats()
266 int mlx5i_update_nic_rx(struct mlx5e_priv *priv) in mlx5i_update_nic_rx()
453 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5i_change_mtu()
493 struct mlx5e_priv *priv = mlx5i_epriv(dev); in mlx5i_ioctl()
518 struct mlx5e_priv *epriv = mlx5i_epriv(netdev); in mlx5i_open()
633 struct mlx5e_priv *epriv = mlx5i_epriv(dev); in mlx5i_xmit()
665 struct mlx5e_priv *priv = mlx5i_epriv(netdev); in mlx5_rdma_netdev_free()
697 struct mlx5e_priv *epriv; in mlx5_rdma_setup_rn()
[all …]
A Dipoib.h60 char *mlx5e_priv[]; member
66 int mlx5i_create_underlay_qp(struct mlx5e_priv *priv);
70 int mlx5i_init_underlay_qp(struct mlx5e_priv *priv);
71 void mlx5i_uninit_underlay_qp(struct mlx5e_priv *priv);
91 void mlx5i_cleanup(struct mlx5e_priv *priv);
93 int mlx5i_update_nic_rx(struct mlx5e_priv *priv);
99 #define mlx5i_epriv(netdev) ((void *)(((struct mlx5i_priv *)netdev_priv(netdev))->mlx5e_priv))
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A 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()

Completed in 55 milliseconds

1234