Home
last modified time | relevance | path

Searched refs:mlx5e_flow_steering (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h92 struct mlx5e_flow_steering;
98 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs,
100 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
101 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs);
102 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs);
106 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables()
109 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables()
110 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable()
112 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable()
125 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs,
[all …]
Dfs_tt_redirect.h13 mlx5e_fs_tt_redirect_udp_add_rule(struct mlx5e_flow_steering *fs,
16 void mlx5e_fs_tt_redirect_udp_destroy(struct mlx5e_flow_steering *fs);
17 int mlx5e_fs_tt_redirect_udp_create(struct mlx5e_flow_steering *fs);
21 mlx5e_fs_tt_redirect_any_add_rule(struct mlx5e_flow_steering *fs,
23 void mlx5e_fs_tt_redirect_any_destroy(struct mlx5e_flow_steering *fs);
24 int mlx5e_fs_tt_redirect_any_create(struct mlx5e_flow_steering *fs);
Dfs_ethtool.h12 void mlx5e_ethtool_init_steering(struct mlx5e_flow_steering *fs);
13 void mlx5e_ethtool_cleanup_steering(struct mlx5e_flow_steering *fs);
21 static inline void mlx5e_ethtool_init_steering(struct mlx5e_flow_steering *fs) { } in mlx5e_ethtool_init_steering()
22 static inline void mlx5e_ethtool_cleanup_steering(struct mlx5e_flow_steering *fs) { } in mlx5e_ethtool_cleanup_steering()
Dfs_tt_redirect.c77 mlx5e_fs_tt_redirect_udp_add_rule(struct mlx5e_flow_steering *fs, in mlx5e_fs_tt_redirect_udp_add_rule()
114 static int fs_udp_add_default_rule(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_add_default_rule()
207 static int fs_udp_create_table(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_create_table()
257 static int fs_udp_disable(struct mlx5e_flow_steering *fs) in fs_udp_disable()
275 static int fs_udp_enable(struct mlx5e_flow_steering *fs) in fs_udp_enable()
297 void mlx5e_fs_tt_redirect_udp_destroy(struct mlx5e_flow_steering *fs) in mlx5e_fs_tt_redirect_udp_destroy()
317 int mlx5e_fs_tt_redirect_udp_create(struct mlx5e_flow_steering *fs) in mlx5e_fs_tt_redirect_udp_create()
363 mlx5e_fs_tt_redirect_any_add_rule(struct mlx5e_flow_steering *fs, in mlx5e_fs_tt_redirect_any_add_rule()
395 static int fs_any_add_default_rule(struct mlx5e_flow_steering *fs) in fs_any_add_default_rule()
476 static int fs_any_create_table(struct mlx5e_flow_steering *fs) in fs_any_create_table()
[all …]
Dptp.h86 int mlx5e_ptp_alloc_rx_fs(struct mlx5e_flow_steering *fs,
88 void mlx5e_ptp_free_rx_fs(struct mlx5e_flow_steering *fs,
Dptp.c625 static void mlx5e_ptp_rx_unset_fs(struct mlx5e_flow_steering *fs) in mlx5e_ptp_rx_unset_fs()
644 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_ptp_rx_set_fs()
802 int mlx5e_ptp_alloc_rx_fs(struct mlx5e_flow_steering *fs, in mlx5e_ptp_alloc_rx_fs()
818 void mlx5e_ptp_free_rx_fs(struct mlx5e_flow_steering *fs, in mlx5e_ptp_free_rx_fs()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c44 struct mlx5e_flow_steering { struct
72 static int mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs, argument
74 static void mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs,
163 static int mlx5e_vport_context_update_vlans(struct mlx5e_flow_steering *fs) in mlx5e_vport_context_update_vlans()
212 static int __mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, in __mlx5e_add_vlan_rule()
285 static int mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, in mlx5e_add_vlan_rule()
305 static void mlx5e_fs_del_vlan_rule(struct mlx5e_flow_steering *fs, in mlx5e_fs_del_vlan_rule()
343 static void mlx5e_fs_del_any_vid_rules(struct mlx5e_flow_steering *fs) in mlx5e_fs_del_any_vid_rules()
349 static int mlx5e_fs_add_any_vid_rules(struct mlx5e_flow_steering *fs) in mlx5e_fs_add_any_vid_rules()
381 int mlx5e_add_vlan_trap(struct mlx5e_flow_steering *fs, int trap_id, int tir_num) in mlx5e_add_vlan_trap()
[all …]
Den_arfs.c117 static int arfs_disable(struct mlx5e_flow_steering *fs) in arfs_disable()
135 static void arfs_del_rules(struct mlx5e_flow_steering *fs);
137 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable()
144 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable()
172 static void _mlx5e_cleanup_tables(struct mlx5e_flow_steering *fs) in _mlx5e_cleanup_tables()
185 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) in mlx5e_arfs_destroy_tables()
197 static int arfs_add_default_rule(struct mlx5e_flow_steering *fs, in arfs_add_default_rule()
327 static int arfs_create_table(struct mlx5e_flow_steering *fs, in arfs_create_table()
364 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables()
434 static void arfs_del_rules(struct mlx5e_flow_steering *fs) in arfs_del_rules()
Den_fs_ethtool.c512 static void del_ethtool_rule(struct mlx5e_flow_steering *fs, in del_ethtool_rule()
854 void mlx5e_ethtool_cleanup_steering(struct mlx5e_flow_steering *fs) in mlx5e_ethtool_cleanup_steering()
864 void mlx5e_ethtool_init_steering(struct mlx5e_flow_steering *fs) in mlx5e_ethtool_init_steering()
Den.h914 struct mlx5e_flow_steering *fs;
Den_main.c3959 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_vlan_rx_add_vid()
3970 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_vlan_rx_kill_vid()
5215 struct mlx5e_flow_steering *fs; in mlx5e_nic_init()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.h10 int mlx5e_accel_fs_tcp_create(struct mlx5e_flow_steering *fs);
11 void mlx5e_accel_fs_tcp_destroy(struct mlx5e_flow_steering *fs);
12 struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_flow_steering *fs,
17 static inline int mlx5e_accel_fs_tcp_create(struct mlx5e_flow_steering *fs) { return 0; } in mlx5e_accel_fs_tcp_create()
18 static inline void mlx5e_accel_fs_tcp_destroy(struct mlx5e_flow_steering *fs) {} in mlx5e_accel_fs_tcp_destroy()
19 static inline struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_flow_steering *fs, in mlx5e_accel_fs_add_sk()
Dfs_tcp.c74 struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_flow_steering *fs, in mlx5e_accel_fs_add_sk()
148 static int accel_fs_tcp_add_default_rule(struct mlx5e_flow_steering *fs, in accel_fs_tcp_add_default_rule()
264 static int accel_fs_tcp_create_table(struct mlx5e_flow_steering *fs, enum accel_fs_tcp_type type) in accel_fs_tcp_create_table()
302 static int accel_fs_tcp_disable(struct mlx5e_flow_steering *fs) in accel_fs_tcp_disable()
321 static int accel_fs_tcp_enable(struct mlx5e_flow_steering *fs) in accel_fs_tcp_enable()
343 static void accel_fs_tcp_destroy_table(struct mlx5e_flow_steering *fs, int i) in accel_fs_tcp_destroy_table()
355 void mlx5e_accel_fs_tcp_destroy(struct mlx5e_flow_steering *fs) in mlx5e_accel_fs_tcp_destroy()
372 int mlx5e_accel_fs_tcp_create(struct mlx5e_flow_steering *fs) in mlx5e_accel_fs_tcp_create()