Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h94 struct mlx5e_flow_steering;
100 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs,
102 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
103 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs);
104 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs);
108 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables()
111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables()
112 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable()
114 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable()
127 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs,
[all …]
H A 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);
H A 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()
H A 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()
208 static int fs_udp_create_table(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_create_table()
258 static int fs_udp_disable(struct mlx5e_flow_steering *fs) in fs_udp_disable()
276 static int fs_udp_enable(struct mlx5e_flow_steering *fs) in fs_udp_enable()
298 void mlx5e_fs_tt_redirect_udp_destroy(struct mlx5e_flow_steering *fs) in mlx5e_fs_tt_redirect_udp_destroy()
318 int mlx5e_fs_tt_redirect_udp_create(struct mlx5e_flow_steering *fs) in mlx5e_fs_tt_redirect_udp_create()
364 mlx5e_fs_tt_redirect_any_add_rule(struct mlx5e_flow_steering *fs, in mlx5e_fs_tt_redirect_any_add_rule()
396 static int fs_any_add_default_rule(struct mlx5e_flow_steering *fs) in fs_any_add_default_rule()
478 static int fs_any_create_table(struct mlx5e_flow_steering *fs) in fs_any_create_table()
[all …]
H A Dptp.h135 int mlx5e_ptp_alloc_rx_fs(struct mlx5e_flow_steering *fs,
137 void mlx5e_ptp_free_rx_fs(struct mlx5e_flow_steering *fs,
H A Dptp.c790 static void mlx5e_ptp_rx_unset_fs(struct mlx5e_flow_steering *fs) in mlx5e_ptp_rx_unset_fs()
809 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_ptp_rx_set_fs()
972 int mlx5e_ptp_alloc_rx_fs(struct mlx5e_flow_steering *fs, in mlx5e_ptp_alloc_rx_fs()
988 void mlx5e_ptp_free_rx_fs(struct mlx5e_flow_steering *fs, in mlx5e_ptp_free_rx_fs()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c45 struct mlx5e_flow_steering { struct
74 static int mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs, argument
76 static void mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs,
109 struct dentry *mlx5e_fs_get_debugfs_root(struct mlx5e_flow_steering *fs) in mlx5e_fs_get_debugfs_root()
170 static int mlx5e_vport_context_update_vlans(struct mlx5e_flow_steering *fs) in mlx5e_vport_context_update_vlans()
219 static int __mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, in __mlx5e_add_vlan_rule()
292 static int mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, in mlx5e_add_vlan_rule()
312 static void mlx5e_fs_del_vlan_rule(struct mlx5e_flow_steering *fs, in mlx5e_fs_del_vlan_rule()
350 static void mlx5e_fs_del_any_vid_rules(struct mlx5e_flow_steering *fs) in mlx5e_fs_del_any_vid_rules()
356 static int mlx5e_fs_add_any_vid_rules(struct mlx5e_flow_steering *fs) in mlx5e_fs_add_any_vid_rules()
[all …]
H A Den_arfs.c122 static int arfs_disable(struct mlx5e_flow_steering *fs) in arfs_disable()
140 static void arfs_del_rules(struct mlx5e_flow_steering *fs);
142 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable()
159 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable()
189 static void _mlx5e_cleanup_tables(struct mlx5e_flow_steering *fs) in _mlx5e_cleanup_tables()
202 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) in mlx5e_arfs_destroy_tables()
214 static int arfs_add_default_rule(struct mlx5e_flow_steering *fs, in arfs_add_default_rule()
348 static int arfs_create_table(struct mlx5e_flow_steering *fs, in arfs_create_table()
385 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables()
456 static void arfs_del_rules(struct mlx5e_flow_steering *fs) in arfs_del_rules()
H A Den_fs_ethtool.c508 static void del_ethtool_rule(struct mlx5e_flow_steering *fs, in del_ethtool_rule()
850 void mlx5e_ethtool_cleanup_steering(struct mlx5e_flow_steering *fs) in mlx5e_ethtool_cleanup_steering()
860 void mlx5e_ethtool_init_steering(struct mlx5e_flow_steering *fs) in mlx5e_ethtool_init_steering()
H A Den.h884 struct mlx5e_flow_steering *fs;
H A Den_main.c4237 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_vlan_rx_add_vid()
4248 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_vlan_rx_kill_vid()
5668 struct mlx5e_flow_steering *fs; in mlx5e_nic_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
H A 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()
265 static int accel_fs_tcp_create_table(struct mlx5e_flow_steering *fs, enum accel_fs_tcp_type type) in accel_fs_tcp_create_table()
303 static int accel_fs_tcp_disable(struct mlx5e_flow_steering *fs) in accel_fs_tcp_disable()
322 static int accel_fs_tcp_enable(struct mlx5e_flow_steering *fs) in accel_fs_tcp_enable()
344 static void accel_fs_tcp_destroy_table(struct mlx5e_flow_steering *fs, int i) in accel_fs_tcp_destroy_table()
356 void mlx5e_accel_fs_tcp_destroy(struct mlx5e_flow_steering *fs) in mlx5e_accel_fs_tcp_destroy()
373 int mlx5e_accel_fs_tcp_create(struct mlx5e_flow_steering *fs) in mlx5e_accel_fs_tcp_create()
H A Dipsec.h233 struct mlx5e_flow_steering *fs;