Home
last modified time | relevance | path

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

/openbmc/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,
103 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs);
104 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs);
127 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs,
131 void mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs);
132 int mlx5e_create_ttc_table(struct mlx5e_flow_steering *fs,
151 void mlx5e_fs_cleanup(struct mlx5e_flow_steering *fs);
182 void mlx5e_remove_vlan_trap(struct mlx5e_flow_steering *fs);
184 void mlx5e_remove_mac_trap(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()
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()
517 static int fs_any_disable(struct mlx5e_flow_steering *fs) in fs_any_disable()
533 static int fs_any_enable(struct mlx5e_flow_steering *fs) in fs_any_enable()
[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.c781 static void mlx5e_ptp_rx_unset_fs(struct mlx5e_flow_steering *fs) in mlx5e_ptp_rx_unset_fs()
800 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_ptp_rx_set_fs()
960 int mlx5e_ptp_alloc_rx_fs(struct mlx5e_flow_steering *fs, in mlx5e_ptp_alloc_rx_fs()
976 void mlx5e_ptp_free_rx_fs(struct mlx5e_flow_steering *fs, in mlx5e_ptp_free_rx_fs()
/openbmc/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
292 static int mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, in mlx5e_add_vlan_rule()
405 void mlx5e_remove_vlan_trap(struct mlx5e_flow_steering *fs) in mlx5e_remove_vlan_trap()
430 void mlx5e_remove_mac_trap(struct mlx5e_flow_steering *fs) in mlx5e_remove_mac_trap()
491 int mlx5e_fs_vlan_rx_add_vid(struct mlx5e_flow_steering *fs, in mlx5e_fs_vlan_rx_add_vid()
509 int mlx5e_fs_vlan_rx_kill_vid(struct mlx5e_flow_steering *fs, in mlx5e_fs_vlan_rx_kill_vid()
914 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs, in mlx5e_set_ttc_params()
1291 int mlx5e_create_ttc_table(struct mlx5e_flow_steering *fs, in mlx5e_create_ttc_table()
1452 struct mlx5e_flow_steering *fs; in mlx5e_fs_init()
[all …]
H A Den_arfs.c121 static int arfs_disable(struct mlx5e_flow_steering *fs) in arfs_disable()
139 static void arfs_del_rules(struct mlx5e_flow_steering *fs);
141 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable()
158 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable()
188 static void _mlx5e_cleanup_tables(struct mlx5e_flow_steering *fs) in _mlx5e_cleanup_tables()
201 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) in mlx5e_arfs_destroy_tables()
213 static int arfs_add_default_rule(struct mlx5e_flow_steering *fs, in arfs_add_default_rule()
347 static int arfs_create_table(struct mlx5e_flow_steering *fs, in arfs_create_table()
384 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables()
455 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.c4007 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_vlan_rx_add_vid()
4018 struct mlx5e_flow_steering *fs = priv->fs; in mlx5e_vlan_rx_kill_vid()
5291 struct mlx5e_flow_steering *fs; in mlx5e_nic_init()
/openbmc/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.h230 struct mlx5e_flow_steering *fs;